core/rawdb: fix the transaction indexer (#22395)

# Conflicts:
#	core/rawdb/chain_iterator.go
This commit is contained in:
gary rong 2021-03-01 17:26:10 +08:00 committed by Igor Mandrigin
parent e3f0782057
commit a9fb6bd2b0

118
diff.txt
View File

@ -160,121 +160,3 @@ Date: Mon Mar 1 17:26:10 2021 +0800
core/rawdb: fix the transaction indexer (#22395)
commit d96870428f116494d5190a8e595189e283dd144b
Author: Zsolt Felföldi <zsfelfoldi@gmail.com>
Date: Mon Mar 1 10:24:20 2021 +0100
les: UDP pre-negotiation of available server capacity (#22183)
This PR implements the first one of the "lespay" UDP queries which
is already useful in itself: the capacity query. The server pool is making
use of this query by doing a cheap UDP query to determine whether it is
worth starting the more expensive TCP connection process.
commit 498458b4102c0d32d7453035a115e6b9df5e485d
Author: Martin Holst Swende <martin@swende.se>
Date: Fri Feb 26 16:33:37 2021 +0100
core/state: fix eta calculation on pruning (#22386)
commit 3822b09904edcd92bc203b5739115208daa38765
Author: Marius van der Wijden <m.vanderwijden@live.de>
Date: Fri Feb 26 15:28:34 2021 +0100
accounts/keystore: use github.com/google/uuid (#22217)
This replaces the github.com/pborman/uuid dependency with
github.com/google/uuid because the former is only a wrapper for
the latter (since v1.0.0).
Co-authored-by: Felix Lange <fjl@twurst.com>
commit 744707a490705f292b0558aa6807b3848a9c4bf9
Merge: 27b31371d 092856267
Author: Péter Szilágyi <peterke@gmail.com>
Date: Fri Feb 26 15:04:56 2021 +0200
Merge pull request #22380 from karalabe/berlin
all: define and enable the Berlin hard fork on all networks
commit 27b31371d46bc932853cce36078b28a53088b2b2
Author: Felix Lange <fjl@twurst.com>
Date: Fri Feb 26 13:40:35 2021 +0100
rpc: add separate size limit for websocket (#22385)
This makes the WebSocket message size limit independent of the
limit used for HTTP requests. The new limit for WebSocket messages
is 15MB.
commit 092856267067dd78b527a773f5b240d5c9f5693a
Author: Péter Szilágyi <peterke@gmail.com>
Date: Thu Feb 25 09:10:30 2021 +0200
all: define Berlin hard fork spec
commit dc109cce26da8a93f74a998f9dd7fc2ac0ab98d2
Author: Zsolt Felföldi <zsfelfoldi@gmail.com>
Date: Thu Feb 25 21:08:34 2021 +0100
les: move server pool to les/vflux/client (#22377)
* les: move serverPool to les/vflux/client
* les: add metrics
* les: moved ValueTracker inside ServerPool
* les: protect against node registration before server pool is started
* les/vflux/client: fixed tests
* les: make peer registration safe
commit de9465f991916e183a504ce79988c6cef544f7f1
Author: rene <41963722+renaynay@users.noreply.github.com>
Date: Thu Feb 25 18:36:01 2021 +0100
cmd/devp2p: add eth66 test suite (#22363)
Co-authored-by: Martin Holst Swende <martin@swende.se>
commit bbfb1e4008a359a8b57ec654330c0e674623e52f
Author: lightclient <14004106+lightclient@users.noreply.github.com>
Date: Thu Feb 25 07:26:57 2021 -0700
all: add support for EIP-2718, EIP-2930 transactions (#21502)
This adds support for EIP-2718 typed transactions as well as EIP-2930
access list transactions (tx type 1). These EIPs are scheduled for the
Berlin fork.
There very few changes to existing APIs in core/types, and several new APIs
to deal with access list transactions. In particular, there are two new
constructor functions for transactions: types.NewTx and types.SignNewTx.
Since the canonical encoding of typed transactions is not RLP-compatible,
Transaction now has new methods for encoding and decoding: MarshalBinary
and UnmarshalBinary.
The existing EIP-155 signer does not support the new transaction types.
All code dealing with transaction signatures should be updated to use the
newer EIP-2930 signer. To make this easier for future updates, we have
added new constructor functions for types.Signer: types.LatestSigner and
types.LatestSignerForChainID.
This change also adds support for the YoloV3 testnet.
Co-authored-by: Martin Holst Swende <martin@swende.se>
Co-authored-by: Felix Lange <fjl@twurst.com>
Co-authored-by: Ryan Schneider <ryanleeschneider@gmail.com>
commit 7a3c890009535bc3b87b01d9af19566e654be9da
Author: Gary Rong <garyrong0905@gmail.com>
Date: Thu Feb 25 21:24:04 2021 +0800
les, light: improve txstatus retrieval (#22349)
Transaction unindexing will be enabled by default as of 1.10, which causes tx status retrieval will be broken without this PR.
This PR introduces a retry mechanism in TxStatus retrieval.