busy icon indicating copy to clipboard operation
busy copied to clipboard

Script to fast replay blockchain with multiple block

Open bonustrack opened this issue 6 years ago • 2 comments

bonustrack avatar Apr 30 '18 13:04 bonustrack

https://docs.google.com/document/d/1i1kLZR5UcxNuR3JPhu6M_lX7NLswIQd1AMdyW7EFUHU/edit#heading=h.d021eprbcln8

bonustrack avatar Apr 30 '18 13:04 bonustrack

image

Problems we have to think about.

We need to sync blocks fast. Nodes that support querying multiple blocks at once are invaluable for that, but there are not many of them (one for now). If we rely on single node only, we won't be able to sync when that node is down.

Irreversibility vs. speed. Irreversible blocks are 1-2 minutes behind head of blockchain. We have to find a way to give access to latest changes without a delay, but still make sure everything we store in long term is valid and in correct order.

Sekhmet avatar Apr 30 '18 13:04 Sekhmet