jamescowens / Gridcoin-Research

Gridcoin-Research
MIT License
2 stars 0 forks source link

Superblock (de)serialization using internal mechanisms. #18

Closed denravonska closed 5 years ago

denravonska commented 5 years ago

We currently use a homebrew, Gridcoin specific format for superblocks which mix tagged syntax with binary data. This format is cumbersome to use and it does not leverage existing serialization mechanisms.

We should replace all the contents in Pack/UnpackBinarySuperblock with serialization of classes using the functions in serialize.h. This has several benefits:

This may be a future issue as it changes the format of the superblocks and will require a mandatory.

denravonska commented 5 years ago

Moved to main repo.