Package | Description |
---|---|
com.google.bitcoin.core |
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 larg cost in system resources. |
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.
|
String |
Transaction.toString(AbstractBlockChain chain)
A human readable version of the transaction useful for debugging.
|
String |
Wallet.toString(boolean includePrivateKeys,
boolean includeTransactions,
boolean includeExtensions,
AbstractBlockChain chain)
Formats the wallet as a human readable piece of text.
|
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,
MemoryPool mempool)
Construct a peer that reads/writes from the given block chain and memory pool.
|
PeerGroup(NetworkParameters params,
AbstractBlockChain chain)
Creates a PeerGroup for the given network and chain.
|
PeerGroup(NetworkParameters params,
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. |
Copyright © 2014. All rights reserved.