Package | Description |
---|---|
com.google.bitcoin.core |
Modifier and Type | Method and Description |
---|---|
TransactionInput |
Transaction.addInput(TransactionInput input)
Adds an input directly, with no checking that it's valid.
|
TransactionInput |
Transaction.addInput(TransactionOutput from)
Adds an input to this transaction that imports value from the given output.
|
TransactionInput |
Transaction.addSignedInput(TransactionOutPoint prevOut,
Script scriptPubKey,
ECKey sigKey)
Same as
Transaction.addSignedInput(TransactionOutPoint, com.google.bitcoin.script.Script, ECKey, com.google.bitcoin.core.Transaction.SigHash, boolean)
but defaults to Transaction.SigHash.ALL and "false" for the anyoneCanPay flag. |
TransactionInput |
Transaction.addSignedInput(TransactionOutPoint prevOut,
Script scriptPubKey,
ECKey sigKey,
Transaction.SigHash sigHash,
boolean anyoneCanPay)
Adds a new and fully signed input for the given parameters.
|
TransactionInput |
Transaction.getInput(int index) |
TransactionInput |
TransactionOutput.getSpentBy()
Returns the connected input.
|
Modifier and Type | Method and Description |
---|---|
List<TransactionInput> |
Transaction.getInputs()
Returns an unmodifiable view of all inputs.
|
Modifier and Type | Method and Description |
---|---|
TransactionInput |
Transaction.addInput(TransactionInput input)
Adds an input directly, with no checking that it's valid.
|
void |
TransactionOutput.markAsSpent(TransactionInput input)
Sets this objects availableForSpending flag to false and the spentBy pointer to the given input.
|
Copyright © 2014. All rights reserved.