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

File tree

4 files changed

+391
-108
lines changed

4 files changed

+391
-108
lines changed

0 commit comments

Comments
 (0)