-
Notifications
You must be signed in to change notification settings - Fork 267
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor trampoline-to-legacy payments (#2948)
We refactor trampoline-to-legacy payments to use a dedicated class, like what we do for trampoline-to-blinded-paths payments. This allows us to supports two encodings for those payments: - one where the trampoline onion contains a dummy payload for the recipient that must be ignored (current Phoenix wallets), which wastes space in the onion for legacy reasons - one where we don't include a dummy payload for the recipient, which is more efficient and similar to trampoline-to-blinded-paths
- Loading branch information
Showing
7 changed files
with
168 additions
and
96 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.