Trait fuel_tx::Checkable

source ·
pub trait Checkable {
    fn check_signatures(&self) -> Result<(), CheckError>;
    fn check_without_signatures(
        &self,
        block_height: Word,
        parameters: &ConsensusParameters
    ) -> Result<(), CheckError>; fn check(
        &self,
        block_height: Word,
        parameters: &ConsensusParameters
    ) -> Result<(), CheckError> { ... } }
Expand description

Means that the transaction can be validated.

Required Methods

Validates that all required signatures are set in the transaction and that they are valid.

Validates the transactions according to rules from the specification: https://github.com/FuelLabs/fuel-specs/blob/master/specs/protocol/tx_format.md#transaction

Provided Methods

Fully validates the transaction. It checks the validity of fields according to rules in the specification and validity of signatures.

Implementors