lncm / pi-factory

Bootstrap a bitcoin lightning box for Raspberry Pi 3 based on Alpine Linux

Home Page:https://lncm.io/project/box/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Blockchain snapshots to speed up first sync

AnotherDroog opened this issue · comments

can this be used to sync the entire blockchain?

Lets say if you decide not to go with pruned?

This will be for pruned, about 1000 blocks I would say

Ideally we make use of IPFS to facilitate. I've added an issue for this #159

I wonder if:

  1. We start from the same copy of the blockchain,
  2. Run it on multiple bitcoin nodes,
  3. Stop them all after exactly the same block

Will the contents of blocks/ and chainstate/ be exactly the same? 🤔

Would allow for at least some level of auditability.

That way we could, ex:

  • Host full, archival chain until block X,
  • Host pruned recent chunks

That way anyone willing to audit our "fast-sync" chunk would start from our archival part, setup bitcoind to the same level of pruning, stop bitcoind after a specified block and compared their own state with the chunk hosted by us.

Gotta investigate that.

Added fastsync to noma fastsync