plugeth/cmd/geth
Sina Mahmoodi 4aab440ee2
core/rawdb: enforce readonly in freezer instantiation (#24119)
* freezer: add readonly flag to table

* freezer: enforce readonly in table repair

* freezer: enforce readonly in newFreezer

* minor fix

* minor

* core/rawdb: test that writing during readonly fails

* rm unused log

* check readonly on batch append

* minor

* Revert "check readonly on batch append"

This reverts commit 2ddb5ec4ba7534bf6edbdfec158ea99a2eed5036.

* review fixes

* minor test refactor

* attempt at fixing windows issue

* add comment re windows sync issue

* k->kind

* open readonly db for genesis check

Co-authored-by: Martin Holst Swende <martin@swende.se>
2022-01-18 11:29:38 +02:00
..
testdata cmd/geth: update vulnerability testdata (#23252) 2021-07-27 16:19:48 +02: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 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 eth/catalyst: implement kintsugi spec v1.0.0-alpha.4 (#23984) 2021-12-03 16:26:28 +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: enforce readonly in freezer instantiation (#24119) 2022-01-18 11:29:38 +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 cmd/geth: update copyright year (#24224) 2022-01-11 22:34:53 +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 trie, core, eth: use db.has over db.get where possible 2021-12-15 16:16:45 +01:00
usage.go cmd/geth: add flag --dev.gaslimit for dev mode (#23686) 2021-11-16 13:45:02 +01: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