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

Ignore commit_sig for aborted splice #2709

Merged
merged 1 commit into from
Jul 10, 2023
Merged

Conversation

t-bast
Copy link
Member

@t-bast t-bast commented Jul 10, 2023

After exchanging tx_complete, we validate the splice transaction before sending our commit_sig. If we consider the transaction invalid, we send tx_abort. But if our peer thinks the transaction is valid, they will send their commit_sig, which we must ignore until they've acked our tx_abort.

After exchanging `tx_complete`, we validate the splice transaction before
sending our `commit_sig`. If we consider the transaction invalid, we send
`tx_abort`. But if our peer thinks the transaction is valid, they will send
their `commit_sig`, which we must ignore until they've acked our `tx_abort`.
@t-bast t-bast requested a review from pm47 July 10, 2023 07:15
@codecov-commenter
Copy link

Codecov Report

Merging #2709 (ad273f0) into master (abf1dd3) will increase coverage by 0.00%.
The diff coverage is 100.00%.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

@@           Coverage Diff           @@
##           master    #2709   +/-   ##
=======================================
  Coverage   85.92%   85.93%           
=======================================
  Files         215      215           
  Lines       17729    17731    +2     
  Branches      753      765   +12     
=======================================
+ Hits        15234    15237    +3     
+ Misses       2495     2494    -1     
Impacted Files Coverage Δ
...in/scala/fr/acinq/eclair/channel/fsm/Channel.scala 85.99% <100.00%> (+0.18%) ⬆️

... and 6 files with indirect coverage changes

@t-bast t-bast merged commit cf46b64 into master Jul 10, 2023
1 check passed
@t-bast t-bast deleted the concurrent-tx-abort-commit-sig branch July 10, 2023 08:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants