Skip to main content

WellFormedStrictness

@midnight/ledger v7.0.0


@midnight/ledger / WellFormedStrictness

Class: WellFormedStrictness

Strictness criteria for evaluating transaction well-formedness, used for disabling parts of transaction validation for testing.

Constructors

Constructor

new WellFormedStrictness(): WellFormedStrictness;

Returns

WellFormedStrictness

Properties

enforceBalancing

enforceBalancing: boolean;

Whether to require the transaction to have a non-negative balance


enforceLimits

enforceLimits: boolean;

Whether to enforce the transaction byte limit


verifyContractProofs

verifyContractProofs: boolean;

Whether to validate contract proofs in the transaction


verifyNativeProofs

verifyNativeProofs: boolean;

Whether to validate Midnight-native (non-contract) proofs in the transaction


verifySignatures

verifySignatures: boolean;

Whether to enforce the signature verification