|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use TransactionOutput | |
|---|---|
| com.google.bitcoin.core | |
| com.google.bitcoin.wallet | |
| Uses of TransactionOutput in com.google.bitcoin.core |
|---|
| Methods in com.google.bitcoin.core that return TransactionOutput | |
|---|---|
TransactionOutput |
Transaction.addOutput(BigInteger value,
Address address)
Creates an output based on the given address and value, adds it to this transaction, and returns the new output. |
TransactionOutput |
Transaction.addOutput(BigInteger value,
ECKey pubkey)
Creates an output that pays to the given pubkey directly (no address) with the given value, adds it to this transaction, and returns the new output. |
TransactionOutput |
Transaction.addOutput(BigInteger value,
Script script)
Creates an output that pays to the given script. |
TransactionOutput |
Transaction.addOutput(TransactionOutput to)
Adds the given output to this transaction. |
TransactionOutput |
TransactionOutPoint.getConnectedOutput()
An outpoint is a part of a transaction input that points to the output of another transaction. |
TransactionOutput |
TransactionInput.getConnectedOutput()
Returns the connected output, assuming the input was connected with TransactionInput.connect(TransactionOutput) or variants at some point. |
TransactionOutput |
Transaction.getOutput(int index)
|
| Methods in com.google.bitcoin.core that return types with arguments of type TransactionOutput | |
|---|---|
LinkedList<TransactionOutput> |
Wallet.calculateAllSpendCandidates(boolean excludeImmatureCoinbases)
Returns a list of all possible outputs we could possibly spend, potentially even including immature coinbases (which the protocol may forbid us from spending). |
List<TransactionOutput> |
Transaction.getOutputs()
Returns an unmodifiable view of all outputs. |
LinkedList<TransactionOutput> |
Wallet.getWatchedOutputs(boolean excludeImmatureCoinbases)
Returns all the outputs that match addresses or scripts added via Wallet.addWatchedAddress(Address) or
Wallet.addWatchedScripts(java.util.List). |
| Methods in com.google.bitcoin.core with parameters of type TransactionOutput | |
|---|---|
TransactionInput |
Transaction.addInput(TransactionOutput from)
Adds an input to this transaction that imports value from the given output. |
TransactionOutput |
Transaction.addOutput(TransactionOutput to)
Adds the given output to this transaction. |
void |
TransactionInput.connect(TransactionOutput out)
Internal use only: connects this TransactionInput to the given output (updates pointers and spent flags) |
void |
TransactionInput.verify(TransactionOutput output)
Verifies that this input can spend the given output. |
| Constructors in com.google.bitcoin.core with parameters of type TransactionOutput | |
|---|---|
StoredTransactionOutput(Sha256Hash hash,
TransactionOutput out,
int height,
boolean isCoinbase)
|
|
| Uses of TransactionOutput in com.google.bitcoin.wallet |
|---|
| Fields in com.google.bitcoin.wallet with type parameters of type TransactionOutput | |
|---|---|
Collection<TransactionOutput> |
CoinSelection.gathered
|
| Method parameters in com.google.bitcoin.wallet with type arguments of type TransactionOutput | |
|---|---|
CoinSelection |
KeyTimeCoinSelector.select(BigInteger target,
LinkedList<TransactionOutput> candidates)
|
CoinSelection |
DefaultCoinSelector.select(BigInteger biTarget,
LinkedList<TransactionOutput> candidates)
|
CoinSelection |
CoinSelector.select(BigInteger target,
LinkedList<TransactionOutput> candidates)
|
| Constructor parameters in com.google.bitcoin.wallet with type arguments of type TransactionOutput | |
|---|---|
CoinSelection(BigInteger valueGathered,
Collection<TransactionOutput> gathered)
|
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||