Expand description
Policy enforcement
Modules§
- error
- Policy errors
- filter
- Filter
- onchain_
validator - Basic policy enforcement plus on-chain validation
- simple_
validator - Basic policy enforcement
- validator
- Policy enforcement interface
Constants§
- DEFAULT_
FEE_ VELOCITY_ CONTROL - The default velocity control for L1 fees
- MAX_
CHANNELS - Default maximum number of concurrent channels
- MAX_
CLOCK_ SKEW - Allowed clock skew (e.g. from invoice issuer to us)
- MAX_
INVOICES - Default maximum number of outstanding invoices (issued and approved)
- MAX_
ONCHAIN_ TX_ SIZE - The maximum L1 transaction size
- MIN_
INVOICE_ EXPIRY - A new invoice must not expire sooner than this many seconds from now.
Traits§
- Policy
- An enforcement policy