v1.10.2
版本发布时间: 2021-04-08 19:05:48
ethereum/go-ethereum最新发布版本:v1.14.12(2024-11-19 21:53:28)
Geth v1.10.2 is a maintenance release, containing bug fixes and a few minor new features.
Geth command changes
- Mining work package notifications can now be changed to contain the complete pending block header instead of a work package array. To enable this functionality, use the
--miner.notify.full
flag (#22558) - Geth will now open chain databases in read-only mode when performing commands that should not modify the database. This fixes several cases where indexing operations and snapshot generation would run as part of commands like
geth inspect
(#22498) - Geth now supports JSON log output using the
--log.json
flag (#22341) - The
geth copydb
command has been removed because it had been broken for quite a while (#22501) - The new
geth db dumptrie
command shows the state tree entries of an account (#22563) - When exporting a chain segment using
geth export
, the end block is now validated against the chain head to prevent fatal error at the end of export (#22387) -
geth snapshot
commands now support setting the freezer directory using the--datadir.ancient
flag (#22486) -
geth snapsnot prune-state
now considers pruning successful before performing a long-running leveldb compaction. This avoids issues when the compaction process is interrupted by an abnormal exit (#22579) -
geth dumpgenesis
and thegeth db
commands now support the--datadir
flag and the network selection flags (--rinkeby
, etc.) (#22406, #22407)
RPC/GraphQL API changes
- The new
eth_createAccessList
RPC method allows auto-creating access lists for EIP-2718 transactions (#22604) - RPC methods
ethash_submitHashrate
andminer_hashrate
have been renamed from their previous incorrect spelling*hashRate
(#22604) - The GraphQL API now supports EIP-2718 access list transactions (#22491)
-
eth_chainId
now supports chain IDs larger than 64 bits (#22243) - The
admin_startRPC
andadmin_stopRPC
methods have been renamed to(start|stop)HTTP
(#22461) - In LES server RPC APIs, the node ID can now be supplied as an
enode://
URL or 32-byte hex ID (#22423) - Several bugs related to interactions between chain tracing and the snapshot system are resolved (#22473, #22333, #22629)
- Tracing now reports correct gas amounts for EIP-2718 transactions (#22480)
Go library changes
- TransactOpts of accounts/abi/bind now support the NoSend option, which prevents sending the transaction. This can be used with Go contract bindings to 'dry-run' the binding (#22446)
- The Ledger USB wallet backend now supports EIP-712 'typed data signing' (#22378)
- Several critical issues related to state snapshot handling are fixed in this release (#22540, #22582, #22551)
- Background transaction indexing no longer fails for EIP-2718 transactions (#22457)
- The InfluxDB metrics reporter no longer reports spurious zero values when a histogram has not been updated since the last report (#22590)
- LES metrics have been renamed to avoid issues in the Prometheus reporter (#22459)
- The ethstats client no longer crashes when Geth exits immediately after starting (#22587)
- A rare crash in RPC client subscription handling has been fixed (#22597)
Networking
- Several bugs in the implementation of snap sync are fixed in this release, but it is still considered experimental and not yet enabled by default (#22596, #22513, #22553, #22591)
- When metrics are enabled, the 'eth' protocol handler now measures the latency of message handling (#22581, #22586)
- The DNS discovery client was fixed to avoid hot-spinning when a DNS node trees contains many invalid/incompatible ENRs (#22566)
- The DNS discovery deployer tool has been updated to resolve some long-standing bugs. Publishing of large trees is now much more efficient because needless updates are avoided, and better batching means the deployer waits less for the server. The tool now uses the latest AWS and CloudFlare SDK versions. (#22572, #22538, #22537, #22588, #22360)
- The branch factor of DNS discovery trees has been reduced to ensure that all TXT records fit into the 512-byte limit of DNS/UDP packets (#22533)
-
devp2p nodeset filter -les-server
was fixed to deal with the new format of the "les" ENR entry (#22565) - The cross-client test suite of the 'eth' protocol has been improved a bit, and now skips eth/66 tests when the node under test does not support protocol version 66 (#22460, #22508, #22482, #22474)
- LES connection pre-negotiation via UDP now works correctly (#22451)
For a full rundown of the changes please consult the Geth 1.10.2 release milestone.
As with all our previous releases, you can find the:
- Pre-built binaries for all platforms on our downloads page.
- Docker images published under
ethereum/client-go
. - Ubuntu packages in our Launchpad PPA repository.
- OSX packages in our Homebrew Tap repository.