Added checkpoint lookup on startup.

Currently enabled for topOnly nodes only. This will detect if the node is on a divergent chain, and will force a bootstrap or resync (depending on settings) in order to rejoin the main chain.
This commit is contained in:
CalDescent
2023-01-15 11:33:16 +00:00
parent 2a55eba1f7
commit e91e612b55
2 changed files with 50 additions and 13 deletions

View File

@@ -87,6 +87,9 @@
"feeValidationFixTimestamp": 1671918000000,
"chatReferenceTimestamp": 1674316800000
},
"checkpoints": [
{ "height": 1131800, "signature": "EpRam4PLdKzULMp7xNU7XG964AKfioG3g1k7cxwxWXnXspPwnjfF6UncEz4feuSA9mr1vW5d3YQPGruXYjj4vciSh4SPj5iWRxkHRWFeRpQnmVUyaVumuBTwM8nnLKJTdtkZnd6d8Mc5mVFdHs6EwLBTY4HECoRcbo4e4FwkfqVon4M" }
],
"genesisInfo": {
"version": 4,
"timestamp": "1593450000000",