Skip to content

Java Kernel v1.1

Compare
Choose a tag to compare
@AlexandraRoatis AlexandraRoatis released this 18 Dec 15:49
· 499 commits to master since this release

This is a recommended update release.

The release mainly enhanced kernel memory usage and corrects a number of bugs. It is highly recommended to update to this version. Users who wish to use RocksDB must re-sync a node after changing the database vendor in the config.xml file.

Features:

  • Updated RPC library while maintaining legacy support with aion_pool2.
  • Limit the eth_getLogs to querying at most 1000 blocks.

Bug fixes:

  • Queried event logs includes contract creation logs.
  • The internal miner updates the block template timestamp every second.
  • Block creation enhanced to prevent attempts at creating consecutive blocks of the same type.
  • Sync stops the import loop early on NO_PARENT result.
  • P2p and sync ensure that header & body requests are sent in the correct order.
  • Reduced memory usage by limiting the number of messages to and from the network to avoid OOM issue.
  • Re-added path for re-connecting to peers from the boot list.

Enhancements:

  • RocksDB tune-up: good alternative to LevelDB.
  • Mining block template does not recalculate system time.
  • Faster offloading of blocks to storage during sync.
  • Enhanced heuristic for sending header requests during sync.
  • Adjusted worker threads count to use the system available processors times two, up to 32.
  • Revised transaction parsing and root validation.
  • Reduced use of singleton classes in the code.
  • Revised classes for reading the kernel configuration.
  • Added header validation in block import as future-proofing.
  • Enhanced launch script.
  • Unit tests for re-branching after Unity fork and for encode/decode staking & mining blocks.
  • Documentation and message logging updates.