Skip to main content

@midnight/ledger v3.0.2Readme | API


@midnight/ledger v3.0.2 / WellFormedStrictness

Class: WellFormedStrictness

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

Constructors

new WellFormedStrictness()

new WellFormedStrictness(): WellFormedStrictness

Returns

WellFormedStrictness

Properties

enforceBalancing

enforceBalancing: boolean;

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


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