Skip to content

Commit 6680bdb

Browse files
committed
lightningd: implement listnetworkevents.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
1 parent e4fde67 commit 6680bdb

File tree

13 files changed

+1059
-433
lines changed

13 files changed

+1059
-433
lines changed

.msggen.json

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -542,6 +542,12 @@
542542
"paid": 1,
543543
"unpaid": 0
544544
},
545+
"WaitNetworkeventsType": {
546+
"connect": 0,
547+
"connect_fail": 1,
548+
"disconnect": 3,
549+
"ping": 2
550+
},
545551
"WaitSendpaysStatus": {
546552
"complete": 2,
547553
"failed": 1,
@@ -553,6 +559,7 @@
553559
"forwards": 1,
554560
"htlcs": 3,
555561
"invoices": 0,
562+
"networkevents": 6,
556563
"sendpays": 2
557564
},
558565
"WaitanyinvoiceStatus": {
@@ -3766,6 +3773,11 @@
37663773
"Wait.invoices.label": 2,
37673774
"Wait.invoices.status": 1
37683775
},
3776+
"WaitNetworkevents": {
3777+
"Wait.networkevents.created_index": 1,
3778+
"Wait.networkevents.peer_id": 3,
3779+
"Wait.networkevents.type": 2
3780+
},
37693781
"WaitRequest": {
37703782
"Wait.indexname": 2,
37713783
"Wait.nextvalue": 3,
@@ -3780,6 +3792,7 @@
37803792
"Wait.forwards": 6,
37813793
"Wait.htlcs": 9,
37823794
"Wait.invoices": 7,
3795+
"Wait.networkevents": 12,
37833796
"Wait.sendpays": 8,
37843797
"Wait.subsystem": 1,
37853798
"Wait.updated": 3
@@ -13092,6 +13105,22 @@
1309213105
"added": "v25.05",
1309313106
"deprecated": null
1309413107
},
13108+
"Wait.networkevents": {
13109+
"added": "v25.12",
13110+
"deprecated": null
13111+
},
13112+
"Wait.networkevents.created_index": {
13113+
"added": "v25.12",
13114+
"deprecated": null
13115+
},
13116+
"Wait.networkevents.peer_id": {
13117+
"added": "v25.12",
13118+
"deprecated": null
13119+
},
13120+
"Wait.networkevents.type": {
13121+
"added": "v25.12",
13122+
"deprecated": null
13123+
},
1309513124
"Wait.nextvalue": {
1309613125
"added": "pre-v0.10.1",
1309713126
"deprecated": null

cln-grpc/proto/node.proto

Lines changed: 16 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cln-grpc/src/convert.rs

Lines changed: 12 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cln-rpc/src/model.rs

Lines changed: 59 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

common/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,8 @@ common/scb_wiregen.c_args := -s
134134

135135
# Check that all h and c files are in the Makefile!
136136
check-common-files:
137-
@$(call VERBOSE, "MISSING-SRC common", [ "$(filter-out $(COMMON_SRC), $(wildcard common/*.c))" = "" ])
138-
@$(call VERBOSE, "MISSING-HEADERS common", [ "$(filter-out $(COMMON_HEADERS) $(COMMON_SRC:.c=.h), $(wildcard common/*.h))" = "" ])
137+
@$(call VERBOSE, "checking common source", [ "$(filter-out $(COMMON_SRC), $(wildcard common/*.c))" = "" ])
138+
@$(call VERBOSE, "checking common headers", [ "$(filter-out $(COMMON_HEADERS) $(COMMON_SRC:.c=.h), $(wildcard common/*.h))" = "" ])
139139

140140
check-source: check-common-files
141141

0 commit comments

Comments
 (0)