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

Adds named arguments to CoreLN plugin #134

Merged
merged 1 commit into from
Dec 14, 2022

Conversation

sr-gi
Copy link
Member

@sr-gi sr-gi commented Oct 19, 2022

CoreLN supports named parameters for their RPC commands when passing -k to the call. e.g:

lightning-cli -k <command> arg_0=val_0...arg_n=val_n

Add support for our plugin so it's easier to tackle #69

@sr-gi sr-gi requested a review from mariocynicys October 19, 2022 15:46
@mariocynicys mariocynicys self-assigned this Oct 20, 2022
@sr-gi sr-gi added Seeking Code Review review me pls cln-plugin Stuff related to watchtower-plugin labels Oct 29, 2022
@sr-gi sr-gi added this to the 0.2 milestone Nov 7, 2022
@sr-gi sr-gi force-pushed the cln-json-params branch 3 times, most recently from 59af17c to ace7879 Compare December 11, 2022 18:04
Copy link
Collaborator

@mariocynicys mariocynicys left a comment

Choose a reason for hiding this comment

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

Some nits, LGTM otherwise.

teos-common/src/lib.rs Show resolved Hide resolved
watchtower-plugin/src/convert.rs Outdated Show resolved Hide resolved
watchtower-plugin/src/convert.rs Outdated Show resolved Hide resolved
watchtower-plugin/src/convert.rs Outdated Show resolved Hide resolved
watchtower-plugin/src/convert.rs Outdated Show resolved Hide resolved
Copy link
Collaborator

@mariocynicys mariocynicys left a comment

Choose a reason for hiding this comment

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

LGTM :)

@sr-gi sr-gi merged commit 1faf361 into talaia-labs:master Dec 14, 2022
@sr-gi sr-gi removed the Seeking Code Review review me pls label Jan 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cln-plugin Stuff related to watchtower-plugin
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants