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§
- Enforcement
State - The state used by
TestChannelSigner
in order to enforce policy checks - Test
Channel Signer - 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