Skip to main content

WellFormedStrictness

For the complete documentation index, see llms.txt

@midnight/ledger v8.0.3


@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