consensus-shipyard/mir

Serialization of `StableCheckpoint` and `Certificate` inefficient

Opened this issue · 0 comments

According to the cbor implementors for Go, the method em, err := cbor.CoreDetEncOptions().EncMode() (used in Certificate and StableCheckpoint serializations) should be called as little as possible for performance, as done for LeaderSelectionPolicy. This must be updated in the serialize methods of StableCheckpoint.