Skip to content

Commit 3649a54

Browse files
ShahanaFarooquiendothermicdev
authored andcommitted
docs: Lock example values to avoid unnecessary updates in schemas
Changelog-None.
1 parent 26359e4 commit 3649a54

File tree

9 files changed

+109
-104
lines changed

9 files changed

+109
-104
lines changed

contrib/msggen/msggen/schema.json

Lines changed: 51 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -2819,16 +2819,16 @@
28192819
"channels_apy": [
28202820
{
28212821
"account": "channelid0120000120000120000120000120000120000120000120000120000",
2822-
"routed_out_msat": 1000000,
2823-
"routed_in_msat": 510091208,
2822+
"routed_out_msat": 1001000,
2823+
"routed_in_msat": 510092209,
28242824
"lease_fee_paid_msat": 0,
28252825
"lease_fee_earned_msat": 0,
28262826
"pushed_out_msat": 0,
28272827
"pushed_in_msat": 0,
28282828
"our_start_balance_msat": 0,
28292829
"channel_start_balance_msat": 1000000000,
2830-
"fees_out_msat": 0,
2831-
"fees_in_msat": 106,
2830+
"fees_out_msat": 1,
2831+
"fees_in_msat": 107,
28322832
"utilization_out": "30.7060%",
28332833
"utilization_in": "10.0027%",
28342834
"utilization_in_initial": "50.0081%",
@@ -2881,16 +2881,16 @@
28812881
},
28822882
{
28832883
"account": "net",
2884-
"routed_out_msat": 1011190102,
2885-
"routed_in_msat": 510091208,
2884+
"routed_out_msat": 1011191102,
2885+
"routed_in_msat": 510092209,
28862886
"lease_fee_paid_msat": 0,
28872887
"lease_fee_earned_msat": 0,
28882888
"pushed_out_msat": 0,
28892889
"pushed_in_msat": 0,
28902890
"our_start_balance_msat": 2000000000,
28912891
"channel_start_balance_msat": 3000000000,
2892-
"fees_out_msat": 106,
2893-
"fees_in_msat": 106,
2892+
"fees_out_msat": 107,
2893+
"fees_in_msat": 107,
28942894
"utilization_out": "33.7060%",
28952895
"utilization_out_initial": "53.5591%",
28962896
"utilization_in": "13.0027%",
@@ -11004,7 +11004,7 @@
1100411004
"method": "delforward",
1100511005
"params": {
1100611006
"in_channel": "109x1x1",
11007-
"in_htlc_id": 21,
11007+
"in_htlc_id": 22,
1100811008
"status": "failed"
1100911009
}
1101011010
},
@@ -21750,10 +21750,10 @@
2175021750
"response": {
2175121751
"forwards": [
2175221752
{
21753-
"created_index": 12,
21754-
"updated_index": 7,
21753+
"created_index": 13,
21754+
"updated_index": 8,
2175521755
"in_channel": "109x1x1",
21756-
"in_htlc_id": 19,
21756+
"in_htlc_id": 20,
2175721757
"out_channel": "123x1x1",
2175821758
"out_htlc_id": 2,
2175921759
"in_msat": 50000501,
@@ -21765,10 +21765,10 @@
2176521765
"resolved_time": 1738500000
2176621766
},
2176721767
{
21768-
"created_index": 13,
21769-
"updated_index": 8,
21768+
"created_index": 14,
21769+
"updated_index": 9,
2177021770
"in_channel": "109x1x1",
21771-
"in_htlc_id": 20,
21771+
"in_htlc_id": 21,
2177221772
"out_channel": "123x1x1",
2177321773
"out_htlc_id": 3,
2177421774
"in_msat": 50000501,
@@ -23542,24 +23542,24 @@
2354223542
"response": {
2354323543
"offers": [
2354423544
{
23545-
"offer_id": "offeridl23000002300000230000023000002300000230000023000002300000",
23545+
"offer_id": "offeridl21000002100000210000021000002100000210000021000002100000",
2354623546
"active": true,
2354723547
"single_use": false,
23548-
"bolt12": "lno1qgsq000bolt230002300023000230002300023000230002300023000230002300023000230002300023000230002300023000230002300023000230002300023000",
23548+
"bolt12": "lno1qgsq000bolt210002100021000210002100021000210002100021000210002100021000210002100021000210002100021000210002100021000210002100021000",
2354923549
"used": false
2355023550
},
2355123551
{
23552-
"offer_id": "offeridl21000002100000210000021000002100000210000021000002100000",
23552+
"offer_id": "offeridl22000002200000220000022000002200000220000022000002200000",
2355323553
"active": true,
2355423554
"single_use": false,
23555-
"bolt12": "lno1qgsq000bolt210002100021000210002100021000210002100021000210002100021000210002100021000210002100021000210002100021000210002100021000",
23555+
"bolt12": "lno1qgsq000bolt220002200022000220002200022000220002200022000220002200022000220002200022000220002200022000220002200022000220002200022000",
2355623556
"used": false
2355723557
},
2355823558
{
23559-
"offer_id": "offeridl22000002200000220000022000002200000220000022000002200000",
23559+
"offer_id": "offeridl23000002300000230000023000002300000230000023000002300000",
2356023560
"active": true,
2356123561
"single_use": false,
23562-
"bolt12": "lno1qgsq000bolt220002200022000220002200022000220002200022000220002200022000220002200022000220002200022000220002200022000220002200022000",
23562+
"bolt12": "lno1qgsq000bolt230002300023000230002300023000230002300023000230002300023000230002300023000230002300023000230002300023000230002300023000",
2356323563
"used": false
2356423564
}
2356523565
]
@@ -23570,7 +23570,7 @@
2357023570
"id": "example:listoffers#2",
2357123571
"method": "listoffers",
2357223572
"params": [
23573-
"b791f88cebf775853112c30828e116487f4d6c252d669372532b468bc7de8a24"
23573+
"offeridl23000002300000230000023000002300000230000023000002300000"
2357423574
]
2357523575
},
2357623576
"response": {
@@ -25372,8 +25372,8 @@
2537225372
"remote_funds_msat": 0,
2537325373
"pushed_msat": 0
2537425374
},
25375-
"to_us_msat": 390492790,
25376-
"min_to_us_msat": 390492790,
25375+
"to_us_msat": 390492789,
25376+
"min_to_us_msat": 390492789,
2537725377
"max_to_us_msat": 1000000000,
2537825378
"total_msat": 1000000000,
2537925379
"fee_base_msat": 1,
@@ -25382,8 +25382,8 @@
2538225382
"max_total_htlc_in_msat": 18446744073709552000,
2538325383
"their_reserve_msat": 10000000,
2538425384
"our_reserve_msat": 10000000,
25385-
"spendable_msat": 363951708,
25386-
"receivable_msat": 599507210,
25385+
"spendable_msat": 363951707,
25386+
"receivable_msat": 599507211,
2538725387
"minimum_htlc_in_msat": 0,
2538825388
"minimum_htlc_out_msat": 0,
2538925389
"maximum_htlc_out_msat": 990000000,
@@ -25409,18 +25409,18 @@
2540925409
"status": [
2541025410
"CHANNELD_NORMAL:Channel ready for use."
2541125411
],
25412-
"in_payments_offered": 1,
25413-
"in_offered_msat": 1000000,
25414-
"in_payments_fulfilled": 1,
25415-
"in_fulfilled_msat": 1000000,
25416-
"out_payments_offered": 22,
25417-
"out_offered_msat": 665528797,
25418-
"out_payments_fulfilled": 16,
25419-
"out_fulfilled_msat": 610507210,
25412+
"in_payments_offered": 2,
25413+
"in_offered_msat": 1001000,
25414+
"in_payments_fulfilled": 2,
25415+
"in_fulfilled_msat": 1001000,
25416+
"out_payments_offered": 23,
25417+
"out_offered_msat": 665529798,
25418+
"out_payments_fulfilled": 17,
25419+
"out_fulfilled_msat": 610508211,
2542025420
"htlcs": [
2542125421
{
2542225422
"direction": "out",
25423-
"id": 17,
25423+
"id": 18,
2542425424
"amount_msat": 4000082,
2542525425
"expiry": 181,
2542625426
"payment_hash": "paymenthashdelpay30303030303030303030303030303030303030303030303",
@@ -25502,8 +25502,8 @@
2550225502
"remote_funds_msat": 0,
2550325503
"pushed_msat": 0
2550425504
},
25505-
"to_us_msat": 390492790,
25506-
"min_to_us_msat": 390492790,
25505+
"to_us_msat": 390492789,
25506+
"min_to_us_msat": 390492789,
2550725507
"max_to_us_msat": 1000000000,
2550825508
"total_msat": 1000000000,
2550925509
"fee_base_msat": 1,
@@ -25512,8 +25512,8 @@
2551225512
"max_total_htlc_in_msat": 18446744073709552000,
2551325513
"their_reserve_msat": 10000000,
2551425514
"our_reserve_msat": 10000000,
25515-
"spendable_msat": 363951708,
25516-
"receivable_msat": 599507210,
25515+
"spendable_msat": 363951707,
25516+
"receivable_msat": 599507211,
2551725517
"minimum_htlc_in_msat": 0,
2551825518
"minimum_htlc_out_msat": 0,
2551925519
"maximum_htlc_out_msat": 990000000,
@@ -25539,18 +25539,18 @@
2553925539
"status": [
2554025540
"CHANNELD_NORMAL:Channel ready for use."
2554125541
],
25542-
"in_payments_offered": 1,
25543-
"in_offered_msat": 1000000,
25544-
"in_payments_fulfilled": 1,
25545-
"in_fulfilled_msat": 1000000,
25546-
"out_payments_offered": 22,
25547-
"out_offered_msat": 665528797,
25548-
"out_payments_fulfilled": 16,
25549-
"out_fulfilled_msat": 610507210,
25542+
"in_payments_offered": 2,
25543+
"in_offered_msat": 1001000,
25544+
"in_payments_fulfilled": 2,
25545+
"in_fulfilled_msat": 1001000,
25546+
"out_payments_offered": 23,
25547+
"out_offered_msat": 665529798,
25548+
"out_payments_fulfilled": 17,
25549+
"out_fulfilled_msat": 610508211,
2555025550
"htlcs": [
2555125551
{
2555225552
"direction": "out",
25553-
"id": 17,
25553+
"id": 18,
2555425554
"amount_msat": 4000082,
2555525555
"expiry": 181,
2555625556
"payment_hash": "paymenthashdelpay30303030303030303030303030303030303030303030303",
@@ -34330,7 +34330,7 @@
3433034330
"rows": [
3433134331
[
3433234332
"nodeid020202020202020202020202020202020202020202020202020202020202",
34333-
490493792,
34333+
490493791,
3433434334
1000000000,
3433534335
"CHANNELD_NORMAL:Channel ready for use."
3433634336
]
@@ -34351,7 +34351,7 @@
3435134351
"response": {
3435234352
"rows": [
3435334353
[
34354-
9
34354+
10
3435534355
]
3435634356
]
3435734357
}
@@ -36935,7 +36935,7 @@
3693536935
"response": {
3693636936
"payment_preimage": "paymentpreimgxp2020202020202020202020202020202020202020202020202",
3693736937
"amount_msat": 1000,
36938-
"amount_sent_msat": 1000,
36938+
"amount_sent_msat": 1001,
3693936939
"failed_parts": 0,
3694036940
"successful_parts": 1
3694136941
}

doc/schemas/lightning-bkpr-channelsapy.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -216,16 +216,16 @@
216216
"channels_apy": [
217217
{
218218
"account": "channelid0120000120000120000120000120000120000120000120000120000",
219-
"routed_out_msat": 1000000,
220-
"routed_in_msat": 510091208,
219+
"routed_out_msat": 1001000,
220+
"routed_in_msat": 510092209,
221221
"lease_fee_paid_msat": 0,
222222
"lease_fee_earned_msat": 0,
223223
"pushed_out_msat": 0,
224224
"pushed_in_msat": 0,
225225
"our_start_balance_msat": 0,
226226
"channel_start_balance_msat": 1000000000,
227-
"fees_out_msat": 0,
228-
"fees_in_msat": 106,
227+
"fees_out_msat": 1,
228+
"fees_in_msat": 107,
229229
"utilization_out": "30.7060%",
230230
"utilization_in": "10.0027%",
231231
"utilization_in_initial": "50.0081%",
@@ -278,16 +278,16 @@
278278
},
279279
{
280280
"account": "net",
281-
"routed_out_msat": 1011190102,
282-
"routed_in_msat": 510091208,
281+
"routed_out_msat": 1011191102,
282+
"routed_in_msat": 510092209,
283283
"lease_fee_paid_msat": 0,
284284
"lease_fee_earned_msat": 0,
285285
"pushed_out_msat": 0,
286286
"pushed_in_msat": 0,
287287
"our_start_balance_msat": 2000000000,
288288
"channel_start_balance_msat": 3000000000,
289-
"fees_out_msat": 106,
290-
"fees_in_msat": 106,
289+
"fees_out_msat": 107,
290+
"fees_in_msat": 107,
291291
"utilization_out": "33.7060%",
292292
"utilization_out_initial": "53.5591%",
293293
"utilization_in": "13.0027%",

doc/schemas/lightning-delforward.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
"method": "delforward",
8080
"params": {
8181
"in_channel": "109x1x1",
82-
"in_htlc_id": 21,
82+
"in_htlc_id": 22,
8383
"status": "failed"
8484
}
8585
},

doc/schemas/lightning-listforwards.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -392,10 +392,10 @@
392392
"response": {
393393
"forwards": [
394394
{
395-
"created_index": 12,
396-
"updated_index": 7,
395+
"created_index": 13,
396+
"updated_index": 8,
397397
"in_channel": "109x1x1",
398-
"in_htlc_id": 19,
398+
"in_htlc_id": 20,
399399
"out_channel": "123x1x1",
400400
"out_htlc_id": 2,
401401
"in_msat": 50000501,
@@ -407,10 +407,10 @@
407407
"resolved_time": 1738500000
408408
},
409409
{
410-
"created_index": 13,
411-
"updated_index": 8,
410+
"created_index": 14,
411+
"updated_index": 9,
412412
"in_channel": "109x1x1",
413-
"in_htlc_id": 20,
413+
"in_htlc_id": 21,
414414
"out_channel": "123x1x1",
415415
"out_htlc_id": 3,
416416
"in_msat": 50000501,

doc/schemas/lightning-listoffers.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -109,24 +109,24 @@
109109
"response": {
110110
"offers": [
111111
{
112-
"offer_id": "offeridl23000002300000230000023000002300000230000023000002300000",
112+
"offer_id": "offeridl21000002100000210000021000002100000210000021000002100000",
113113
"active": true,
114114
"single_use": false,
115-
"bolt12": "lno1qgsq000bolt230002300023000230002300023000230002300023000230002300023000230002300023000230002300023000230002300023000230002300023000",
115+
"bolt12": "lno1qgsq000bolt210002100021000210002100021000210002100021000210002100021000210002100021000210002100021000210002100021000210002100021000",
116116
"used": false
117117
},
118118
{
119-
"offer_id": "offeridl21000002100000210000021000002100000210000021000002100000",
119+
"offer_id": "offeridl22000002200000220000022000002200000220000022000002200000",
120120
"active": true,
121121
"single_use": false,
122-
"bolt12": "lno1qgsq000bolt210002100021000210002100021000210002100021000210002100021000210002100021000210002100021000210002100021000210002100021000",
122+
"bolt12": "lno1qgsq000bolt220002200022000220002200022000220002200022000220002200022000220002200022000220002200022000220002200022000220002200022000",
123123
"used": false
124124
},
125125
{
126-
"offer_id": "offeridl22000002200000220000022000002200000220000022000002200000",
126+
"offer_id": "offeridl23000002300000230000023000002300000230000023000002300000",
127127
"active": true,
128128
"single_use": false,
129-
"bolt12": "lno1qgsq000bolt220002200022000220002200022000220002200022000220002200022000220002200022000220002200022000220002200022000220002200022000",
129+
"bolt12": "lno1qgsq000bolt230002300023000230002300023000230002300023000230002300023000230002300023000230002300023000230002300023000230002300023000",
130130
"used": false
131131
}
132132
]
@@ -137,7 +137,7 @@
137137
"id": "example:listoffers#2",
138138
"method": "listoffers",
139139
"params": [
140-
"b791f88cebf775853112c30828e116487f4d6c252d669372532b468bc7de8a24"
140+
"offeridl23000002300000230000023000002300000230000023000002300000"
141141
]
142142
},
143143
"response": {

0 commit comments

Comments
 (0)