|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use BlockStore | |
|---|---|
| com.google.bitcoin.core | |
| com.google.bitcoin.store | |
| com.google.bitcoin.utils | |
| Uses of BlockStore in com.google.bitcoin.core |
|---|
| Fields in com.google.bitcoin.core declared as BlockStore | |
|---|---|
protected BlockStore |
BlockChain.blockStore
Keeps a map of block hashes to StoredBlocks. |
| Methods in com.google.bitcoin.core that return BlockStore | |
|---|---|
BlockStore |
AbstractBlockChain.getBlockStore()
Returns the BlockStore the chain was constructed with. |
| Methods in com.google.bitcoin.core with parameters of type BlockStore | |
|---|---|
static void |
CheckpointManager.checkpoint(NetworkParameters params,
InputStream checkpoints,
BlockStore store,
long time)
Convenience method that creates a CheckpointManager, loads the given data, gets the checkpoint for the given time, then inserts it into the store and sets that to be the chain head. |
StoredBlock |
StoredBlock.getPrev(BlockStore store)
Given a block store, looks up the previous block in this chain. |
| Constructors in com.google.bitcoin.core with parameters of type BlockStore | |
|---|---|
AbstractBlockChain(NetworkParameters params,
List<BlockChainListener> listeners,
BlockStore blockStore)
Constructs a BlockChain connected to the given list of listeners (eg, wallets) and a store. |
|
BlockChain(NetworkParameters params,
BlockStore blockStore)
Constructs a BlockChain that has no wallet at all. |
|
BlockChain(NetworkParameters params,
List<BlockChainListener> wallets,
BlockStore blockStore)
Constructs a BlockChain connected to the given list of listeners and a store. |
|
BlockChain(NetworkParameters params,
Wallet wallet,
BlockStore blockStore)
Constructs a BlockChain connected to the given wallet and store. |
|
| Uses of BlockStore in com.google.bitcoin.store |
|---|
| Subinterfaces of BlockStore in com.google.bitcoin.store | |
|---|---|
interface |
FullPrunedBlockStore
An implementor of FullPrunedBlockStore saves StoredBlock objects to some storage mechanism. |
| Classes in com.google.bitcoin.store that implement BlockStore | |
|---|---|
class |
H2FullPrunedBlockStore
A full pruned block store using the H2 pure-java embedded database. |
class |
MemoryBlockStore
Keeps StoredBlocks in memory. |
class |
MemoryFullPrunedBlockStore
Keeps StoredBlocks, StoredUndoableBlocks and StoredTransactionOutputs in memory. |
class |
PostgresFullPrunedBlockStore
A full pruned block store using the Postgres database engine. |
class |
SPVBlockStore
An SPVBlockStore holds a limited number of block headers in a memory mapped ring buffer. |
| Uses of BlockStore in com.google.bitcoin.utils |
|---|
| Fields in com.google.bitcoin.utils declared as BlockStore | |
|---|---|
protected BlockStore |
TestWithWallet.blockStore
|
| Methods in com.google.bitcoin.utils with parameters of type BlockStore | |
|---|---|
static TestUtils.BlockPair |
TestUtils.createFakeBlock(BlockStore blockStore,
long timeSeconds,
Transaction... transactions)
|
static TestUtils.BlockPair |
TestUtils.createFakeBlock(BlockStore blockStore,
Transaction... transactions)
|
static Block |
TestUtils.makeSolvedTestBlock(BlockStore blockStore,
Address coinsTo)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||