Repository navigation
Overview
Tritium Core 5.1.6 contains important security, scaling, and DDoS prevention. This update is HIGHLY RECOMMENDED, it contains important security improvements to keep the network stable when under DDoS or DoS attacks.
What's Changed
- Improve API functionality including adding a generic SORTING, CACHING, FILTERING, and OPERATORS so that the API can page API requests and handle sorted pages without extensive recalculations of disk state. This also caches commands that require more computation resources to prevent DoS exhaustion attacks on the core nodes responding.
- Improvements to syncing code to handle edge cases where we are out of internet connections for extended periods of time.
- On unreliable connections, we want to request missing transactions to Random Nodes so that we don't get stuck in loops by an attacker.
- Add filters to specific transaction data that could get your node stuck in DoS loops
- Add a limit to the missing transactions checks so that a node will terminate after a given constant value.
- Improve checkpoints code and update hard-coded checkpoints mainly for syncing the chain
- Add conflicted memory management so that we can identify conflicted chains and manage them better in case of CONFLICTED blocks
- Improve missing transactions logic when processing an ORPHAN queue to ensure we can stay up to date in case a missing transaction comes in with an ORPHAN queue.
- Adjust some default values for command-line parameters
- Improve our CheckPermissions code to be more efficient
- Resolve a deadlock in the Tritium LLP that could get your main processing threads stuck in a lock order inversion
- Improve handling of nodes that connect and get the socket hung not giving a VERSION message within 10 seconds.
- Add DDOS scores for sending illegal data, and increment based on the items requested for better DDoS handling.
- Fix unstake to zero issue where you would stake based on a local rule rather than the global protocol rule. This will help unstake coins faster if you wish to unstake your balance to 0 NXS.
- Improve LLP handling for different servers being activated or not.
Full Changelog: 5.1.5...5.1.6