namespace
allegraAllegra era ledger types.
Classes
- struct Block
- A block block = [ header , transaction_bodies : [* transaction_body] , transaction_witness_sets : [* transaction_witness_set] , transaction_metadata_set : { * transaction_index => transaction_metadata } ]; Valid blocks must also satisfy the following two constraints: ; 1) the length of transaction_bodies and transaction_witness_sets ; must be the same ; 2) every transaction_index must be strictly smaller than the ; length of transaction_bodies.
- struct InvalidBefore
- invalid_before = (4, uint)
- struct InvalidHereafter
- invalid_hereafter = (5, uint)
- struct ProtocolVersion
- Represent the protocol version. The CDDL description is: next_major_protocol_version = 5 major_protocol_version = 1..next_major_protocol_version protocol_version = (major_protocol_version, uint)
- struct ScriptAll
- script_all = (1, [ * native_script ])
- struct ScriptAny
- script_any = (2, [ * native_script ])
- struct ScriptNofK
- script_n_of_k = (3, n: uint, [ * native_script ])
- struct ScriptPubkey
- script_pubkey = (0, addr_keyhash)
- struct Transaction
- A transaction transaction = [ transaction_body , transaction_witness_set , auxiliary_data / null ].