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 | Class and Description |
---|---|
class |
BlockChain
A BlockChain implements the simplified payment verification mode of the Bitcoin protocol.
|
class |
FullPrunedBlockChain
A FullPrunedBlockChain works in conjunction with a
FullPrunedBlockStore to verify all the rules of the
Bitcoin system, with the downside being a large cost in system resources. |
Modifier and Type | Field and Description |
---|---|
protected AbstractBlockChain |
PeerGroup.chain |
Modifier and Type | Method and Description |
---|---|
Date |
Transaction.estimateLockTime(AbstractBlockChain chain)
Returns either the lock time as a date, if it was specified in seconds, or an estimate based on the time in
the current head block if it was specified as a block time.
|
static PeerGroup |
PeerGroup.newWithTor(Context context,
AbstractBlockChain chain,
com.subgraph.orchid.TorClient torClient)
Creates a PeerGroup that accesses the network via the Tor network.
|
static PeerGroup |
PeerGroup.newWithTor(Context context,
AbstractBlockChain chain,
com.subgraph.orchid.TorClient torClient,
boolean doDiscovery)
Creates a PeerGroup that accesses the network via the Tor network.
|
static PeerGroup |
PeerGroup.newWithTor(NetworkParameters params,
AbstractBlockChain chain,
com.subgraph.orchid.TorClient torClient)
|
String |
Transaction.toString(AbstractBlockChain chain)
A human readable version of the transaction useful for debugging.
|
Constructor and Description |
---|
Peer(NetworkParameters params,
AbstractBlockChain blockChain,
PeerAddress peerAddress,
String thisSoftwareName,
String thisSoftwareVersion)
Construct a peer that reads/writes from the given chain.
|
Peer(NetworkParameters params,
VersionMessage ver,
AbstractBlockChain chain,
PeerAddress remoteAddress)
Construct a peer that reads/writes from the given block chain.
|
Peer(NetworkParameters params,
VersionMessage ver,
PeerAddress remoteAddress,
AbstractBlockChain chain)
Construct a peer that reads/writes from the given block chain.
|
Peer(NetworkParameters params,
VersionMessage ver,
PeerAddress remoteAddress,
AbstractBlockChain chain,
int downloadTxDependencyDepth)
Construct a peer that reads/writes from the given block chain.
|
PeerGroup(Context context,
AbstractBlockChain chain)
Creates a PeerGroup for the given context and chain.
|
PeerGroup(Context context,
AbstractBlockChain chain,
ClientConnectionManager connectionManager)
Creates a new PeerGroup allowing you to specify the
ClientConnectionManager which is used to create new
connections and keep track of existing ones. |
PeerGroup(NetworkParameters params,
AbstractBlockChain chain)
|
PeerGroup(NetworkParameters params,
AbstractBlockChain chain,
ClientConnectionManager connectionManager)
|
Modifier and Type | Method and Description |
---|---|
String |
Wallet.toString(boolean includePrivateKeys,
boolean includeTransactions,
boolean includeExtensions,
AbstractBlockChain chain)
Formats the wallet as a human readable piece of text.
|
Copyright © 2016. All rights reserved.