Block.ts
Block overview
Table of contents
model
BlockClass (class)
Block based on Conway CDDL specification
CDDL: block =
[ header
, transaction_bodies : [* transaction_body]
, transaction_witness_sets : [* transaction_witness_set]
, auxiliary_data_set : {* transaction_index => auxiliary_data}
, invalid_transactions : [* transaction_index]
]Valid blocks must also satisfy the following two constraints:
- the length of transaction_bodies and transaction_witness_sets must be the same
- every transaction_index must be strictly smaller than the length of transaction_bodies
Signature
export declare class BlockClassAdded in v2.0.0
utils
Block (type alias)
Signature
export type Block = Schema.Schema.Type<typeof BlockClass>