Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update trampoline to use official spec values #2819

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

t-bast
Copy link
Member

@t-bast t-bast commented Feb 7, 2024

Use the feature bit and tlvs defined in the official spec PR (lightning/bolts#836). Add support for the spec test vector.

This PR is incomplete: we also need to actually use the official feature bit (in conjunction with the experimental one) and integrate the onion errors defined by lightning/bolts#836. We also need to think about backwards-compatibility when relaying trampoline payments to older Phoenix nodes (we should write the trampoline TLV with the old tag).

@codecov-commenter
Copy link

Codecov Report

Attention: 4 lines in your changes are missing coverage. Please review.

Comparison is base (e66e6d2) 85.86% compared to head (ee178c7) 85.96%.
Report is 2 commits behind head on master.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2819      +/-   ##
==========================================
+ Coverage   85.86%   85.96%   +0.09%     
==========================================
  Files         216      217       +1     
  Lines       18228    18256      +28     
  Branches      772      778       +6     
==========================================
+ Hits        15652    15694      +42     
+ Misses       2576     2562      -14     
Files Coverage Δ
...core/src/main/scala/fr/acinq/eclair/Features.scala 100.00% <100.00%> (ø)
...re/src/main/scala/fr/acinq/eclair/NodeParams.scala 93.41% <100.00%> (+0.02%) ⬆️
...r/acinq/eclair/blockchain/fee/OnChainFeeConf.scala 95.00% <ø> (ø)
...q/eclair/channel/publish/ReplaceableTxFunder.scala 85.56% <100.00%> (+0.59%) ⬆️
.../scala/fr/acinq/eclair/payment/PaymentPacket.scala 91.45% <100.00%> (+1.27%) ⬆️
...la/fr/acinq/eclair/payment/relay/NodeRelayer.scala 100.00% <100.00%> (ø)
.../scala/fr/acinq/eclair/payment/relay/Relayer.scala 89.13% <100.00%> (ø)
...air/payment/send/CompactBlindedPathsResolver.scala 100.00% <100.00%> (ø)
...scala/fr/acinq/eclair/payment/send/Recipient.scala 98.63% <100.00%> (+2.79%) ⬆️
...a/fr/acinq/eclair/wire/protocol/PaymentOnion.scala 99.37% <100.00%> (+3.82%) ⬆️
... and 4 more

... and 4 files with indirect coverage changes

Use the feature bit and tlvs defined in the official spec PR
(lightning/bolts#836). Add support
for the spec test vector.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants