This release addresses a critical issue that caused a mainnet fork due to a link-bomb. The root cause of the bug is the increase in mainnet and acceleration of transmission speed but overlooks the conflict between the TXPool and linkBlock during synchronization. This led to a large number of duplicate block requests entering the TXPool, resulting in an overwhelming link depth within a few epochs after synchronization, making it impossible for machines to execute completely.
The fork reflects whether the link-bomb mainblock state is pending, depending on the capabilities of the node machine. To achieve mainnet consistency, we upgrade the mainnet with a snapshot. The snapshot data source is the wallet node data.
Changes in this release:
Notable changes in this release:
- Disable the TXPool during synchronization.
- Disable the generation of link blocks and TXPool for non-mining nodes.
- Fix TXBlock difficulty to 1 to avoid main chain rollback caused by random TXBlock difficulty-bomb.
What's Changed
- Bump org.xerial.snappy:snappy-java from 1.1.10.1 to 1.1.10.4 by @dependabot in #281
- Sync Dev branch by @LucasMLK in #305
- merge to master by @LucasMLK in #313
- merge by @LucasMLK in #314
- upgrade maven dependency by @LucasMLK in #315
- remove websocket and add jws-api dependency by @LucasMLK in #316
- refactor some code. by @Junze888 in #318
- fixed node create TX block diff is 1. by @Junze888 in #319
- Fix the endless Link Bug cause by non-mining nodes in the mainnet. by @Junze888 in #320
- Bug fix: All nodes temporarily close tx pool when syncing. by @Junze888 in #321
- update version and some maven dependency by @LucasMLK in #322
- refactor. by @Junze888 in #323
Full Changelog: 0.7.1...0.7.2