|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use StoredBlock | |
---|---|
com.google.bitcoin.core |
Uses of StoredBlock in com.google.bitcoin.core |
---|
Fields in com.google.bitcoin.core declared as StoredBlock | |
---|---|
protected StoredBlock |
BlockChain.chainHead
Tracks the top of the best known chain. |
Methods in com.google.bitcoin.core that return StoredBlock | |
---|---|
StoredBlock |
StoredBlock.build(Block block)
Creates a new StoredBlock, calculating the additional fields by adding to the values in this block. |
StoredBlock |
DiskBlockStore.get(byte[] hash)
|
StoredBlock |
BoundedOverheadBlockStore.get(byte[] hashBytes)
|
StoredBlock |
MemoryBlockStore.get(byte[] hash)
|
StoredBlock |
BlockStore.get(byte[] hash)
Returns the StoredBlock given a hash. |
StoredBlock |
DiskBlockStore.getChainHead()
|
StoredBlock |
BoundedOverheadBlockStore.getChainHead()
|
StoredBlock |
MemoryBlockStore.getChainHead()
|
StoredBlock |
BlockChain.getChainHead()
Returns the block at the head of the current best chain. |
StoredBlock |
BlockStore.getChainHead()
Returns the StoredBlock that represents the top of the chain of greatest total work. |
StoredBlock |
StoredBlock.getPrev(BlockStore store)
Given a block store, looks up the previous block in this chain. |
Methods in com.google.bitcoin.core with parameters of type StoredBlock | |
---|---|
boolean |
StoredBlock.moreWorkThan(StoredBlock other)
Returns true if this objects chainWork is higher than the others. |
void |
DiskBlockStore.put(StoredBlock block)
|
void |
BoundedOverheadBlockStore.put(StoredBlock block)
|
void |
MemoryBlockStore.put(StoredBlock block)
|
void |
BlockStore.put(StoredBlock block)
Saves the given block header+extra data. |
void |
DiskBlockStore.setChainHead(StoredBlock chainHead)
|
void |
BoundedOverheadBlockStore.setChainHead(StoredBlock chainHead)
|
void |
MemoryBlockStore.setChainHead(StoredBlock chainHead)
|
void |
BlockStore.setChainHead(StoredBlock chainHead)
Sets the StoredBlock that represents the top of the chain of greatest total work. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |