|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Block | |
|---|---|
| com.google.bitcoin.core | |
| com.google.bitcoin.jni | |
| com.google.bitcoin.params | |
| com.google.bitcoin.utils | |
| Uses of Block in com.google.bitcoin.core |
|---|
| Fields in com.google.bitcoin.core declared as Block | |
|---|---|
protected Block |
NetworkParameters.genesisBlock
|
| Methods in com.google.bitcoin.core that return Block | |
|---|---|
Block |
Block.cloneAsHeader()
Returns a copy of the block, but without any transactions. |
Block |
Block.createNextBlock(Address to)
|
Block |
Block.createNextBlock(Address to,
BigInteger value)
|
Block |
Block.createNextBlock(Address to,
long time)
Returns a solved block that builds on top of this one. |
Block |
Block.createNextBlock(Address to,
TransactionOutPoint prevOut)
|
Block |
Block.createNextBlockWithCoinbase(byte[] pubKey,
BigInteger coinbaseValue)
|
Block |
FilteredBlock.getBlockHeader()
Gets a copy of the block header |
Block |
NetworkParameters.getGenesisBlock()
Genesis block for this chain. |
Block |
StoredBlock.getHeader()
The block header this object wraps. |
Block |
AbstractBlockChain.getOrphanRoot(Sha256Hash from)
An orphan block is one that does not connect to the chain anywhere (ie we can't find its parent, therefore it's an orphan). |
| Methods in com.google.bitcoin.core that return types with arguments of type Block | |
|---|---|
com.google.common.util.concurrent.ListenableFuture<Block> |
Peer.getBlock(Sha256Hash blockHash)
Asks the connected peer for the block of the given hash, and returns a future representing the answer. |
List<Block> |
HeadersMessage.getBlockHeaders()
|
| Methods in com.google.bitcoin.core with parameters of type Block | |
|---|---|
boolean |
AbstractBlockChain.add(Block block)
Processes a received block and tries to add it to the chain. |
void |
InventoryMessage.addBlock(Block block)
|
protected StoredBlock |
FullPrunedBlockChain.addToBlockStore(StoredBlock storedPrev,
Block block)
|
protected StoredBlock |
BlockChain.addToBlockStore(StoredBlock storedPrev,
Block blockHeader)
|
protected abstract StoredBlock |
AbstractBlockChain.addToBlockStore(StoredBlock storedPrev,
Block block)
Adds/updates the given Block with the block store. |
protected StoredBlock |
FullPrunedBlockChain.addToBlockStore(StoredBlock storedPrev,
Block header,
TransactionOutputChanges txOutChanges)
|
protected StoredBlock |
BlockChain.addToBlockStore(StoredBlock storedPrev,
Block blockHeader,
TransactionOutputChanges txOutChanges)
|
protected abstract StoredBlock |
AbstractBlockChain.addToBlockStore(StoredBlock storedPrev,
Block header,
TransactionOutputChanges txOutputChanges)
Adds/updates the given StoredBlock with the block store. |
StoredBlock |
StoredBlock.build(Block block)
Creates a new StoredBlock, calculating the additional fields by adding to the values in this block. |
protected TransactionOutputChanges |
FullPrunedBlockChain.connectTransactions(int height,
Block block)
|
protected TransactionOutputChanges |
BlockChain.connectTransactions(int height,
Block block)
|
protected abstract TransactionOutputChanges |
AbstractBlockChain.connectTransactions(int height,
Block block)
Connect each transaction in block.transactions, verifying them as we go and removing spent outputs If an error is encountered in a transaction, no changes should be made to the underlying BlockStore. |
boolean |
TransactionConfidence.notifyWorkDone(Block block)
Called by the wallet when the tx appears on the best chain and a new block is added to the top. |
void |
PeerEventListener.onBlocksDownloaded(Peer peer,
Block block,
int blocksLeft)
Called on a Peer thread when a block is received. |
void |
DownloadListener.onBlocksDownloaded(Peer peer,
Block block,
int blocksLeft)
|
void |
AbstractPeerEventListener.onBlocksDownloaded(Peer peer,
Block block,
int blocksLeft)
|
| Constructors in com.google.bitcoin.core with parameters of type Block | |
|---|---|
HeadersMessage(NetworkParameters params,
Block... headers)
|
|
StoredBlock(Block header,
BigInteger chainWork,
int height)
|
|
| Uses of Block in com.google.bitcoin.jni |
|---|
| Methods in com.google.bitcoin.jni with parameters of type Block | |
|---|---|
void |
NativePeerEventListener.onBlocksDownloaded(Peer peer,
Block block,
int blocksLeft)
|
| Uses of Block in com.google.bitcoin.params |
|---|
| Methods in com.google.bitcoin.params that return Block | |
|---|---|
Block |
RegTestParams.getGenesisBlock()
|
| Uses of Block in com.google.bitcoin.utils |
|---|
| Fields in com.google.bitcoin.utils declared as Block | |
|---|---|
Block |
TestUtils.BlockPair.block
|
| Methods in com.google.bitcoin.utils that return Block | |
|---|---|
static Block |
TestUtils.makeSolvedTestBlock(BlockStore blockStore,
Address coinsTo)
|
static Block |
TestUtils.makeSolvedTestBlock(Block prev,
Transaction... transactions)
|
Block |
BlockFileLoader.next()
|
| Methods in com.google.bitcoin.utils that return types with arguments of type Block | |
|---|---|
Iterator<Block> |
BlockFileLoader.iterator()
|
| Methods in com.google.bitcoin.utils with parameters of type Block | |
|---|---|
static Block |
TestUtils.makeSolvedTestBlock(Block prev,
Transaction... transactions)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||