go-ethereum/cmd/geth
Abdul Rabbani fc341a90fc ** Write to file if you can't write to DB
This commit contains many new features:

1. Write the insert statement to file if there is an error when trying to write to DB.
2. Test the write to DB and write to file features in unit tests. They work as expected.
3. Insert logic for calling the knownGaps function (untested).

This PR makes a major change to the way statediff is started. Unless it is started in `file` mode, it will create a `file` indexer. This indexer will be used for writing errors to disk.
2022-03-28 15:00:29 -04: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 ** Write to file if you can't write to DB 2022-03-28 15:00:29 -04: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 cmd/geth: add db cmd to show metadata (#23900) 2022-01-18 12:30:41 +02: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 Add a flag to start processing statediff if we are caught up to the head of the chain 2022-03-16 15:04:31 -04: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 trie, core, eth: use db.has over db.get where possible 2021-12-15 16:16:45 +01:00
usage.go Add a flag to start processing statediff if we are caught up to the head of the chain 2022-03-16 15:04:31 -04: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