Skip to main content

Module lease_protocol

Module lease_protocol 

Source
Expand description

Apply CSCP RelayLease bytes. Custody cannot forward. Relay-only cannot export observations.

Functionsยง

apply_relay_lease
Decodes and applies a relay lease under disclosure.
charge_lease
Charge fails closed. Does not enlarge remaining_bytes.
custody_cannot_forward
Asserts a custody lease cannot forward.
encode_forced_relay_only
Encodes forced-relay-only.