public class BitcoinNetwork extends AbstractNetwork implements Network
LOGclient| Constructor and Description |
|---|
BitcoinNetwork(Blockchain blockchain,
wf.bitcoin.javabitcoindrpcclient.BitcoindRpcClient client) |
| Modifier and Type | Method and Description |
|---|---|
BigDecimal |
estimateSmartFee(Integer blocks) |
Block |
getBlock(String blockHash) |
Integer |
getBlockRate() |
BigDecimal |
getDustThreshold()
546 satoshis at the default rate of 3000 sat/kB.
|
BigDecimal |
getMinDataAmount() |
BigDecimal |
getMinTxFee() |
generate, generate, getBlockCount, getBlockHash, getNetworkInfogetRpcClientclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgenerate, generate, getBlockCount, getBlockHash, getNetworkInfopublic BitcoinNetwork(Blockchain blockchain, wf.bitcoin.javabitcoindrpcclient.BitcoindRpcClient client)
public BigDecimal estimateSmartFee(Integer blocks)
estimateSmartFee in interface Networkpublic BigDecimal getMinTxFee()
getMinTxFee in interface Networkpublic Integer getBlockRate()
getBlockRate in interface Networkpublic BigDecimal getDustThreshold()
getDustThreshold in interface Networkpublic BigDecimal getMinDataAmount()
getMinDataAmount in interface NetworkCopyright © 2018. All rights reserved.