Skip to content

Commit 692df79

Browse files
committed
Add new description_hash field
1 parent c3d95c4 commit 692df79

13 files changed

Lines changed: 1328 additions & 1174 deletions

File tree

.msggen.json

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1564,6 +1564,7 @@
15641564
"DelPay.payments[].created_at": 9,
15651565
"DelPay.payments[].created_index": 1,
15661566
"DelPay.payments[].description": 18,
1567+
"DelPay.payments[].description_hash": 20,
15671568
"DelPay.payments[].destination": 7,
15681569
"DelPay.payments[].erroronion": 17,
15691570
"DelPay.payments[].groupid": 12,
@@ -2885,6 +2886,7 @@
28852886
"ListPays.pays[].created_at": 4,
28862887
"ListPays.pays[].created_index": 15,
28872888
"ListPays.pays[].description": 11,
2889+
"ListPays.pays[].description_hash": 18,
28882890
"ListPays.pays[].destination": 3,
28892891
"ListPays.pays[].erroronion": 10,
28902892
"ListPays.pays[].invoice_description": 17,
@@ -3165,6 +3167,7 @@
31653167
"ListSendPays.payments[].created_at": 7,
31663168
"ListSendPays.payments[].created_index": 16,
31673169
"ListSendPays.payments[].description": 14,
3170+
"ListSendPays.payments[].description_hash": 20,
31683171
"ListSendPays.payments[].destination": 6,
31693172
"ListSendPays.payments[].erroronion": 13,
31703173
"ListSendPays.payments[].groupid": 2,
@@ -3659,6 +3662,7 @@
36593662
"SendPay.created_at": 7,
36603663
"SendPay.created_index": 16,
36613664
"SendPay.description": 18,
3665+
"SendPay.description_hash": 20,
36623666
"SendPay.destination": 6,
36633667
"SendPay.groupid": 2,
36643668
"SendPay.id": 1,
@@ -4055,6 +4059,7 @@
40554059
"WaitSendPay.created_at": 7,
40564060
"WaitSendPay.created_index": 15,
40574061
"WaitSendPay.description": 17,
4062+
"WaitSendPay.description_hash": 19,
40584063
"WaitSendPay.destination": 6,
40594064
"WaitSendPay.groupid": 2,
40604065
"WaitSendPay.id": 1,
@@ -6917,6 +6922,10 @@
69176922
"added": "v26.04",
69186923
"deprecated": null
69196924
},
6925+
"DelPay.payments[].description_hash": {
6926+
"added": "v26.04",
6927+
"deprecated": null
6928+
},
69206929
"DelPay.payments[].destination": {
69216930
"added": "pre-v0.10.1",
69226931
"deprecated": null
@@ -10681,6 +10690,10 @@
1068110690
"added": "pre-v0.10.1",
1068210691
"deprecated": null
1068310692
},
10693+
"ListPays.pays[].description_hash": {
10694+
"added": "v26.04",
10695+
"deprecated": null
10696+
},
1068410697
"ListPays.pays[].destination": {
1068510698
"added": "pre-v0.10.1",
1068610699
"deprecated": null
@@ -11617,6 +11630,10 @@
1161711630
"added": "pre-v0.10.1",
1161811631
"deprecated": null
1161911632
},
11633+
"ListSendPays.payments[].description_hash": {
11634+
"added": "v26.04",
11635+
"deprecated": null
11636+
},
1162011637
"ListSendPays.payments[].destination": {
1162111638
"added": "pre-v0.10.1",
1162211639
"deprecated": null
@@ -12873,6 +12890,10 @@
1287312890
"added": "v0.11.0",
1287412891
"deprecated": null
1287512892
},
12893+
"SendPay.description_hash": {
12894+
"added": "v26.04",
12895+
"deprecated": null
12896+
},
1287612897
"SendPay.destination": {
1287712898
"added": "pre-v0.10.1",
1287812899
"deprecated": null
@@ -13981,6 +14002,10 @@
1398114002
"added": "v26.04",
1398214003
"deprecated": null
1398314004
},
14005+
"WaitSendPay.description_hash": {
14006+
"added": "v26.04",
14007+
"deprecated": null
14008+
},
1398414009
"WaitSendPay.destination": {
1398514010
"added": "pre-v0.10.1",
1398614011
"deprecated": null

cln-grpc/proto/node.proto

Lines changed: 5 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: 5 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: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

contrib/msggen/msggen/schema.json

Lines changed: 47 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11004,7 +11004,14 @@
1100411004
"added": "v26.04",
1100511005
"type": "string",
1100611006
"description": [
11007-
"CHANGE: The description matching the bolt11 description hash (if pay supplied one)."
11007+
"The description matching the bolt11 || bolt12 description (if pay supplied one)."
11008+
]
11009+
},
11010+
"description_hash": {
11011+
"added": "v26.04",
11012+
"type": "string",
11013+
"description": [
11014+
"The description hash matching the bolt11 description hash (if pay supplied one)."
1100811015
]
1100911016
},
1101011017
"erroronion": {
@@ -23555,7 +23562,14 @@
2355523562
"added": "v26.04",
2355623563
"type": "string",
2355723564
"description": [
23558-
"CHANGE: The description matching the bolt11 description hash (if pay supplied one)."
23565+
"The description matching the bolt11 || bolt12 description (if pay supplied one)."
23566+
]
23567+
},
23568+
"description_hash": {
23569+
"added": "v26.04",
23570+
"type": "string",
23571+
"description": [
23572+
"The description hash matching the bolt11 description hash (if pay supplied one)."
2355923573
]
2356023574
},
2356123575
"bolt12": {
@@ -23609,6 +23623,7 @@
2360923623
"label": {},
2361023624
"bolt11": {},
2361123625
"invoice_description": {},
23626+
"description_hash": {},
2361223627
"bolt12": {},
2361323628
"amount_msat": {
2361423629
"type": "msat",
@@ -23664,6 +23679,7 @@
2366423679
"label": {},
2366523680
"bolt11": {},
2366623681
"invoice_description": {},
23682+
"description_hash": {},
2366723683
"bolt12": {},
2366823684
"amount_sent_msat": {},
2366923685
"erroronion": {
@@ -26177,7 +26193,14 @@
2617726193
"type": "string",
2617826194
"added": "v26.04",
2617926195
"description": [
26180-
"CHANGE: The description matching the bolt11 description hash (if pay supplied one)."
26196+
"The description matching the bolt11 || bolt12 description (if pay supplied one)."
26197+
]
26198+
},
26199+
"description_hash": {
26200+
"added": "v26.04",
26201+
"type": "string",
26202+
"description": [
26203+
"The description hash matching the bolt11 description hash (if pay supplied one)."
2618126204
]
2618226205
},
2618326206
"bolt12": {
@@ -26222,6 +26245,7 @@
2622226245
"label": {},
2622326246
"bolt11": {},
2622426247
"invoice_description": {},
26248+
"description_hash": {},
2622526249
"bolt12": {},
2622626250
"completed_at": {
2622726251
"type": "u64",
@@ -26272,6 +26296,7 @@
2627226296
"label": {},
2627326297
"bolt11": {},
2627426298
"invoice_description": {},
26299+
"description_hash": {},
2627526300
"bolt12": {},
2627626301
"erroronion": {
2627726302
"type": "hex",
@@ -32046,7 +32071,14 @@
3204632071
"type": "string",
3204732072
"added": "v26.04",
3204832073
"description": [
32049-
"CHANGE: The description matching the bolt11 description hash (if pay supplied one)."
32074+
"The description matching the bolt11 || bolt12 description (if pay supplied one)."
32075+
]
32076+
},
32077+
"description_hash": {
32078+
"type": "string",
32079+
"added": "v26.04",
32080+
"description": [
32081+
"The description hash matching the bolt11 description hash (if pay supplied one)."
3205032082
]
3205132083
},
3205232084
"message": {},
@@ -32089,6 +32121,7 @@
3208932121
"bolt11": {},
3209032122
"bolt12": {},
3209132123
"invoice_description": {},
32124+
"description_hash": {},
3209232125
"payment_preimage": {
3209332126
"type": "secret",
3209432127
"description": [
@@ -32134,6 +32167,7 @@
3213432167
"bolt11": {},
3213532168
"bolt12": {},
3213632169
"invoice_description": {},
32170+
"description_hash": {},
3213732171
"message": {
3213832172
"type": "string",
3213932173
"description": [
@@ -37049,7 +37083,14 @@
3704937083
"added": "v26.04",
3705037084
"type": "string",
3705137085
"description": [
37052-
"CHANGE: The description matching the bolt11 description hash (if pay supplied one)."
37086+
"The description matching the bolt11 || bolt12 description (if pay supplied one)."
37087+
]
37088+
},
37089+
"description_hash": {
37090+
"added": "v26.04",
37091+
"type": "string",
37092+
"description": [
37093+
"The description hash matching the bolt11 description hash (if pay supplied one)."
3705337094
]
3705437095
},
3705537096
"message": {},
@@ -37092,6 +37133,7 @@
3709237133
"bolt11": {},
3709337134
"bolt12": {},
3709437135
"invoice_description": {},
37136+
"description_hash": {},
3709537137
"payment_preimage": {
3709637138
"type": "secret",
3709737139
"description": [

contrib/pyln-grpc-proto/pyln/grpc/node_pb2.py

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

contrib/pyln-testing/pyln/testing/grpc2py.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ def sendpay2py(m):
146146
"completed_at": m.completed_at, # PrimitiveField in generate_composite
147147
"created_at": m.created_at, # PrimitiveField in generate_composite
148148
"created_index": m.created_index, # PrimitiveField in generate_composite
149+
"description_hash": m.description_hash, # PrimitiveField in generate_composite
149150
"destination": hexlify(m.destination), # PrimitiveField in generate_composite
150151
"groupid": m.groupid, # PrimitiveField in generate_composite
151152
"id": m.id, # PrimitiveField in generate_composite
@@ -616,6 +617,7 @@ def listsendpays_payments2py(m):
616617
"completed_at": m.completed_at, # PrimitiveField in generate_composite
617618
"created_at": m.created_at, # PrimitiveField in generate_composite
618619
"created_index": m.created_index, # PrimitiveField in generate_composite
620+
"description_hash": m.description_hash, # PrimitiveField in generate_composite
619621
"destination": hexlify(m.destination), # PrimitiveField in generate_composite
620622
"erroronion": hexlify(m.erroronion), # PrimitiveField in generate_composite
621623
"groupid": m.groupid, # PrimitiveField in generate_composite
@@ -788,6 +790,7 @@ def waitsendpay2py(m):
788790
"completed_at": m.completed_at, # PrimitiveField in generate_composite
789791
"created_at": m.created_at, # PrimitiveField in generate_composite
790792
"created_index": m.created_index, # PrimitiveField in generate_composite
793+
"description_hash": m.description_hash, # PrimitiveField in generate_composite
791794
"destination": hexlify(m.destination), # PrimitiveField in generate_composite
792795
"groupid": m.groupid, # PrimitiveField in generate_composite
793796
"id": m.id, # PrimitiveField in generate_composite
@@ -1398,6 +1401,7 @@ def delpay_payments2py(m):
13981401
"completed_at": m.completed_at, # PrimitiveField in generate_composite
13991402
"created_at": m.created_at, # PrimitiveField in generate_composite
14001403
"created_index": m.created_index, # PrimitiveField in generate_composite
1404+
"description_hash": m.description_hash, # PrimitiveField in generate_composite
14011405
"destination": hexlify(m.destination), # PrimitiveField in generate_composite
14021406
"erroronion": hexlify(m.erroronion), # PrimitiveField in generate_composite
14031407
"groupid": m.groupid, # PrimitiveField in generate_composite
@@ -1741,6 +1745,7 @@ def listpays_pays2py(m):
17411745
"completed_at": m.completed_at, # PrimitiveField in generate_composite
17421746
"created_at": m.created_at, # PrimitiveField in generate_composite
17431747
"created_index": m.created_index, # PrimitiveField in generate_composite
1748+
"description_hash": m.description_hash, # PrimitiveField in generate_composite
17441749
"destination": hexlify(m.destination), # PrimitiveField in generate_composite
17451750
"erroronion": hexlify(m.erroronion), # PrimitiveField in generate_composite
17461751
"invoice_description": m.invoice_description, # PrimitiveField in generate_composite

0 commit comments

Comments
 (0)