snarkVM icon indicating copy to clipboard operation
snarkVM copied to clipboard

Introduce compact block headers

Open raychu86 opened this issue 2 years ago • 1 comments

Motivation

This PR introduces CompactBatchHeader, CompactBatchCertificate, and CompactSubdag by updating the vec of transmission ids in the batch header into a vec of index references. This is safe, because these references point to transactions, ratifications, and solutions that should already be included in the block. This will help reduce the block size by 1 TransmissionID (32 bytes) per transmission.

raychu86 avatar Sep 19 '23 19:09 raychu86

Doh, did not see this already existed, linking related PR trying to do the same thing: https://github.com/AleoNet/snarkVM/pull/2304

vicsn avatar Aug 30 '24 13:08 vicsn