Releases: aergoio/aergo
Releases · aergoio/aergo
v2.2.10
v2.2.8
Bug Fixes
- Fix the nil pointer dereference raised whenever
GetStateQuery
andGetStateAndProof
(RPC commands) returns any error. In this situation, the client could not get a correct error response, since the error in the response be always thetimeout
error due to some internal reason.
v2.2.7
v2.2.6
v2.2.5
Breaking Changes
- Now
contract.balance
function can be used to get the staking amount of an address and the last staking block height by adding a string constant"stakingandwhen"
as its second argument.
Bug Fixes
- The built-in function
system.getTimestamp
now returns the timestamp value of the current best block in a query, while it returns a OS system time in the previous releases. Warning: any full node under operation must be upgraded to this version.
v2.2.4
v2.2.3
v2.2.2
Improvements
- Mempool
- Add two new commands for node administrators:
mempool stat
,mempool get
. The former shows the number of pooled transactions and the number of orphaned transactions for each address; the latter prints the lists of pooled and orphaned transactions hashes for each address. These commands can be run only via the unix domain socket for security reason (For the details, check the correspondinghelp
fromaergocli
).
- Add two new commands for node administrators:
Bug Fixes
- Enterprise
- Remove the obsolete, undocumented
cluster
command. - Prevent the
setConf
command from generating a whitelist composed of only non-admin members, which makes the whitelist permanently immutable (the resulting whitelist cannot be modified).
- Remove the obsolete, undocumented
v2.2.1
Improvements
- Query & transaction execution performance has been improved.
- A new transaction propagation policy has been deployed. By this the number of temporary orphans under heavy load has been largely reduced.
- A transaction includes the hash of the chain ID. The latter is used to verify transactions by the mempool; a transaction having a invalid chain ID hash is rejected. Now the mempool uses the chain ID from a block being created next (not from the current best block).
Bug Fixes
- Now the chain version can be set in genesis.json. #120
- SQL
- Fix an internal issue leading to a failure of a statement including ‘group by’ clause.
- Fix a thread safety issue resulting in a segmentation fault.
- Increase the default DB size to prevent nondeterministic behaviors ending up with a state root mismatch or a receipt root mismatch error.
v2.2.0
This release contains a number of new features and improvements.
New features
- Keystore
- Introducing a new storage format for private keys. Blog article detailing this change
- All
aergocli
commands that use an account (e.g. to send a tx) can now use a local keystore instead of a node-based remote keystore.- The new default behavior is to use a local keystore at
$HOME/.aergo
- You can change the keystore directory by supplying
--keystore /path/to/keystore/
- To restore the old behavior (using a server provided keystore), pass
--node-keystore
- Deprecation warning: remote node keystore functionality will be removed in future versions. The reason is that this is prone to unsafe use - if used incorrectly with a publicly accessible node, this can expose user information.
- The new default behavior is to use a local keystore at
- The internal account module now uses the keystore file format instead of a Badger db. Badger db continues to be supported for old installations. See documentation for details.
- If you want to migrate your cli accounts, see the documentation
- CLI and GRPC calls regarding Export and Import of accounts have been adapted to support the new keystore format.
ImportAccount
has a new parameterKeystore
which takes a JSON string. There's also a new method,ExportAccountKeystore
.
Breaking changes
- All
aergocli
commands that use an account (e.g. to send a tx) now use a local keystore by default. You can restore the old behavior of connecting to a node by passing--node-keystore
. See the documentation for details aergocli account export
default output format has changed to the new keystore format. Use--wif
to restore the old behavior.
Improvements
- [rpc] TX bulk commit performance improvements
- [brick] Ensure hello.brick has enough account balance to run #105
- [brick] Ensure brick has a non-zero exit code on error #112
- [brick] support verbose and watch together #103
- [lua] Ensure aergoluac has a non-zero exit code on error #109
- [cli] The output of SendTX commands has been made more consistent
- [cli] Clarify command line usage #122
- [cli] add option to pass password to
name update
#123 - [cli] refactor getblock, improve error handling #124
- [P2P] Fix retrying tx notice is not working in raft consensus
- [rpc] performance: change lock duration in grpc stream function