Class TransactionBuilder
java.lang.Object
com.bradyrussell.uiscoin.transaction.TransactionBuilder
public class TransactionBuilder
extends java.lang.Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TransactionBuilder.UTXO
-
Constructor Summary
Constructors Constructor Description TransactionBuilder(BlockchainStorage blockchain)
-
Method Summary
Modifier and Type Method Description TransactionBuilder
addChangeOutputToPublicKeyHash(byte[] PublicKeyHash, long FeeToLeave)
TransactionBuilder
addInput(TransactionInput transactionInput)
TransactionBuilder
addInputsFromAllP2pkhUtxo(UISCoinKeypair UnlockingKeypair)
TransactionBuilder
addInputsFromMultipleKeypairsP2pkh(java.util.List<UISCoinKeypair> keypairs, long amountIncludingFees)
TransactionBuilder
addInputsFromP2pkhUtxo(UISCoinKeypair UnlockingKeypair, long AmountIncludingEstimatedFee)
TransactionBuilder
addOutput(TransactionOutput transactionOutput)
Transaction
get()
TransactionBuilder
setLockTime(long LockTime)
TransactionBuilder
setVersion(int Version)
-
Constructor Details
-
Method Details
-
setVersion
-
setLockTime
-
addInput
-
addOutput
-
addChangeOutputToPublicKeyHash
public TransactionBuilder addChangeOutputToPublicKeyHash(byte[] PublicKeyHash, long FeeToLeave) throws NoSuchTransactionException, NoSuchBlockException -
addInputsFromAllP2pkhUtxo
-
addInputsFromMultipleKeypairsP2pkh
public TransactionBuilder addInputsFromMultipleKeypairsP2pkh(java.util.List<UISCoinKeypair> keypairs, long amountIncludingFees) -
addInputsFromP2pkhUtxo
public TransactionBuilder addInputsFromP2pkhUtxo(UISCoinKeypair UnlockingKeypair, long AmountIncludingEstimatedFee) -
get
-