Skip to content

Commit c82a0d1

Browse files
authored
Merge pull request #10901 from SomberNight/202608_trampoline_drawings
trampoline: add links to t-bast's drawings
2 parents b952a6d + 462d96a commit c82a0d1

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

electrum/trampoline.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
# Copyright (C) 2021-2026 The Electrum developers
2+
# Distributed under the MIT software license, see the accompanying
3+
# file LICENCE or http://www.opensource.org/licenses/mit-license.php
4+
#
5+
# To understand the intricacies of inner/outer onions and what values they contain,
6+
# see t-bast's magnificent ASCII drawings:
7+
# - end-to-end trampoline payments (ref https://github.com/lightning/bolts/pull/829)
8+
# https://github.com/lightning/bolts/blob/bc7a1a0bc97b2293e7f43dd8a06529e5fdcf7cd2/proposals/trampoline.md?plain=1#L609
9+
# - pay-to-legacy payments:
10+
# https://github.com/ACINQ/eclair/blob/407b330f0405e8766fdc2dbcd701982f37e5c489/eclair-core/src/main/scala/fr/acinq/eclair/wire/Onion.scala#L88
11+
112
import io
213
import os
314
import random

0 commit comments

Comments
 (0)