Module policy

Source
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