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
toplatform.getTxStatus
.
If not provided, or iffalse
, the output fromgetTxStatus
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.