pocketnetteam / pocketnet.core

Decentralized social network based on the blockchain
https://pocketnet.app
Apache License 2.0
114 stars 28 forks source link

Fix infinity lock cs_main in 0.21 #365

Closed andyoknen closed 2 years ago

andyoknen commented 2 years ago

Presumably after the mechanism of clearing mempool transactions

andyoknen commented 2 years ago

Disabling the transaction mempool cleanup logic seems to solve the problem - @tawmaz

https://github.com/pocketnetteam/pocketnet.core/blob/1bbe483aa87ae11ff686ad4eb52905e3aab14400/src/txmempool.h#L671

andyoknen commented 2 years ago

Perhaps the problem is related to an error in processing the new multiblock logic in orphan blocks. After correcting the error, the situation has not been reproduced for several days