There was an error while loading. Please reload this page.
2 parents b952a6d + 462d96a commit c82a0d1Copy full SHA for c82a0d1
1 file changed
electrum/trampoline.py
@@ -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
+
12
import io
13
import os
14
import random
0 commit comments