Skip to content

Epoch Allocation And Scoping

Jonathan Lifflander edited this page Jan 12, 2021 · 14 revisions

The current epoch allocation/bit layout follows this pattern:

Basic epoch Layout:

   w-1 .............. w-h-1 ...............w-h-c-1 ....................0
   | <EpochHeader> ... | <EpochCategory> ... | <Sequential Epoch ID>   |

       where     h = epoch_header_num_bits,
                 c = epoch_category_num_bits,
                 w = sizeof(EpochType) * 8
                 
  
Rooted epoch breakdown:                   w-h-c-1      w-h-c-n-1       0
                                             ^             ^           ^
                                             | .... n .... | ..........|
                                               <NodeType>  <SeqEpochID>
      where      n = sizeof(NodeType)