plugeth/cmd
Guillaume Ballet d468c333a7
cmd/{geth,utils}: add cmd to export preimages in snap enumeration order (#28256)
Adds a subcommand: `geth snapshot export-preimages`, to export preimages of every hash found during a snapshot enumeration: that is, it exports _only the active state_, and not _all_ preimages that have been used but are no longer part of the state. 

This tool is needed for the verkle transition, in order to distribute the preimages needed for the conversion. Since only the 'active' preimages are exported, the output is shrunk from ~70GB to ~4GB.

The order of the output is the order used by the snapshot enumeration, which avoids database thrashing. However, it also means that storage-slot preimages are not deduplicated.
2023-11-22 14:48:25 +01:00
..
abidump all: update license headers and AUTHORS from git history (#24947) 2022-05-24 20:39:40 +02:00
abigen cmd: run tests in parallel (#28546) 2023-11-20 10:52:14 +01:00
bootnode cmd/bootnode: fix timer leak (#27754) 2023-08-01 14:12:11 +02:00
clef cmd: run tests in parallel (#28546) 2023-11-20 10:52:14 +01:00
devp2p cmd: run tests in parallel (#28546) 2023-11-20 10:52:14 +01:00
ethkey cmd: run tests in parallel (#28546) 2023-11-20 10:52:14 +01:00
evm cmd/evm: capitalize evm commands (#28569) 2023-11-21 09:56:23 +02:00
faucet cmd: run tests in parallel (#28546) 2023-11-20 10:52:14 +01:00
geth cmd/{geth,utils}: add cmd to export preimages in snap enumeration order (#28256) 2023-11-22 14:48:25 +01:00
p2psim all: replace some cases of strings.SplitN with strings.Cut (#28446) 2023-11-15 14:42:33 +01:00
rlpdump cmd: run tests in parallel (#28546) 2023-11-20 10:52:14 +01:00
utils cmd/{geth,utils}: add cmd to export preimages in snap enumeration order (#28256) 2023-11-22 14:48:25 +01:00