Expand description
Block functions.
Functions§
- add_
block - Add a
VerifiedBlockInformation
to the database. - block_
exists - Check if a block exists in the database.
- get_
block_ blob_ with_ tx_ indexes - Retrieve a block’s raw bytes, the index of the miner transaction and the number of non miner-txs in the block.
- get_
block_ complete_ entry - Retrieve a
BlockCompleteEntry
from the database. - get_
block_ extended_ header - Retrieve a
ExtendedBlockHeader
from the database. - get_
block_ extended_ header_ from_ height - Same as
get_block_extended_header
but with aBlockHeight
. - get_
block_ extended_ header_ top - Return the top/latest
ExtendedBlockHeader
from the database. - get_
block_ height - Retrieve a
BlockHeight
via itsBlockHash
. - get_
block_ info - Retrieve a
BlockInfo
via itsBlockHeight
. - pop_
block - Remove the top/latest block from the database.