Kindelia icon indicating copy to clipboard operation
Kindelia copied to clipboard

2 bits for serialization of statement tag

Open racs4 opened this issue 2 years ago • 1 comments

Decreases serialization of statement type in 2 bits

racs4 avatar Oct 07 '22 12:10 racs4

This has the clear benefit of saving block space. But also leaves no space for a backwards-compatible way to add a new statement type (in a fork) as the current 4 statement types would fill exactly the 2 bits.

steinerkelvin avatar Oct 07 '22 13:10 steinerkelvin