eos icon indicating copy to clipboard operation
eos copied to clipboard

Add command line option --snapshot-to-json 📦

Open heifner opened this issue 3 years ago • 2 comments

Change Description

  • Add new command line option --snapshot-to-json which reads given snapshot.bin and generates a JSON equivalent file.

Change Type

Select ONE:

  • [ ] Documentation
  • [ ] Stability bug fix
  • [x] Other
  • [ ] Other - special case

Testing Changes

Select ANY that apply:

  • [ ] New Tests
  • [ ] Existing Tests
  • [ ] Test Framework
  • [ ] CI System
  • [ ] Other

Consensus Changes

  • [ ] Consensus Changes

API Changes

  • [x] API Changes

Documentation Additions

  • [x] Documentation Additions

heifner avatar Feb 02 '22 19:02 heifner

I wonder how long this takes to run on a wax snapshot? They're huge. I can't imagine the json file.

https://snapshots.eosnation.io/

matthewdarwin avatar Feb 04 '22 15:02 matthewdarwin

I wonder how long this takes to run on a wax snapshot? They're huge. I can't imagine the json file.

https://snapshots.eosnation.io/

1hr to read WAX 21GB binary snapshot, 37 minutes to write the 59 GB JSON on my old mac.

heifner avatar Feb 04 '22 19:02 heifner