-
Notifications
You must be signed in to change notification settings - Fork 1
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
Conversation
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.
There was a problem hiding this 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?)
There was a problem hiding this 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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Resolves:
- https://github.com/lightning/bolts/pull/851/files#r942616721
- https://github.com/lightning/bolts/pull/851/files#r942670934
- https://github.com/lightning/bolts/pull/851/files#r942659587
- https://github.com/lightning/bolts/pull/851/files#r942706545
- https://github.com/lightning/bolts/pull/851/files#r942708055
- https://github.com/lightning/bolts/pull/851/files#r995914511
- https://github.com/lightning/bolts/pull/851/files#r942734915
- https://github.com/lightning/bolts/pull/851/files#r942737449
- https://github.com/lightning/bolts/pull/851/files#r942743799
- https://github.com/lightning/bolts/pull/851/files#r942821495
- https://github.com/lightning/bolts/pull/851/files#r996075935
- https://github.com/lightning/bolts/pull/851/files#r942757949
- https://github.com/lightning/bolts/pull/851/files#r942612070
- https://github.com/lightning/bolts/pull/851/files#r993760043
- https://github.com/lightning/bolts/pull/851/files#r995981535
- https://github.com/lightning/bolts/pull/851/files#r942565571
- https://github.com/lightning/bolts/pull/851/files#r942786939
- https://github.com/lightning/bolts/pull/851/files#r942781774
- https://github.com/lightning/bolts/pull/851/files#r942789866
Changes requested to address:
@@ -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. |
There was a problem hiding this comment.
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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh nice.
These all lgtm. Thanks for doing this clean up work! ACK. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks Bastien!
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:
|
This commit contains many (small) changes to address most of the pending comments:
tx_signatures
@morehouse, @ariard, @antonilol can you please review those changes and let me know if they correctly fix your pending comments?