public interface Network
| Modifier and Type | Method and Description |
|---|---|
BigDecimal |
estimateFee()
Estimate the network fee
|
List<String> |
generate(int numBlocks)
Generate the given number of blocks
|
List<String> |
generate(int numBlocks,
Wallet.Address addr)
Generate the given number of blocks to the given address
|
Block |
getBlock(String blockHash)
Get the block for the given hash
|
Integer |
getBlockCount()
Get the block count
|
String |
getBlockHash(Integer height)
Get the block hash for the given height
|
Integer |
getBlockRate()
Get the block rate in seconds
|
BigDecimal |
getDustThreshold()
"Dust" is defined in terms of dustRelayFee, which has units satoshis-per-kilobyte.
|
BigDecimal |
getMinDataAmount()
The minimum amout that must be given to an OP_RETURN output.
|
wf.bitcoin.javabitcoindrpcclient.BitcoindRpcClient.NetworkInfo |
getNetworkInfo()
Returns information about the node’s connection to the network.
|
BigDecimal estimateFee()
BigDecimal getDustThreshold()
BigDecimal getMinDataAmount()
Integer getBlockCount()
Integer getBlockRate()
wf.bitcoin.javabitcoindrpcclient.BitcoindRpcClient.NetworkInfo getNetworkInfo()
List<String> generate(int numBlocks, Wallet.Address addr)
Copyright © 2018. All rights reserved.