Skip to content
Open
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
6 changes: 6 additions & 0 deletions .msggen.json
Original file line number Diff line number Diff line change
Expand Up @@ -4719,6 +4719,7 @@
"Xpay.localinvreqid": 10,
"Xpay.maxdelay": 7,
"Xpay.maxfee": 3,
"Xpay.maxparts": 12,
"Xpay.partial_msat": 6,
"Xpay.payer_note": 8,
"Xpay.retry_for": 5
Expand Down Expand Up @@ -8547,6 +8548,7 @@
"1": "plain string",
"10": "optional bytes",
"11": "optional bool",
"12": "optional uint32",
"2": "optional Amount",
"3": "optional Amount",
"4": "repeated string",
Expand Down Expand Up @@ -19297,6 +19299,10 @@
"added": "v24.11",
"deprecated": null
},
"Xpay.maxparts": {
"added": "v26.12",
"deprecated": null
},
"Xpay.partial_msat": {
"added": "v24.11",
"deprecated": null
Expand Down
1 change: 1 addition & 0 deletions cln-grpc/proto/node.proto

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

2 changes: 2 additions & 0 deletions cln-grpc/src/convert.rs

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

2 changes: 2 additions & 0 deletions cln-rpc/src/model.rs

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

8 changes: 8 additions & 0 deletions contrib/msggen/msggen/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -41286,6 +41286,14 @@
"`localinvreqid` is used by offers to link a payment attempt to a local `invoice_request` offer created by lightning-invoicerequest(7). This ensures that we only make a single payment for an offer, and that the offer is marked `used` once paid."
]
},
"maxparts": {
"type": "u32",
"added": "v26.12",
"description": [
"Maximum number of concurrent payment parts. Zero value is interpreted as unconstrained."
],
"default": "0"
},
"dev_use_shadow": {
"hidden": true,
"type": "boolean",
Expand Down
3 changes: 2 additions & 1 deletion contrib/pyln-client/pyln/client/lightning.py
Original file line number Diff line number Diff line change
Expand Up @@ -1193,7 +1193,7 @@ def pay(self, bolt11, amount_msat=None, label=None, riskfactor=None,

def xpay(self, invstring, amount_msat=None, maxfee=None, retry_for=None,
partial_msat=None, maxdelay=None, payer_note=None, label=None, localinvreqid=None,
dev_use_shadow=None):
dev_use_shadow=None, maxparts=None):
"""
Send payment specified by {invstring}.
"""
Expand All @@ -1204,6 +1204,7 @@ def xpay(self, invstring, amount_msat=None, maxfee=None, retry_for=None,
"retry_for": retry_for,
"partial_msat": partial_msat,
"maxdelay": maxdelay,
"maxparts": maxparts,
"label": label,
"localinvreqid": localinvreqid,
"dev_use_shadow": dev_use_shadow,
Expand Down
428 changes: 214 additions & 214 deletions contrib/pyln-grpc-proto/pyln/grpc/node_pb2.py

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions doc/schemas/xpay.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,14 @@
"`localinvreqid` is used by offers to link a payment attempt to a local `invoice_request` offer created by lightning-invoicerequest(7). This ensures that we only make a single payment for an offer, and that the offer is marked `used` once paid."
]
},
"maxparts": {
"type": "u32",
"added": "v26.12",
"description": [
"Maximum number of concurrent payment parts. Zero value is interpreted as unconstrained."
],
"default": "0"
},
"dev_use_shadow": {
"hidden": true,
"type": "boolean",
Expand Down
Loading
Loading