xaya / electrum-chi

Xaya port of Electrum client.
https://xaya.io
MIT License
5 stars 5 forks source link

Support checkpoints for Xaya #2

Closed domob1812 closed 5 years ago

domob1812 commented 5 years ago

We should add back in checkpoints for the Xaya chain. This is non-trivial, though, as we need to store more data with them to support Xaya's continuous difficulty update. So probably each checkpoint should store the block hash, the chainwork up to that point, and the algo, timestamp and bits of the last 24 blocks for each algorithm.