cannon: Support binary serialisation for snapshots (#11718)
* cannon: Add serialize utils for binary formats and automatic binary/json detection. * cannon: Support reading and writing states as binary or JSON * cannon: Generate mt prestate as gzipped binary. Use different versions for singlethreaded and multithreaded states. * cannon: Improve comments for serialization * cannon: Review feedback * cannon: Introduce reader and writer helpers to simplify code.
Showing
cannon/serialize/binary.go
0 → 100644
cannon/serialize/detect.go
0 → 100644
cannon/serialize/reader.go
0 → 100644
cannon/serialize/writer.go
0 → 100644
Please register or sign in to comment