go-ethereum/cmd/geth
Sina Mahmoodi fd4f60f49b
core/rawdb: simple legacy receipt converter (#24028)
* cmd,core: add simple legacy receipt converter

core/rawdb: use forEach in migrate

core/rawdb: batch reads in forEach

core/rawdb: make forEach anonymous fn

cmd/geth: check for legacy receipts on node startup

fix err msg

Co-authored-by: rjl493456442 <garyrong0905@gmail.com>

fix log

Co-authored-by: rjl493456442 <garyrong0905@gmail.com>

fix some review comments

add warning to cmd

drop isLegacy fn from migrateTable params

add test for windows rename

test replacing in windows case

* minor fix

* sanity check for tail-deletion

* add log before moving files around

* speed-up hack for mainnet

* fix mainnet check, use networkid instead

* check mainnet genesis

* review fixes

* resume previous migration attempt

* core/rawdb: lint fix

Co-authored-by: Martin Holst Swende <martin@swende.se>
2022-03-23 20:57:32 +01:00
..
testdata cmd/geth: update vulnerability testdata (#23252) 2021-07-27 16:19:48 +02:00
accountcmd_test.go cmd/geth: make test pass on a pi4 by using lightkdf (#24314) 2022-01-31 09:50:10 +01:00
accountcmd.go node: remove dependency on wallet backend packages (#23019) 2021-08-25 22:34:22 +02:00
chaincmd.go cmd/geth: add support for sepolia testnet (#23730) 2021-11-08 13:06:01 +02:00
config.go core/rawdb: simple legacy receipt converter (#24028) 2022-03-23 20:57:32 +01:00
consolecmd_test.go console: add note about typing exit to exit (#23602) 2021-09-21 11:19:46 +03:00
consolecmd.go cmd/geth, console: support interrupting the js console (#23387) 2021-12-11 16:51:05 +01:00
dao_test.go all: add read-only option to database (#22407) 2021-03-22 19:06:30 +01:00
dbcmd.go core/rawdb: simple legacy receipt converter (#24028) 2022-03-23 20:57:32 +01:00
genesis_test.go cmd/utils: avoid large alloc in --dev mode (#22949) 2021-05-27 10:13:35 +02:00
les_test.go cmd/geth: fix IPC probe in les test (#23094) 2021-06-25 12:40:37 +02:00
main.go core, params: add kiln flag (#24548) 2022-03-17 17:34:22 +02: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 core/rawdb: add HasCode, HashTrieNode and use them where possible (#24454) 2022-03-09 00:39:34 +01:00
usage.go core, params: add kiln flag (#24548) 2022-03-17 17:34:22 +02:00
version_check_test.go cmd/geth: add tests for version_check (#24169) 2022-01-11 10:39:04 +01:00
version_check.go cmd/geth: implement vulnerability check (#21859) 2020-12-04 15:01:47 +01:00