-
Notifications
You must be signed in to change notification settings - Fork 906
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
msggen: add low level fundchannel methods #7231
msggen: add low level fundchannel methods #7231
Conversation
Notice that i changed the |
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.
Just a small issue with the change in denomination in the schema (it's sat
whenever on-chain is involved, and msat
otherwise).
@@ -22,7 +22,7 @@ | |||
] | |||
}, | |||
"amount": { | |||
"type": "sat", | |||
"type": "msat", |
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.
This change is wrong:
amount is the satoshi value that we will contribute to the channel.
This value will be added to the provided PSBT in the output which is
encumbered by the 2-of-2 script for this channel.
91807e6
to
9bdc515
Compare
rebased on #7238 |
9bdc515
to
342e0b2
Compare
This was a clean rebase, I'll merge asap. |
The sat
vs msat
discussion predates this PR.
342e0b2
to
2a8a5f4
Compare
Rebased on top of |
Changelog-None
2a8a5f4
to
c711dc0
Compare
Based on: #7215 + #7217 + #7218 and the fix from #7230
This PR adds the following low level fundchannel methods in msggen:
fundchannel_cancel
fundchannel_complete
fundchannel_start