Package | Description |
---|---|
org.bitcoinj.core |
The core package contains classes for network messages like
Block and
Transaction , peer connectivity via PeerGroup ,
block chain management and the Wallet class. |
org.bitcoinj.kits |
High level wrapper APIs around the bitcoinj building blocks.
|
org.bitcoinj.store |
Block stores persist blockchain data downloaded from remote peers.
|
org.bitcoinj.testing |
Various utilities for writing unit tests: also useful for testing your own code and apps that build on top of
bitcoinj.
|
Modifier and Type | Field and Description |
---|---|
protected Context |
Wallet.context |
Modifier and Type | Method and Description |
---|---|
static Context |
Context.get()
Returns the current context that is associated with the calling thread.
|
Context |
Wallet.getContext()
Returns the API context that this wallet was created with.
|
static Context |
Context.getOrCreate(NetworkParameters params) |
Modifier and Type | Method and Description |
---|---|
TransactionConfidence |
Transaction.getConfidence(Context context)
Returns the confidence object for this transaction from the
TxConfidenceTable
referenced by the given Context . |
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 void |
Context.propagate(Context context)
Sets the given context as the current thread context.
|
Constructor and Description |
---|
AbstractBlockChain(Context context,
List<BlockChainListener> listeners,
BlockStore blockStore)
Constructs a BlockChain connected to the given list of listeners (eg, wallets) and a store.
|
BlockChain(Context context,
BlockStore blockStore)
Constructs a BlockChain that has no wallet at all.
|
BlockChain(Context params,
List<BlockChainListener> wallets,
BlockStore blockStore)
Constructs a BlockChain connected to the given list of listeners and a store.
|
BlockChain(Context context,
Wallet wallet,
BlockStore blockStore)
Constructs a BlockChain connected to the given wallet and store.
|
FullPrunedBlockChain(Context context,
FullPrunedBlockStore blockStore)
Constructs a block chain connected to the given store.
|
FullPrunedBlockChain(Context context,
List<BlockChainListener> listeners,
FullPrunedBlockStore blockStore)
Constructs a block chain connected to the given list of wallets and a store.
|
FullPrunedBlockChain(Context context,
Wallet wallet,
FullPrunedBlockStore blockStore)
Constructs a block chain connected to the given wallet and store.
|
PeerGroup(Context context)
Creates a PeerGroup with the given context.
|
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. |
Wallet(Context context)
Creates a new, empty wallet with a randomly chosen seed and no transactions.
|
Wallet(Context context,
KeyChainGroup keyChainGroup)
For internal use only.
|
Modifier and Type | Field and Description |
---|---|
protected Context |
WalletAppKit.context |
Constructor and Description |
---|
WalletAppKit(Context context,
File directory,
String filePrefix)
Creates a new WalletAppKit, with the given
Context . |
Constructor and Description |
---|
LevelDBBlockStore(Context context,
File directory)
Creates a LevelDB SPV block store using the JNI/C++ version of LevelDB.
|
LevelDBBlockStore(Context context,
File directory,
org.iq80.leveldb.DBFactory dbFactory)
Creates a LevelDB SPV block store using the given factory, which is useful if you want a pure Java version.
|
Modifier and Type | Field and Description |
---|---|
protected Context |
TestWithNetworkConnections.context |
Copyright © 2016. All rights reserved.