github ava-labs/avalanchego v1.0.4
Mainnet Patch - 4

latest releases: v1.11.6-go-version-test.1, v1.11.6-go-version-test.0, v1.11.5...
3 years ago

This update is optional, but encouraged. The patch includes quality of life improvements and various performance enhancements.

Note that this update requires the CLI parameters to be specified with -- rather than allowing for either - or --. For example, -public-ip=127.0.0.1 is no longer allowed and must be specified as --public-ip=127.0.0.1. Otherwise this update is backwards compatible.

  • Added subnet whitelisting to allow a node owner to choose which subnets to validate.
  • Added config file parsing for node settings.
  • Added more options for specifying a node's IP address and added getNodeIP to the info endpoint.
  • Added a TxID to the result of get.*Validators in the platformvm.
  • Updated Coreth version.
  • Cleaned up the snowball trie implementation and added additional tests to align with mutation tests.
  • Implemented and optimized continuous time averagers for tracking CPU and network latency.
  • Significantly optimized memory allocations in various locations.
  • Increased the signature verification cache size.
  • Reduced DB reads during vertex management.
  • Added an optional argument includeReason to platform.getTxStatus.
    If not provided, or if false, the output from getTxStatus is the same as before.
    For example:
{
    "jsonrpc": "2.0",
    "result": "Dropped",
	"id": 1
}

If includeReason is true, the output from getTxStatus has a new format. It's an object that looks like this:

{
    "jsonrpc": "2.0",
	"result": {
	    "status":"[Status]",
	    "reason":"[Reason tx was dropped, if applicable]"
	},
	"id": 1
}

In this new format, reason will not be present unless the status is Dropped.
Anything that depends on platform.getTxStatus should switch to using the includeReason argument and use the new response format. After a few releases, we'll only support the new response format.

Don't miss a new avalanchego release

NewReleases is sending notifications on new releases.