pkt-cash / pktd

The PKT full node and wallet
https://pkt.cash/
ISC License
39 stars 26 forks source link

Resync after ImportPrivKey and NeutrinoDB corruption fixes #344

Closed aldebap closed 2 years ago

aldebap commented 2 years ago

The following were added/changed/fixed:

. start resync from block 1 instead of genesis after importing a private key; . fix bug that was corrupting NeutrinoDB; . fix segmentation fault on RollbackLastBlock(); . fix some tests regarding the changes in RollbackLastBlock(); . I kept some debug traces used during the debugging of the test code;