Module test_channel_signer

Expand description

impls of traits that add exra enforcement on the way they’re called. Useful for detecting state machine errors and used in fuzz targets and tests.

Structs§

EnforcementState
The state used by TestChannelSigner in order to enforce policy checks
TestChannelSigner
An implementation of Sign that enforces some policy checks. The current checks are an incomplete set. They include:

Constants§

INITIAL_REVOKED_COMMITMENT_NUMBER
Initial value for revoked commitment downward counter