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

msggen: Add decode and decodepay to the mapped bindings #6229

Merged
merged 12 commits into from
May 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2,116 changes: 1,781 additions & 335 deletions .msggen.json

Large diffs are not rendered by default.

333 changes: 332 additions & 1 deletion cln-grpc/proto/node.proto

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 16 additions & 2 deletions cln-grpc/proto/primitives.proto
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ message AmountOrAny {
}

enum ChannelSide {
IN = 0;
OUT = 1;
LOCAL = 0;
REMOTE = 1;
}

enum ChannelState {
Expand All @@ -38,6 +38,20 @@ enum ChannelState {
DualopendAwaitingLockin = 10;
}

enum HtlcState {
SentAddHtlc = 0;
SentAddCommit = 1;
RcvdAddRevocation = 2;
RcvdAddAckCommit = 3;
SentAddAckRevocation = 4;
RcvdAddAckRevocation = 5;
RcvdRemoveHtlc = 6;
RcvdRemoveCommit = 7;
SentRemoveRevocation = 8;
SentRemoveAckCommit = 9;
RcvdRemoveAckRevocation = 10;
}

message ChannelStateChangeCause {}

message Outpoint {
Expand Down
Loading