Using Geth, how can I extract a snapshot of the network state for a given block?
My Geth node runs a full sync (~300 gb) which means the state trie should already be saved down. I've tried accessing the leveldb database directly, but it's mixed together with the blockchain in the chaindata folder so it's not clear what the structure is.
I've also tried using the web3 dumpBlock method, which works in theory, but it takes way too long to be practically usable (hours).
Is there an another API method that can access the state trie faster? Any documentation on how the database in the chaindata folder is organized?