Geth v1.10.2 is a upkeep launch, containing bug fixes and some minor new options.
Geth command adjustments
-
Mining work package deal notifications can now be modified to comprise the entire pending block header as a substitute of a piece package deal array. To allow this performance, use the
--miner.notify.full
flag (#22558) -
Geth will now open chain databases in read-only mode when performing instructions that ought to not modify the database. This fixes a number of instances the place indexing operations and snapshot technology would run as a part of instructions like
geth examine
(#22498) -
Geth now helps JSON log output utilizing the
--log.json
flag (#22341) -
The
geth copydb
command has been eliminated as a result of it had been damaged for fairly some time (#22501) -
The brand new
geth db dumptrie
command exhibits the state tree entries of an account (#22563) -
When exporting a series phase utilizing
geth export
, the tip block is now validated towards the chain head to stop deadly error on the finish of export (#22387) -
geth snapshot
instructions now assist setting the freezer listing utilizing the--datadir.historic
flag (#22486) -
geth snapsnot prune-state
now considers pruning profitable earlier than performing a long-running leveldb compaction. This avoids points when the compaction course of is interrupted by an irregular exit (#22579) -
geth dumpgenesis
and thegeth db
instructions now assist the--datadir
flag and the community choice flags (--rinkeby
, and many others.) (#22406, #22407)
RPC/GraphQL API adjustments
-
The brand new
eth_createAccessList
RPC methodology permits auto-creating entry lists for EIP-2718 transactions (#22604) -
RPC strategies
ethash_submitHashrate
andminer_hashrate
have been renamed from their earlier incorrect spelling*hashRate
(#22604) -
The GraphQL API now helps EIP-2718 entry checklist transactions (#22491)
-
eth_chainId
now helps chain IDs bigger than 64 bits (#22243) -
The
admin_startRPC
andadmin_stopRPC
strategies have been renamed to(begin|cease)HTTP
(#22461) -
In LES server RPC APIs, the node ID can now be equipped as an
enode://
URL or 32-byte hex ID (#22423) -
A number of bugs associated to interactions between chain tracing and the snapshot system are resolved (#22473, #22333, #22629)
-
Tracing now stories appropriate fuel quantities for EIP-2718 transactions (#22480)
Go library adjustments
-
TransactOpts of accounts/abi/bind now assist the NoSend possibility, which prevents sending the transaction. This can be utilized with Go contract bindings to ‘dry-run’ the binding (#22446)
-
The Ledger USB pockets backend now helps EIP-712 ‘typed knowledge signing’ (#22378)
-
A number of essential points associated to state snapshot dealing with are fastened on this launch (#22540, #22582, #22551)
-
Background transaction indexing now not fails for EIP-2718 transactions (#22457)
-
The InfluxDB metrics reporter now not stories spurious zero values when a histogram has not been up to date for the reason that final report (#22590)
-
LES metrics have been renamed to keep away from points within the Prometheus reporter (#22459)
-
The ethstats shopper now not crashes when Geth exits instantly after beginning (#22587)
-
A uncommon crash in RPC shopper subscription dealing with has been fastened (#22597)
Networking
-
A number of bugs within the implementation of snap sync are fastened on this launch, however it’s nonetheless thought of experimental and never but enabled by default (#22596, #22513, #22553, #22591)
-
When metrics are enabled, the ‘eth’ protocol handler now measures the latency of message dealing with (#22581, #22586)
-
The DNS discovery shopper was fastened to keep away from hot-spinning when a DNS node timber accommodates many invalid/incompatible ENRs (#22566)
-
The DNS discovery deployer software has been up to date to resolve some long-standing bugs. Publishing of enormous timber is now way more environment friendly as a result of unnecessary updates are averted, and higher batching means the deployer waits much less for the server. The software now makes use of the newest AWS and CloudFlare SDK variations. (#22572, #22538, #22537, #22588, #22360)
-
The department issue of DNS discovery timber has been decreased to make sure that all TXT information match into the 512-byte restrict of DNS/UDP packets (#22533)
-
devp2p nodeset filter -les-server
was fastened to cope with the brand new format of the “les” ENR entry (#22565) -
The cross-client check suite of the ‘eth’ protocol has been improved a bit, and now skips eth/66 exams when the node below check doesn’t assist protocol model 66 (#22460, #22508, #22482, #22474)
-
LES connection pre-negotiation through UDP now works accurately (#22451)
For a full rundown of the adjustments please seek the advice of the Geth 1.10.2 release milestone.