Skip to content

Commit b43670e

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 <[email protected]> Co-authored-by: Maurice Poirrier <[email protected]>
1 parent a05f2d2 commit b43670e

File tree

4 files changed

+391
-108
lines changed

4 files changed

+391
-108
lines changed

0 commit comments

Comments
 (0)