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 array of
Block
objects, useful for testing.