Decaying covenant. Like RECURSE_MODIFIED but with negated deltas — targeted parameters decrease on each spend. Creates diminishing restriction curves where covenant parameters weaken over successive spends. No Tapscript equivalent.
RecursionInvertible
Ladder Diagram
Fields
Field
Data Type
Size
Side
Description
max_depth
NUMERIC
1-4 B
Conditions
Maximum recursion depth (> 0). Bounds the chain of decaying spends.
block_idx
NUMERIC
1-4 B
Conditions
Target block index within rung 0 (legacy) or per-mutation target (new format).
param_idx
NUMERIC
1-4 B
Conditions
Target parameter index within the block.
delta
NUMERIC
1-4 B
Conditions
Decay amount. Negated before applying: effective change is -delta per spend.
Field layout matches RECURSE_MODIFIED exactly. Both legacy (4 NUMERICs, rung 0 implicit) and new (2 + 4N NUMERICs) formats are supported. The only difference is that delta is negated before application.
Legacy format: max_depth=20, target rung 0 (implicit) block 2 param 0, delta=10 (decreases by 10 per spend). After 20 spends the depth limit is reached.
Use Cases
Diminishing Restrictions
Security restrictions that progressively relax over time. A new wallet might require a 144-block CSV delay that decreases by 6 blocks per spend, gradually increasing spending flexibility as trust is established.
Progressive Unlocking
A multisig threshold that decays from 3-of-5 toward 1-of-5 over successive spends. Early spends require strong quorum; later spends allow single-signer control as the covenant matures.
Decay Curves for Time-Value
A RELATIVE_VALUE ratio parameter that decays each spend, allowing progressively larger fee extraction. Initial spends preserve 99% of value; after N decay steps, preservation drops to 90%, creating a controlled value release schedule.