Taraxa Weekly Update — Week 26
New fixes to Aphrogenes Testnet with an important improvement made on Taraxa’s concurrent virtual machine.
Consensus and PBFT
Efficient proposals enable Taraxa’s PoS to produce fair and non-coordinated block proposals, which is essential for the network’s security. Done this week:
- Improved the VDF library;
- WIP: Calculating the time cost on a various number of DAG blocks to implement an algorithm for the Taraxa DAG proposing rate.
We leverage the rapid finalization of the block DAG to maximize the network’s throughput. Done this week:
- Completed work on logging improvements.
- Logging now configurable with node configuration file allowing setting log verbosity per channel.
- Multiple logging configurations with multiple outputs allowed as a console or file outputs.
- Log format can be custom using standard boost log formatting options and node id as an additional option.
- Configurable options for both size and time-based log rotation.
This week, we’ve merged a major optimization for trie DB on the Go side of Taraxa’s EVM.
- Parallelized the constant time reads to the max to speed up the DB reads during the transaction execution. Before, you could do parallel, but you’d likely either do redundant work or waste time on synchronization across the reads that share the same branch.
- Optimized the amount of data stored in the trie: only full nodes are now stored in the DB, while the extension nodes are always embedded inside them.
- Implemented a cache for branch nodes.