Skip to main content

Module format

Module format 

Source

Structs§

AccountData
CommodityData
DebugValueData
EntityFlags
EntityHeader
GlobalHeader
OutputHeader
SplitData
TagData
TransactionData

Enums§

ContextType
EntityType
Operation
ValueType

Constants§

ACCOUNT_DATA_SIZE
BASE_OFFSET
COMMODITY_DATA_SIZE
DEBUG_VALUE_DATA_SIZE
ENTITY_HEADER_SIZE
FORMAT_VERSION
GLOBAL_HEADER_SIZE
MAGIC_NOMI
MAGIC_OUTP
MAX_WIRE_LIST_DEPTH
Deepest list and struct nesting a script’s result may have: the guest writes a placeholder past it, so a struct holding itself ends, and the host decoder refuses it. A client reader counts every expression, so the (:id N :value V) envelope and the atom inside the innermost list take two of its levels (nomiscript::MAX_READ_DEPTH).
OUTPUT_HEADER_SIZE
SPLIT_DATA_SIZE
TAG_DATA_SIZE
TRANSACTION_DATA_SIZE