To check the consistency of the database, you can use the following query in the pocketdb/main.sqlite3 database:
select *
from Transactions
where Height>1021
group by Height
having count() != max(BlockNum)
Nodes remain in the network without leaks, so it remains possible to restore data from backup snapshots.
To solve the problem, I propose to perform a complete database reindexation to make sure the consistency of the block chain.
Also publish a snapshot of the database in parallel.
Missing additional transaction data was found in the database, the blockchain is not affected. Presumably the loss is caused by incorrect logic of cleaning the mempool: https://github.com/pocketnetteam/pocketnet.core/commit/0b0494ffd9fc2f3aaf41cebcfa6cf7f8ec1faf02
To check the consistency of the database, you can use the following query in the
pocketdb/main.sqlite3
database:Nodes remain in the network without leaks, so it remains possible to restore data from backup snapshots.
To solve the problem, I propose to perform a complete database reindexation to make sure the consistency of the block chain. Also publish a snapshot of the database in parallel.