Returns a promise for a NodeosBlock
.
Returns a promise for the head block number.
Loads the next block with chainInterface after validating, updating all relevant state. If block fails validation, rollback will be called, and will update state to last block unseen.
Incrementally rolls back reader state one block at a time, comparing the blockHistory with newly fetched blocks. Rollback is finished when either the current block's previous hash matches the previous block's hash, or when history is exhausted.
When history is exhausted in rollback(), this is run to handle the situation. If left unimplemented,
then only instantiate with onlyIrreversible
set to true.
Move to the specified block.
Reads from an EOSIO nodeos node to get blocks of actions. It is important to note that deferred transactions will not be included, as these are currently not accessible without the use of plugins.