core/state, cmd/geth: streaming json output for dump command (#15475)
* core/state, cmd/geth: streaming json output dump cmd + optional code+storage * dump: add option to continue even if preimages are missing * core, evm: lint nits * cmd: use local flags for dump, omit empty code/storage * core/state: fix state dump test
This commit is contained in:
committed by
Péter Szilágyi
parent
e4a1488b2f
commit
1da5e0ebb0
@ -196,6 +196,22 @@ var (
|
||||
Name: "ulc.trusted",
|
||||
Usage: "List of trusted ULC servers",
|
||||
}
|
||||
IterativeOutputFlag = cli.BoolFlag{
|
||||
Name: "iterative",
|
||||
Usage: "Print streaming JSON iteratively, delimited by newlines",
|
||||
}
|
||||
ExcludeStorageFlag = cli.BoolFlag{
|
||||
Name: "nostorage",
|
||||
Usage: "Exclude storage entries (save db lookups)",
|
||||
}
|
||||
IncludeIncompletesFlag = cli.BoolFlag{
|
||||
Name: "incompletes",
|
||||
Usage: "Include accounts for which we don't have the address (missing preimage)",
|
||||
}
|
||||
ExcludeCodeFlag = cli.BoolFlag{
|
||||
Name: "nocode",
|
||||
Usage: "Exclude contract code (save db lookups)",
|
||||
}
|
||||
defaultSyncMode = eth.DefaultConfig.SyncMode
|
||||
SyncModeFlag = TextMarshalerFlag{
|
||||
Name: "syncmode",
|
||||
|
Reference in New Issue
Block a user