|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Block | |
---|---|
com.google.bitcoin.core |
Uses of Block in com.google.bitcoin.core |
---|
Fields in com.google.bitcoin.core declared as Block | |
---|---|
Block |
NetworkParameters.genesisBlock
Genesis block for this chain. |
Methods in com.google.bitcoin.core that return Block | |
---|---|
Block |
Block.cloneAsHeader()
Returns a copy of the block, but without any transactions. |
Block |
StoredBlock.getHeader()
The block header this object wraps. |
Block |
BlockChain.getUnconnectedBlock()
Returns the most recent unconnected block or null if there are none. |
Methods in com.google.bitcoin.core that return types with arguments of type Block | |
---|---|
Future<Block> |
Peer.getBlock(byte[] blockHash)
Asks the connected peer for the block of the given hash, and returns a Future representing the answer. |
Methods in com.google.bitcoin.core with parameters of type Block | |
---|---|
boolean |
BlockChain.add(Block block)
Processes a received block and tries to add it to the chain. |
StoredBlock |
StoredBlock.build(Block block)
Creates a new StoredBlock, calculating the additional fields by adding to the values in this block. |
Constructors in com.google.bitcoin.core with parameters of type Block | |
---|---|
StoredBlock(Block header,
BigInteger chainWork,
int height)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |