Delayed Node
We need the ability to have one node keep its state behind the main node by N blocks where N is between 0 and last irreversible blocks.
This will help build micro services that cannot handle reversing blocks on a chain reorg.
Previously this was done by having a front node that stays in sync, and only pushes blocks to the back node when they're sufficiently old, right? Now that we track round changes in the block headers, I suppose the delayed node could be self-sufficient, tracking headers for the blocks its not ready to trust yet, but keeping them on hand until they get sufficiently confirmed to apply.
Partially implemented as the read-mode option, accepting speculative, head, or read-only as possible arguments. Mode irreversible is not yet supported.
@wanderingbort or @heifner Should this ticket be closed and a new issue created to just cover the remaining types of nodes or should we just close this ticket?
At the very least, we need a clean break between the probabilistic version of finality implied by lagging by N blocks and our algorithmic finality. Continuing to confuse this key difference in the EOSIO protocol is misleading observers. I am going to close this issue in favor of supporting the actually safe and novel classes of nodes like irreversible mode. We should have tickets for those instead