Skip to content

Java kernel v1.4 release

Compare
Choose a tag to compare
@AionJayT AionJayT released this 04 Mar 16:25
· 349 commits to master since this release

This is a recommended update release.

The release mainly enhanced the pending transaction pool efficiency, database performance(using RocksDB), memory usage. It is recommended to update to this version.

Database configuration guide

This version changes the default database from levelDB to RocksDB. It won't change your current database settings if you do have the <network> folder like mainnet, amity.

For the docker user, you might need to check your network configuration path and the database path to keep the paths are the same.

Also, please backup your database before you switch the database. If you want to switch to RocksDB, it requires to sync blocks from scratch. It will take 5 to 10 hrs depends on your hardware specs (especially the hard drive).

  • If your node has no existing folder like mainnet, amity, you can skip the following steps.
  • Check config.xml in the folder like mainnet, amity.
  • Use file editor to open the file,
  • Find the <db> -> <vendor> , update the setting from 'leveldb' to rocksdb
  • Check the '' -> <enable_db_compression> , make sure it is 'true'
  • Save the file and reboot the node. You will see the database information through the log:
    INFO GEN [main]: The DB vendor is: ROCKSDB

Bug fixes:

  • Validated the block timestamp when during submit the block through client api #1109

Enhancements:

  • Refactored AVM/FVM contract implementation #1108 #1112 #1114 #1117
  • Switched the default database to RocksDB, it increased 33% database performance. #1107 #1113
  • Enhanced the Pending transaction pool. #1101 #1102 #1120
  • Enhanced kernel block query #1111
  • Cleaned the block template when the chain re-branched #1110
  • Enhanced batched block import #1118