Commit Graph

13833 Commits

Author SHA1 Message Date
Martin Holst Swende
bb9f9ccf4f
core/rawdb: wait for background freezing to exit when closing freezer (#22878) 2021-05-18 01:30:01 +02:00
Martin Holst Swende
67e7f61af7
core: fix failing tests (#22888)
This PR fixes two errors that regressed when EIP-1559 was merged.
2021-05-18 01:10:28 +02:00
Martin Holst Swende
94451c2788
all: implement EIP-1559 (#22837)
This is the initial implementation of EIP-1559 in packages core/types and core.
Mining, RPC, etc. will be added in subsequent commits.

Co-authored-by: Marius van der Wijden <m.vanderwijden@live.de>
Co-authored-by: lightclient@protonmail.com <lightclient@protonmail.com>
Co-authored-by: Felix Lange <fjl@twurst.com>
2021-05-17 15:13:22 +02:00
fudongbai
1f3e0606ee use more aggressive write cache policy 2021-05-17 19:32:39 +08:00
Martin Holst Swende
14bc6e5130
consensus/ethash: change eip3554 from 9.5M to 9.7M (#22870) 2021-05-17 10:49:23 +02:00
lightclient
597ecb39cc
cmd/evm: return json error if unmarshalling from stdin fails (#22871)
* cmd/evm: return json error if unmarshalling from stdin fails

* cmd/evm: make error capitalizations uniform (all lowercase starts)

* cmd/evm: capitalize error sent directly to stderror
2021-05-17 08:52:32 +02:00
Martin Holst Swende
addd8824cf
cmd/geth, eth, core: snapshot dump + unify with trie dump (#22795)
* cmd/geth, eth, core: snapshot dump + unify with trie dump

* cmd/evm: dump API fixes

* cmd/geth, core, eth: fix some remaining errors

* cmd/evm: dump - add limit, support address startkey, address review concerns

* cmd, core/state, eth: minor polishes, fix snap dump crash, unify format

Co-authored-by: Péter Szilágyi <peterke@gmail.com>
2021-05-12 11:05:39 +03:00
Péter Szilágyi
1cca781a02
Merge pull request #22840 from holiman/eip_3554
consensus/ethash: implement EIP-3554 (bomb delay)
2021-05-12 10:19:08 +03:00
Guillaume Ballet
a2c456a526
core: ensure a broken trie invariant crashes genesis creation (#22780)
* Ensure state could be created in ToBlock

* Fix rebase errors

* use a panic instead
2021-05-11 18:12:10 +03:00
Péter Szilágyi
f34f749e81
Merge pull request #22857 from karalabe/tracer-stack-fix-2
eth/tracers: do the JSON serialization via .js to capture C faults
2021-05-11 17:21:04 +03:00
Péter Szilágyi
0524cede37
eth/tracers: do the JSON serialization via .js to capture C faults 2021-05-11 16:23:54 +03:00
Ryan Schneider
ca98080798
cmd/geth, eth/gasprice: add configurable threshold to gas price oracle (#22752)
This adds a cmd line parameter `--gpo.ignoreprice`, to make the gas price oracle ignore transactions below the given threshold.
2021-05-11 11:25:51 +02:00
Felix Lange
643fd0efc6
core/types: remove support for legacy receipt/log storage encoding (#22852)
* core/types: remove support for legacy receipt storage encoding

* core/types: remove support for legacy log storage encoding
2021-05-11 11:43:35 +03:00
Felix Lange
e536bb52ff
eth/protocols/snap: adapt to uint256 API changes (#22851) 2021-05-10 13:35:07 +02:00
Felix Lange
c0e201b690
eth/protocols/eth, les: avoid Raw() when decoding HashOrNumber (#22841)
Getting the raw value is not necessary to decode this type, and
decoding it directly from the stream is faster.
2021-05-10 12:38:54 +02:00
Martin Holst Swende
ae5fcdc67f
go.mod: upgrade to github.com/holiman/uint256 v1.2.0 (#22745) 2021-05-10 12:29:33 +02:00
Ceelog
f19a679b09
cmd/geth: remove reference to monitor command (#22844)
'geth monitor' subcommand is no longer supported.
2021-05-10 12:19:32 +02:00
Marius Kjærstad
7ab7acfded
build: upgrade -dlgo version to Go 1.16.4 (#22848) 2021-05-10 12:18:42 +02:00
zjubfd
032970b2de
Merge pull request #152 from binance-chain/upgrade_1.10.2
[R4R] Upgrade to 1.10.3
v1.1.0-beta
2021-05-10 17:11:01 +08:00
fudongbai
3ab97c2a83 disable log of snap update 2021-05-10 17:10:11 +08:00
fudongbai
5a1338f93f change log to debug when gas limti exceet 25M 2021-05-10 16:31:58 +08:00
fudongbai
75447df58d update hardware requirement 2021-05-10 15:49:17 +08:00
yutianwu
9188475be1 update version 2021-05-10 15:27:05 +08:00
yutianwu
d33134439e fix conflicts 2021-05-08 10:27:56 +08:00
zjubfd
e3c241a049
Merge pull request #196 from binance-chain/release_v1.0.7-hf.2
[R4R]prepare release  v1.0.7-hf.2
v1.0.7-hf.2
2021-05-08 10:11:43 +08:00
fudongbai
ce7fc00b8a prepare release v1.0.7-hf.2 2021-05-08 08:36:37 +08:00
zjubfd
5cbe77fada
Merge pull request #194 from binance-chain/btcd_v0.20.1-beta
[R4R]bump btcd to v0.20.1-beta
2021-05-08 00:09:01 +08:00
fudongbai
1d0fe2a924 bump btcd to v0.20.1-beta 2021-05-08 00:04:14 +08:00
Felix Lange
700df1442d
rlp: add support for optional struct fields (#22832)
This adds support for a new struct tag "optional". Using this tag, structs used
for RLP encoding/decoding can be extended in a backwards-compatible way,
by adding new fields at the end.
2021-05-07 14:37:13 +02:00
Martin Holst Swende
17b1be2661
consensus/ethash: implement EIP-3554 (bomb delay) 2021-05-07 14:04:54 +02:00
yutianwu
a4bb482a74 bump version to 1.1.0 2021-05-07 18:41:10 +08:00
zjubfd
60035da613
Merge pull request #192 from binance-chain/release_1.0.7-hf.1
[R4r]prepare for release v1.0.7-hf.1
v1.0.7-hf.1
2021-05-07 18:31:53 +08:00
fudongbai
552207ed9a prepare for release v1.0.7-hf.1 2021-05-07 18:00:29 +08:00
Martin Holst Swende
8a070e8f7d
consensus/clique: add some missing checks (#22836) 2021-05-07 10:31:01 +02:00
yutianwu
3ddedad500 fix comments 2021-05-07 14:31:06 +08:00
Martin Holst Swende
a5669ae292
core, params: implement EIP-3529 (#22733)
* core, params: implement EIP-3529

* core/vm: add london instructionset

* core/vm: add method doc for EIP enabler

Co-authored-by: Péter Szilágyi <peterke@gmail.com>
2021-05-07 09:25:32 +03:00
yutianwu
f3ad96d46a fix conflicts 2021-05-07 13:55:21 +08:00
Péter Szilágyi
e77ef8fa8a
Merge pull request #22809 from holiman/alt_3541
core: implement EIP-3541
2021-05-07 08:19:21 +03:00
zjubfd
8362792981
Merge pull request #191 from binance-chain/stuck_issue
[R4R]fix the reorg routine stuck issue
2021-05-07 11:32:00 +08:00
fudongbai
f7d69f2ac1 fix the reorg routine stuck issue 2021-05-07 11:04:31 +08:00
zjubfd
68bde410b7
Merge pull request #190 from binance-chain/disk_increase_fix
[R4R]fix disk increase dramaticly issue
2021-05-07 10:57:23 +08:00
fudongbai
744dfd61ad fix disk increase dramaticly issue 2021-05-07 10:48:48 +08:00
Paweł Bylica
e69130d9f1
core/vm, params: implement EIP 3541 2021-05-06 11:28:46 +02:00
Martin Holst Swende
cc606be74c
all: define London+baikal, undefine yolov3, add london override flag (#22822)
* all: define London+baikal, undefine yolov3, add london override flag

* cmd, core, params: add baikal genesis definition
2021-05-06 12:07:42 +03:00
Evgeny Danilenko
df20b3b982
core/vm: avoid duplicate log in json logger (#22825) 2021-05-06 10:46:27 +02:00
zjubfd
031607200a
Merge pull request #186 from binance-chain/upgrade_tmp
[R4R] make prune tool available
2021-05-06 12:00:34 +08:00
zjubfd
260518917a
Merge pull request #187 from binance-chain/upgrade_1.10.3
Upgrade 1.10.3
2021-05-06 11:56:26 +08:00
yutianwu
334b6adf14 fix conflicts 2021-05-06 09:26:06 +08:00
Felix Lange
37b5595456 params: begin v1.10.4 release cycle 2021-05-05 13:21:13 +02:00
Felix Lange
991384a7f6 params: go-ethereum v1.10.3 stable 2021-05-05 13:20:06 +02:00