Module validator

Source
Expand description

Policy enforcement interface

Structs§

BalanceDelta
Claimable balance before and after a new commitment tx, in satoshi
ChainState
Blockchain state used by the validator
CommitmentSignatures
Signatures for a commitment transaction
CounterpartyCommitmentSecrets
Copied from LDK because we need to serialize it
EnforcementState
Enforcement state for a channel

Traits§

Validator
A policy checker
ValidatorFactory
A factory for validators

Functions§

validate_block
Validate a block and a TXOO proof for spent/unspent watched outputs