Avalon v1.6.4
Update consisting of performance optimizations at runtime and rebuild, resulting in 260% better rebuild performance. Recommended upgrade for all nodes.
Optimizations
Redundant GrowInt update
A redundant GrowInt update in chain.leaderRewards()
has been removed so that the cache.updateOne()
method will only be called once for the leader.
Redundant cloneDeep()
method calls
The computationally expensive cloneDeep()
method call have been skipped during rebuild in cache.updateOne()
method, and eliminated in chain.generateLeaders()
method.
In addition, the following methods calling cache.findOne()
will skip the cloneDeep()
method call:
cache.updateOne()
cache.addLeader()
chain.leaderRewards()
As a result, cloneDeep()
will only be called once during normal sync and will never be called during a rebuild, as compared to twice in the previous release.
Reindexing
A rebuild is not required when upgrading from the previous release.