eos icon indicating copy to clipboard operation
eos copied to clipboard

Delayed Node

Open bytemaster opened this issue 9 years ago • 4 comments

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.

bytemaster avatar Aug 15 '17 18:08 bytemaster

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.

nathanielhourt avatar Aug 16 '17 14:08 nathanielhourt

Partially implemented as the read-mode option, accepting speculative, head, or read-only as possible arguments. Mode irreversible is not yet supported.

jgiszczak avatar Sep 11 '18 21:09 jgiszczak

@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?

brianjohnson5972 avatar Oct 29 '18 19:10 brianjohnson5972

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

wanderingbort avatar Oct 30 '18 15:10 wanderingbort