Use BlockStorage.appendBlock(block: Block) if you want to automatically update state
Use BlockStorage.appendBlock(block: Block) if you want to automatically update state
Append block to a chain, based on it's reference
- block to append
Blocks to process in state
Get list of blocks generated by specified address in specified interval of blocks
Height of the a chain, or a longest chain in the explicit block-tree
Height of the a chain, or a longest chain in the explicit block-tree
Quality score of a best chain, e.g.
Quality score of a best chain, e.g. cumulative difficulty in case of Bitcoin / Nxt
Average delay in milliseconds between last $blockNum blocks starting from $block
Average delay in milliseconds between last $blockNum blocks starting from $block
Height of a block if it's in the blocktree
Height of a block if it's in the blocktree
Is there's no history, even genesis block
Is there's no history, even genesis block
Block with maximum blockchain score
Block with maximum blockchain score
Return $howMany blocks starting from $parentSignature
Return $howMany blocks starting from $parentSignature