Skip to content

Commit 531cca6

Browse files
carlaKCarik-soa-mpch
committed
ln: enforce trampoline onion constraints
We add a `check_trampoline_constraints` similar to `check_blinded_path_constraints` that compares the Trampoline onion's amount and CLTV values to the limitations imposed by the outer onion. Tests are added to cover validation of blinded and unblinded trampoline payloads against their outer onion. These are consolidated with our existing coverage for successful receives. Co-authored-by: Arik Sosman <git@arik.io> Co-authored-by: Maurice Poirrier <mpch@hey.com>
1 parent 269eb6b commit 531cca6

4 files changed

Lines changed: 391 additions & 108 deletions

File tree

0 commit comments

Comments
 (0)