Skip to main content

Module attestation

Module attestation 

Source

Structs§

AttestationEntry
A record other than Valid, certified in the checkpoint summary at its transaction’s position in the checkpoint contents.
AttestationRecord
The validator’s verdict on an attested, executed transaction, certified in the checkpoint summary unless Valid.
AttestationTotals
Per-attestor totals of refuted attestations for the epoch so far, certified in every checkpoint summary. An attestor without refuted attestations has no entry.
AttestedTransaction
A user transaction bundled with its attestation. This is the inner payload of ConsensusTransactionKind::UserTransactionV1.

Enums§

Attestation
A pre-consensus claim produced by a trusted actor certifying that a specific transaction has been validated before entering consensus. The attestation is a separate artifact that travels alongside the transaction; the transaction and the user’s signature are completely unchanged.
AttestationData
The attested content carried by every Attestation variant.
AttestationVerdict
The verdict on an attested, executed transaction. The variant order is protocol-significant: append, never reorder.

Functions§

computation_units
The computation cost of gas_cost_summary in gas units, independent of the gas price the transaction paid. Rounds down, and is zero when gas_price is zero.