Package | Description |
---|---|
org.bitcoinj.core |
The core package contains classes for network messages like
Block and
Transaction , peer connectivity via PeerGroup ,
and block chain management. |
org.bitcoinj.wallet |
Classes that support the
Wallet , which knows how to find and save transactions relevant to
a set of keys or scripts, calculate balances, and spend money: the wallet has many features and can be extended
in various ways, please refer to the website for documentation on how to use it. |
Modifier and Type | Method and Description |
---|---|
TransactionOutPoint |
TransactionInput.getOutpoint() |
TransactionOutPoint |
TransactionOutput.getOutPointFor()
Returns a new
TransactionOutPoint , which is essentially a structure pointing to this output. |
Modifier and Type | Method and Description |
---|---|
ImmutableList<TransactionOutPoint> |
GetUTXOsMessage.getOutPoints() |
Modifier and Type | Method and Description |
---|---|
TransactionInput |
Transaction.addSignedInput(TransactionOutPoint prevOut,
Script scriptPubKey,
ECKey sigKey)
Same as
Transaction.addSignedInput(TransactionOutPoint, org.bitcoinj.script.Script, ECKey, org.bitcoinj.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.
|
Block |
Block.createNextBlock(Address to,
TransactionOutPoint prevOut) |
Modifier and Type | Method and Description |
---|---|
ListenableFuture<UTXOsMessage> |
Peer.getUTXOs(List<TransactionOutPoint> outPoints)
Sends a query to the remote peer asking for the unspent transaction outputs (UTXOs) for the given outpoints,
with the memory pool included.
|
ListenableFuture<UTXOsMessage> |
Peer.getUTXOs(List<TransactionOutPoint> outPoints,
boolean includeMempool)
Sends a query to the remote peer asking for the unspent transaction outputs (UTXOs) for the given outpoints.
|
Constructor and Description |
---|
TransactionInput(NetworkParameters params,
Transaction parentTransaction,
byte[] scriptBytes,
TransactionOutPoint outpoint) |
TransactionInput(NetworkParameters params,
Transaction parentTransaction,
byte[] scriptBytes,
TransactionOutPoint outpoint,
Coin value) |
Constructor and Description |
---|
GetUTXOsMessage(NetworkParameters params,
List<TransactionOutPoint> outPoints,
boolean includeMempool) |
Modifier and Type | Field and Description |
---|---|
protected HashSet<TransactionOutPoint> |
FilteringCoinSelector.spent |
Copyright © 2016. All rights reserved.