Module ns_table

Source
Expand description

This module provides helpers for namespace table.

Constantsยง

NS_ID_BYTE_LEN ๐Ÿ”’
NS_OFFSET_BYTE_LEN ๐Ÿ”’
NUM_NSS_BYTE_LEN ๐Ÿ”’
Byte lengths for the different items that could appear in a namespace table.

Functionsยง

parse_ns_table
Helper function for AvidM scheme to parse a namespace table. If the namespace table is invalid, it returns a default single entry namespace table. For details, please refer to block/full_payload/ns_table.rs in the sequencer crate.