ACINQ / eclair

A scala implementation of the Lightning Network.
Apache License 2.0
1.24k stars 266 forks source link

Remove backwards-compatibility with 400-bytes payloads #2812

Closed t-bast closed 10 months ago

t-bast commented 10 months ago

We don't need to keep creating 400-bytes trampoline payloads, as nobody is using eclair to send trampoline payments, only to relay them, and at that stage it is backwards-compatible to support smaller and bigger onion sizes.

The diff seems large, but it actually mostly undoes some of the changes made in #2810: the diff with master will end up smaller.

NB: this PR targets the variable-size-trampoline branch used in #2810