public class FeeAndSpent extends Object
| 构造器和说明 |
|---|
FeeAndSpent() |
| 限定符和类型 | 方法和说明 |
|---|---|
static FeeAndSpent |
of(BitcoinServiceImpl service,
Contract contract,
TransferParams params,
List<Unspent> unspentList,
org.bitcoinj.core.Coin amount,
BigInteger min) |
static org.bitcoinj.core.Coin |
zeroNumber(TransferParams params,
org.bitcoinj.core.Coin coin)
根据条件计算找零手续费
|
public static FeeAndSpent of(BitcoinServiceImpl service, Contract contract, TransferParams params, List<Unspent> unspentList, org.bitcoinj.core.Coin amount, BigInteger min) throws Exception
Exceptionpublic static org.bitcoinj.core.Coin zeroNumber(TransferParams params, org.bitcoinj.core.Coin coin)
params - 参数coin - 不找零手续费Copyright © 2021. All rights reserved.