Skip to content

Commit e254d91

Browse files
rustyrussellvincenzopalazzo
authored andcommitted
docs: no longer tell people experimental-offers is required.
Signed-off-by: Rusty Russell <[email protected]>
1 parent ca41414 commit e254d91

17 files changed

+24
-40
lines changed

contrib/msggen/msggen/schema.json

Lines changed: 12 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -7042,7 +7042,7 @@
70427042
"invstring": {
70437043
"type": "string",
70447044
"description": [
7045-
"The bolt11 form, but the final signature is ignored. Minimal sanity checks are done. (Note: if **experimental-offers** is enabled, *invstring* can actually be an unsigned bolt12 invoice)."
7045+
"The bolt11/bolt12 invoice, but the final signature is ignored. Minimal sanity checks are done."
70467046
]
70477047
},
70487048
"label": {
@@ -7092,7 +7092,7 @@
70927092
"bolt12": {
70937093
"type": "string",
70947094
"description": [
7095-
"The bolt12 string instead of **bolt11** (**experimental-offers** only)."
7095+
"The bolt12 string instead of **bolt11**"
70967096
]
70977097
},
70987098
"payment_hash": {
@@ -7192,15 +7192,15 @@
71927192
"local_offer_id": {
71937193
"type": "hex",
71947194
"description": [
7195-
"The *id* of our offer which created this invoice (**experimental-offers** only)."
7195+
"The *id* of our offer which created this invoice."
71967196
],
71977197
"maxLength": 64,
71987198
"minLength": 64
71997199
},
72007200
"invreq_payer_note": {
72017201
"type": "string",
72027202
"description": [
7203-
"The optional *invreq_payer_note* from invoice_request which created this invoice (**experimental-offers** only)."
7203+
"The optional *invreq_payer_note* from invoice_request which created this invoice."
72047204
]
72057205
}
72067206
},
@@ -11588,7 +11588,7 @@
1158811588
"bolt12": {
1158911589
"type": "string",
1159011590
"description": [
11591-
"The bolt12 string (if supplied for pay: **experimental-offers** only)."
11591+
"The bolt12 string (if supplied for pay)."
1159211592
]
1159311593
},
1159411594
"erroronion": {
@@ -12350,7 +12350,6 @@
1235012350
"added": "v22.11",
1235112351
"rpc": "disableinvoicerequest",
1235212352
"title": "Command for removing an invoice request",
12353-
"warning": "experimental-offers only",
1235412353
"description": [
1235512354
"The **disableinvoicerequest** RPC command disables an invoice_request, so that no further invoices will be accepted (and thus, no further payments made)..",
1235612355
"",
@@ -12458,7 +12457,6 @@
1245812457
"type": "object",
1245912458
"rpc": "disableoffer",
1246012459
"title": "Command for removing an offer",
12461-
"warning": "experimental-offers only",
1246212460
"description": [
1246312461
"The **disableoffer** RPC command disables an offer, so that no further invoices will be given out.",
1246412462
"",
@@ -12708,7 +12706,6 @@
1270812706
"type": "object",
1270912707
"rpc": "disableoffer",
1271012708
"title": "Command for re-enabling an offer",
12711-
"warning": "experimental-offers only",
1271212709
"description": [
1271312710
"The **enableoffer** RPC command enables an offer, after it has been disabled."
1271412711
],
@@ -13369,7 +13366,6 @@
1336913366
"type": "object",
1337013367
"rpc": "fetchinvoice",
1337113368
"title": "Command for fetch an invoice for an offer",
13372-
"warning": "experimental-offers only",
1337313369
"description": [
1337413370
"The **fetchinvoice** RPC command contacts the issuer of an *offer* to get an actual invoice that can be paid. It highlights any changes between the offer and the returned invoice.",
1337513371
"",
@@ -16809,7 +16805,6 @@
1680916805
"added": "v22.11",
1681016806
"rpc": "invoicerequest",
1681116807
"title": "Command for offering payments",
16812-
"warning": "experimental-offers only",
1681316808
"description": [
1681416809
"The **invoicerequest** RPC command creates an `invoice_request` to send payments: it automatically enables the processing of an incoming invoice, and payment of it. The reader of the resulting `invoice_request` can use lightning-sendinvoice(7) to collect their payment."
1681516810
],
@@ -23014,13 +23009,13 @@
2301423009
"local_offer_id": {
2301523010
"type": "hash",
2301623011
"description": [
23017-
"The *id* of our offer which created this invoice (**experimental-offers** only)."
23012+
"The *id* of our offer which created this invoice."
2301823013
]
2301923014
},
2302023015
"invreq_payer_note": {
2302123016
"type": "string",
2302223017
"description": [
23023-
"The optional *invreq_payer_note* from invoice_request which created this invoice (**experimental-offers** only)."
23018+
"The optional *invreq_payer_note* from invoice_request which created this invoice."
2302423019
]
2302523020
},
2302623021
"created_index": {
@@ -23657,7 +23652,6 @@
2365723652
"type": "object",
2365823653
"rpc": "listoffers",
2365923654
"title": "Command for listing offers",
23660-
"warning": "experimental-offers only",
2366123655
"description": [
2366223656
"The **listoffers** RPC command list all offers, or with `offer_id`, only the offer with that offer_id (if it exists)."
2366323657
],
@@ -23944,7 +23938,7 @@
2394423938
"bolt12": {
2394523939
"type": "string",
2394623940
"description": [
23947-
"The bolt12 string (if supplied for pay: **experimental-offers** only)."
23941+
"The bolt12 string (if supplied for pay)."
2394823942
]
2394923943
},
2395023944
"created_index": {
@@ -28230,7 +28224,6 @@
2823028224
"type": "object",
2823128225
"rpc": "offer",
2823228226
"title": "Command for accepting payments",
28233-
"warning": "experimental-offers only",
2823428227
"description": [
2823528228
"The **offer** RPC command creates an offer (or returns an existing one), which is a precursor to creating one or more invoices. It automatically enables the processing of an incoming invoice_request, and issuing of invoices.",
2823628229
"",
@@ -29583,7 +29576,7 @@
2958329576
"bolt11": {
2958429577
"type": "string",
2958529578
"description": [
29586-
"Bolt11 invoice, if **experimental-offers** is enabled, it can actually be a bolt12 invoice, such as one received from lightningd-fetchinvoice(7). If it does not contain an amount, *amount_msat* is required, otherwise if it is specified it must be *null*."
29579+
"Bolt11 or bolt12 invoice (such as one received from lightningd-fetchinvoice(7)). For a bolt11 invoice, if it does not contain an amount, *amount_msat* is required, otherwise if it is specified it must be *null*."
2958729580
]
2958829581
},
2958929582
"amount_msat": {
@@ -31502,7 +31495,6 @@
3150231495
"type": "object",
3150331496
"rpc": "sendinvoice",
3150431497
"title": "Command for send an invoice for an offer",
31505-
"warning": "experimental-offers only",
3150631498
"description": [
3150731499
"The **sendinvoice** RPC command creates and sends an invoice to the issuer of an *invoice_request* for it to pay: lightning-invoicerequest(7).",
3150831500
"",
@@ -31942,7 +31934,7 @@
3194231934
"bolt12": {
3194331935
"type": "string",
3194431936
"description": [
31945-
"The bolt12 string (if supplied: **experimental-offers** only)."
31937+
"The bolt12 string (if supplied)."
3194631938
]
3194731939
},
3194831940
"partid": {
@@ -32327,7 +32319,7 @@
3232732319
"bolt12": {
3232832320
"type": "string",
3232932321
"description": [
32330-
"The bolt12 string (if supplied: **experimental-offers** only)."
32322+
"The bolt12 string (if supplied)."
3233132323
]
3233232324
},
3233332325
"message": {},
@@ -36635,7 +36627,7 @@
3663536627
"bolt12": {
3663636628
"type": "string",
3663736629
"description": [
36638-
"The bolt12 string (if supplied for pay: **experimental-offers** only)."
36630+
"The bolt12 string (if supplied for pay)."
3663936631
]
3664036632
},
3664136633
"message": {},

doc/schemas/lightning-createinvoice.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"invstring": {
1818
"type": "string",
1919
"description": [
20-
"The bolt11 form, but the final signature is ignored. Minimal sanity checks are done. (Note: if **experimental-offers** is enabled, *invstring* can actually be an unsigned bolt12 invoice)."
20+
"The bolt11/bolt12 invoice, but the final signature is ignored. Minimal sanity checks are done."
2121
]
2222
},
2323
"label": {
@@ -67,7 +67,7 @@
6767
"bolt12": {
6868
"type": "string",
6969
"description": [
70-
"The bolt12 string instead of **bolt11** (**experimental-offers** only)."
70+
"The bolt12 string instead of **bolt11**"
7171
]
7272
},
7373
"payment_hash": {
@@ -167,15 +167,15 @@
167167
"local_offer_id": {
168168
"type": "hex",
169169
"description": [
170-
"The *id* of our offer which created this invoice (**experimental-offers** only)."
170+
"The *id* of our offer which created this invoice."
171171
],
172172
"maxLength": 64,
173173
"minLength": 64
174174
},
175175
"invreq_payer_note": {
176176
"type": "string",
177177
"description": [
178-
"The optional *invreq_payer_note* from invoice_request which created this invoice (**experimental-offers** only)."
178+
"The optional *invreq_payer_note* from invoice_request which created this invoice."
179179
]
180180
}
181181
},

doc/schemas/lightning-delpay.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@
169169
"bolt12": {
170170
"type": "string",
171171
"description": [
172-
"The bolt12 string (if supplied for pay: **experimental-offers** only)."
172+
"The bolt12 string (if supplied for pay)."
173173
]
174174
},
175175
"erroronion": {

doc/schemas/lightning-disableinvoicerequest.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
"added": "v22.11",
55
"rpc": "disableinvoicerequest",
66
"title": "Command for removing an invoice request",
7-
"warning": "experimental-offers only",
87
"description": [
98
"The **disableinvoicerequest** RPC command disables an invoice_request, so that no further invoices will be accepted (and thus, no further payments made)..",
109
"",

doc/schemas/lightning-disableoffer.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
"type": "object",
44
"rpc": "disableoffer",
55
"title": "Command for removing an offer",
6-
"warning": "experimental-offers only",
76
"description": [
87
"The **disableoffer** RPC command disables an offer, so that no further invoices will be given out.",
98
"",

doc/schemas/lightning-enableoffer.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
"type": "object",
44
"rpc": "disableoffer",
55
"title": "Command for re-enabling an offer",
6-
"warning": "experimental-offers only",
76
"description": [
87
"The **enableoffer** RPC command enables an offer, after it has been disabled."
98
],

doc/schemas/lightning-fetchinvoice.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
"type": "object",
44
"rpc": "fetchinvoice",
55
"title": "Command for fetch an invoice for an offer",
6-
"warning": "experimental-offers only",
76
"description": [
87
"The **fetchinvoice** RPC command contacts the issuer of an *offer* to get an actual invoice that can be paid. It highlights any changes between the offer and the returned invoice.",
98
"",

doc/schemas/lightning-invoicerequest.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
"added": "v22.11",
55
"rpc": "invoicerequest",
66
"title": "Command for offering payments",
7-
"warning": "experimental-offers only",
87
"description": [
98
"The **invoicerequest** RPC command creates an `invoice_request` to send payments: it automatically enables the processing of an incoming invoice, and payment of it. The reader of the resulting `invoice_request` can use lightning-sendinvoice(7) to collect their payment."
109
],

doc/schemas/lightning-listinvoices.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,13 +155,13 @@
155155
"local_offer_id": {
156156
"type": "hash",
157157
"description": [
158-
"The *id* of our offer which created this invoice (**experimental-offers** only)."
158+
"The *id* of our offer which created this invoice."
159159
]
160160
},
161161
"invreq_payer_note": {
162162
"type": "string",
163163
"description": [
164-
"The optional *invreq_payer_note* from invoice_request which created this invoice (**experimental-offers** only)."
164+
"The optional *invreq_payer_note* from invoice_request which created this invoice."
165165
]
166166
},
167167
"created_index": {

doc/schemas/lightning-listoffers.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
"type": "object",
44
"rpc": "listoffers",
55
"title": "Command for listing offers",
6-
"warning": "experimental-offers only",
76
"description": [
87
"The **listoffers** RPC command list all offers, or with `offer_id`, only the offer with that offer_id (if it exists)."
98
],

0 commit comments

Comments
 (0)