This update is backwards compatible. It is optional, but encouraged. The patch includes performance, throttling, and VM improvements.
Note that in AvalancheGo >= v1.4.10, C-Chain pruning is enabled by default. If you need archive mode functionality (i.e. historical lookups) on the C-Chain, set C-Chain config flag pruning-enabled
to false
. See here for more information on C-Chain config.
- Added support to use
RocksDB
rather thanLevelDB
on supported architectures. - Restructured inbound network throttling to be managed once in networking rather than once at each chain, to properly restrict the bandwidth usage of peer nodes.
- Updated outbound network throttling to weight allocated bytes by stake.
- Updated the default value of the
pruning-enabled
flag totrue
for the C-chain. - Enabled registering of custom VMs over RPC.
- Updated blockchain status to report validation status.
- Moved
TimestampVM
into its own repository to match the expected VM creation path. - Fixed protobuf code-gen script to place
grpc
files in the correct location. - Passed the block bytes through the
rpcchainvm#Block.Verify
to avoid any potential cache eviction verification failures.