package
0.0.0-20201115164506-4b7be03191e8
Repository: https://github.com/aiblocks/go.git
Documentation: pkg.go.dev
# README
dump-ledger-state
This tool dumps the state from history archive buckets to 4 separate files:
- accounts.csv
- accountdata.csv
- offers.csv
- trustlines.csv
It's primary use is to test SingleLedgerStateReader
. To run the test (run_test.sh
) it:
- Runs
dump-ledger-state
. - Syncs aiblocks-core to the same checkpoint:
aiblocks-core catchup [ledger]/1
. - Dumps aiblocks-core DB by using
dump_core_db.sh
script. - Diffs results by using
diff_test.sh
script.