-
Notifications
You must be signed in to change notification settings - Fork 912
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
add a funder
plugin
#4489
Merged
rustyrussell
merged 20 commits into
ElementsProject:master
from
niftynei:nifty/accept-plugin
May 3, 2021
+1,922
−78
Merged
add a funder
plugin
#4489
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
5065f41
libplugin: add no-op command complete function
niftynei 2001b1f
tests: remove EXPERIMENTAL_FEATURE flag from openchannel2 hooks
niftynei 536d032
plugin-tests: cleanup outdated openchannel2 hook fields
niftynei a7ef21e
dualopend: don't use final channel_id for accepter_start2
niftynei 5d47c67
openchannel2: add channel_max_msat to openchannel2 hook payload
niftynei dea5f2d
psbt-open: method to quickly check if has our input
niftynei e489b66
openchannel2/rbf hooks: reject if response malformed
niftynei c88f307
dualfund: set the locktime for the user-provided PSBT
niftynei 890ac99
openchannel: add missing string args to format string
niftynei d8534e7
amount: `amount_sat_scale` method
niftynei e4eef8e
funder: add a plugin, `funder`. policies for dual-funding
niftynei e13b310
funder: use listfunds to fetch utxo data
niftynei 86eb1e0
funder-test: tests for our policy configurations
niftynei 45e87a9
contrib: if you're in dev mode, use dual-funding (with matching)
niftynei ec846cd
funder: sanitize inputs
niftynei 9795006
funder: `funderupdate` command to see/set configs
niftynei d97ef4d
rbf_channel hook: add channel_max_msat parameter
niftynei 1e0f05f
funder: handle RBF callback
niftynei 884f1d4
pyln-testing: use provided outnum instead of trying to find it
niftynei de9102a
tests: add test for funder options
niftynei File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
autoclean | ||
bcli | ||
funder | ||
pay | ||
spenderp | ||
multifundchannel | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Since this converts to msat, and that fails for UINT64_MAX, this channel_max will actually only appear for non-wumbo channels. Which is probably OK, but should be documented.
Field should also be called "channel_max_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.
ACK. also updated the
channel_max
field that exist onopenchannel2
hook.