• Mark Tyneway's avatar
    dtl: enable typed batch support · 3873b696
    Mark Tyneway authored
    The data transport layer will now be able to index
    typed batches. A typed batch has the first batch context
    have a timestamp of 0 and the blocknumber is used as an
    enum to determine the type of the batch.
    
    It is not possible to have a timestamp of 0 in realistic
    conditions. Batches that have a non zero timestamp
    as the first batch context are considered a legacy batch.
    
    The first typed batch is type 0 where the blocknumber is 0
    and the transaction data is compressed with zlib.
    3873b696
0x4c6d86eff88ebc2a32b265fb1f50d9265b9c6ee3ecee296e77f73dc80bf14d6f.txt 242 KB