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

Address pending dual-funding PR comments #6

Merged
merged 2 commits into from
Oct 24, 2022

Conversation

t-bast
Copy link

@t-bast t-bast commented Oct 20, 2022

This commit contains many (small) changes to address most of the pending comments:

  • removed feature dependency on anchor outputs
  • the "zerod_channel_id" created confusion, we instead explicitly detail the open and accept cases
  • "fail the negotiation" was unclear in interactive-tx
  • clarified field names in tx_signatures
  • many nits from PR comments

@morehouse, @ariard, @antonilol can you please review those changes and let me know if they correctly fix your pending comments?

This commit contains many (small) changes to address most of the pending
comments:

- removed feature dependency on anchor outputs
- the "zerod_channel_id" created confusion, we instead explicitly detail
  the open and accept cases
- "fail the negotiation" was unclear in interactive-tx
- clarified field names in `tx_signatures`
- many nits from PR comments

Thanks to @morehouse, @ariard and @antonilol for the helpful comments.
Copy link

@antonilol antonilol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lightning#851 (comment), lightning#851 (comment) and lightning#851 (comment) have been addressed correctly
(did i miss any?)

Copy link

@dunxen dunxen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These changes addressed my confusion.

Copy link

@morehouse morehouse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

02-peer-protocol.md Outdated Show resolved Hide resolved
02-peer-protocol.md Outdated Show resolved Hide resolved
02-peer-protocol.md Outdated Show resolved Hide resolved
02-peer-protocol.md Outdated Show resolved Hide resolved
02-peer-protocol.md Show resolved Hide resolved
@@ -104,7 +108,7 @@ The protocol makes the following assumptions:
- The `feerate` for the transaction is known.
- The `dust_limit` for the transaction is known.
- The `nLocktime` for the transaction is known.
- The transaction version is 2.
- The `nVersion` for the transaction is known.
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice!

- otherwise:
- MUST NOT retransmit `channel_ready`, but MAY send `channel_ready` with
a different `short_channel_id` `alias` field.
- upon reconnection:
- MUST ignore any redundant `channel_ready` it receives.
- MUST ignore any redundant `tx_signatures` it receives.
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh nice.

@niftynei
Copy link
Owner

These all lgtm. Thanks for doing this clean up work!

ACK.

Copy link

@morehouse morehouse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks Bastien!

02-peer-protocol.md Show resolved Hide resolved
@t-bast
Copy link
Author

t-bast commented Oct 24, 2022

Thanks for the review everyone, @niftynei it looks like that can be merged to your branch, and then we only have the following topics to discuss:

@niftynei niftynei merged commit be251b3 into niftynei:nifty/dual-fund Oct 24, 2022
@t-bast t-bast deleted the dual-fund-comments branch October 24, 2022 19:56
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.

5 participants