Release 0.9.0
This is a big step for Jörmungandr. It marks the completion of 1 milestone (update to async/await) and the beginning of a new one: on chain voting. But first thing first: a breaking change in the configuration file.
Breaking change
The trusted peers does not need the id
anymore. Only the address
. For example:
p2p
trusted_peers:
- address: "/ip4/13.230.137.72/tcp/3000"
- id: e4fda5a674f0838b64cacf6d22bbae38594d7903aba2226f
Update to async/await
A few weeks before the 0.8.0 release, the rust programming language released a new feature to stable: async/await
. This is to enable asynchronous programming just it would be done in JavaScript for example. Before that, asynchronous programming was emulated with a library: futures-0.1
. Migrating out codebase to the new methods allowed to remove many unnecessary lines of code and complex logic. In short: the jörmungandr node lost on weight and got more agile.
This migration was completed by migrating the network source code to use tonic
the new implementation of gRPC in rust. Overall with this release we are expecting less memory usage, less CPU usage and less network traffic.
On chain voting
TBD