BoundedAuthorityProtocol. V1. ConsumptionEntry
(Bounded Authority Protocol v1.0.0)
Copy Markdown
View Source
Closed deterministic consumption-chain row producer input.
Fields
chain_id- the chain identity: non-empty StringOrURI of at mostidentifier_bytes(512) UTF-8 bytes.sequence- the row's positive sequence number;1starts a chain.previous_hash- the raw 32-byte hash of the preceding row; 32 zero bytes whensequenceis1.commitment- a raw 32-byte opaque commitment to the consumption record; its preimage stays private to the caller.
Summary
Types
@type t() :: %BoundedAuthorityProtocol.V1.ConsumptionEntry{ chain_id: binary(), commitment: binary(), previous_hash: binary(), sequence: pos_integer() }
Producer input for one consumption-chain row.