本文整理了Java中org.bitcoinj.wallet.Wallet.adjustOutputDownwardsForFee()
方法的一些代码示例,展示了Wallet.adjustOutputDownwardsForFee()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Wallet.adjustOutputDownwardsForFee()
方法的具体详情如下:
包路径:org.bitcoinj.wallet.Wallet
类名称:Wallet
方法名:adjustOutputDownwardsForFee
[英]Reduce the value of the first output of a transaction to pay the given feePerKb as appropriate for its size.
[中]减少交易第一次输出的价值,以根据其规模支付给定的feePerKb。
代码示例来源:origin: cash.bitcoinj/bitcoinj-core
if (!adjustOutputDownwardsForFee(rekeyTx, toMove, Transaction.DEFAULT_TX_FEE, true)) {
log.error("Failed to adjust rekey tx for fees.");
return null;
代码示例来源:origin: fr.acinq/bitcoinj-core
if (!adjustOutputDownwardsForFee(rekeyTx, toMove, Transaction.DEFAULT_TX_FEE, true)) {
log.error("Failed to adjust rekey tx for fees.");
return null;
代码示例来源:origin: greenaddress/GreenBits
if (!adjustOutputDownwardsForFee(rekeyTx, toMove, Transaction.DEFAULT_TX_FEE, true)) {
log.error("Failed to adjust rekey tx for fees.");
return null;
代码示例来源:origin: HashEngineering/dashj
if (!adjustOutputDownwardsForFee(rekeyTx, toMove, Transaction.DEFAULT_TX_FEE, true, false)) {
log.error("Failed to adjust rekey tx for fees.");
return null;
代码示例来源:origin: fr.acinq/bitcoinj-core
if (!adjustOutputDownwardsForFee(req.tx, bestCoinSelection, feePerKb, req.ensureMinRequiredFee))
throw new CouldNotAdjustDownwards();
代码示例来源:origin: HashEngineering/dashj
if (!adjustOutputDownwardsForFee(req.tx, bestCoinSelection, feePerKb, req.ensureMinRequiredFee, req.useInstantSend))
throw new CouldNotAdjustDownwards();
代码示例来源:origin: greenaddress/GreenBits
if (!adjustOutputDownwardsForFee(req.tx, bestCoinSelection, feePerKb, req.ensureMinRequiredFee))
throw new CouldNotAdjustDownwards();
代码示例来源:origin: cash.bitcoinj/bitcoinj-core
if (!adjustOutputDownwardsForFee(req.tx, bestCoinSelection, feePerKb, req.ensureMinRequiredFee))
throw new CouldNotAdjustDownwards();
内容来源于网络,如有侵权,请联系作者删除!