zebra icon indicating copy to clipboard operation
zebra copied to clipboard

Try loading blocks from a flat file

Open teor2345 opened this issue 2 years ago • 0 comments

Motivation

Zebra takes about 6 hours to sync from the network, but less than an hour to load blocks from a file on disk.

We could share a file of blocks using a faster distributed file sharing protocol, like Bittorrent or IPFS. Then sync the final few blocks as normal, using full validation.

For now, we just want to investigate how fast it would be.

Designs

Like copy-state, load blocks into the state. But instead of using a Zebra state as the source, use a flat file containing block data.

teor2345 avatar Jun 15 '22 01:06 teor2345