busy
busy copied to clipboard
Script to fast replay blockchain with multiple block
https://docs.google.com/document/d/1i1kLZR5UcxNuR3JPhu6M_lX7NLswIQd1AMdyW7EFUHU/edit#heading=h.d021eprbcln8
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.