go-ethereum/cmd/geth
Richard Creighton 2f11dccca0
cmd/geth: respect --dev=false (#34920)
Passing `--dev=false` currently still enters the dev-mode startup path
because a couple of branches check whether the flag was set, not its
boolean value.

This switches those branches to use `ctx.Bool`, so explicit false does
not start dev mode or emit a dev genesis, while `--dev` keeps its
existing behavior.
2026-05-11 22:08:55 +08:00
..
testdata cmd/geth: remove deprecated vulnerability check command (#33498) 2025-12-30 21:04:38 +01:00
accountcmd.go
accountcmd_test.go
attach_test.go
bintrie_convert.go trie: group 2^N binary trie nodes in serialization (#34794) 2026-05-01 15:28:19 +02:00
bintrie_convert_test.go trie: group 2^N binary trie nodes in serialization (#34794) 2026-05-01 15:28:19 +02:00
chaincmd.go cmd/geth: respect --dev=false (#34920) 2026-05-11 22:08:55 +08:00
chaincmd_test.go
config.go cmd/geth: respect --dev=false (#34920) 2026-05-11 22:08:55 +08:00
consolecmd.go
consolecmd_test.go eth/catalyst: implement testing_buildBlockV1 (#33656) 2026-02-23 15:56:31 +01:00
dbcmd.go cmd/geth: add code exporter for db export (#34696) 2026-04-17 09:53:00 +08:00
exportcmd_test.go
genesis_test.go
logging_test.go .github: run tests with ci.go (#32590) 2025-09-11 20:15:51 +02:00
logtestcmd_active.go
logtestcmd_inactive.go
main.go eth,node: replace the deprecated TypeMux with Feed (#32585) 2026-05-08 10:12:46 +08:00
misccmd.go cmd/geth: remove deprecated vulnerability check command (#33498) 2025-12-30 21:04:38 +01:00
run_test.go
snapshot.go cmd/geth, core/state, tests: rework EIP7610 check (#34718) 2026-04-14 15:54:36 +02:00