plugeth/cmd/geth
lightclient bbfb1e4008
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>
2021-02-25 15:26:57 +01:00
..
testdata cmd/geth: add test to verify regexps in version check (#21962) 2020-12-09 13:59:24 +01:00
accountcmd_test.go cmd/utils: don't enumerate USB unless --usb is set (#22130) 2021-01-13 11:14:36 +01:00
accountcmd.go cmd: abstract getPassPhrase functions into one (#21219) 2020-06-30 09:56:40 +02:00
chaincmd.go cmd/utils: remove deprecated command line flags (#22263) 2021-02-24 14:07:58 +01:00
config.go eth: move eth.Config to a common package (#22205) 2021-02-05 13:51:15 +01:00
consolecmd_test.go cmd/utils: remove deprecated command line flags (#22263) 2021-02-24 14:07:58 +01:00
consolecmd.go cmd/utils: remove deprecated command line flags (#22263) 2021-02-24 14:07:58 +01:00
dao_test.go cmd/utils: don't enumerate USB unless --usb is set (#22130) 2021-01-13 11:14:36 +01:00
dbcmd.go cmd/geth: add db commands stats, compact, put, get, delete (#22014) 2021-02-23 11:27:32 +01:00
genesis_test.go cmd/utils: don't enumerate USB unless --usb is set (#22130) 2021-01-13 11:14:36 +01:00
les_test.go cmd/utils: don't enumerate USB unless --usb is set (#22130) 2021-01-13 11:14:36 +01:00
main.go all: add support for EIP-2718, EIP-2930 transactions (#21502) 2021-02-25 15:26:57 +01:00
misccmd.go core, eth: split eth package, implement snap protocol (#21482) 2020-12-14 10:27:15 +01:00
run_test.go cmd/utils: remove deprecated command line flags (#22263) 2021-02-24 14:07:58 +01:00
snapshot.go cmd/utils: remove deprecated command line flags (#22263) 2021-02-24 14:07:58 +01:00
usage.go all: add support for EIP-2718, EIP-2930 transactions (#21502) 2021-02-25 15:26:57 +01:00
version_check_test.go cmd/geth: add test to verify regexps in version check (#21962) 2020-12-09 13:59:24 +01:00
version_check.go cmd/geth: implement vulnerability check (#21859) 2020-12-04 15:01:47 +01:00