ricmoo / pycoind

Pure-Python full node and libraries for bitcoind-based crypto-currencies (eg. bitcoin, litecoin, etc)
MIT License
121 stars 45 forks source link

Implement Checkpoints #1

Open ricmoo opened 10 years ago

ricmoo commented 10 years ago

Each coin requires a list of checkpoint (height, block_hash) tuples, which represent points in the blockchain that are considered "true".

With these in place, syncing can be completed much faster, since the current bottleneck is the elliptic curve verification of each input of each transaction, which in the case of having a descendant in the checkpoints, can be skipped.