Skip to content

Commit 8f891ce

Browse files
doc: update examples without blinded path hop
1 parent d2f4196 commit 8f891ce

7 files changed

+88
-88
lines changed

contrib/msggen/msggen/schema.json

+44-44
Original file line numberDiff line numberDiff line change
@@ -2819,16 +2819,16 @@
28192819
"channels_apy": [
28202820
{
28212821
"account": "channelid0120000120000120000120000120000120000120000120000120000",
2822-
"routed_out_msat": 1001000,
2823-
"routed_in_msat": 510092209,
2822+
"routed_out_msat": 1000000,
2823+
"routed_in_msat": 510091208,
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": 1,
2831-
"fees_in_msat": 107,
2830+
"fees_out_msat": 0,
2831+
"fees_in_msat": 106,
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": 1011191102,
2885-
"routed_in_msat": 510092209,
2884+
"routed_out_msat": 1011190102,
2885+
"routed_in_msat": 510091208,
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": 107,
2893-
"fees_in_msat": 107,
2892+
"fees_out_msat": 106,
2893+
"fees_in_msat": 106,
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": 22,
11007+
"in_htlc_id": 21,
1100811008
"status": "failed"
1100911009
}
1101011010
},
@@ -21756,10 +21756,10 @@
2175621756
"response": {
2175721757
"forwards": [
2175821758
{
21759-
"created_index": 13,
21760-
"updated_index": 8,
21759+
"created_index": 12,
21760+
"updated_index": 7,
2176121761
"in_channel": "109x1x1",
21762-
"in_htlc_id": 20,
21762+
"in_htlc_id": 19,
2176321763
"out_channel": "123x1x1",
2176421764
"out_htlc_id": 2,
2176521765
"in_msat": 50000501,
@@ -21771,10 +21771,10 @@
2177121771
"resolved_time": 1738500000
2177221772
},
2177321773
{
21774-
"created_index": 14,
21775-
"updated_index": 9,
21774+
"created_index": 13,
21775+
"updated_index": 8,
2177621776
"in_channel": "109x1x1",
21777-
"in_htlc_id": 21,
21777+
"in_htlc_id": 20,
2177821778
"out_channel": "123x1x1",
2177921779
"out_htlc_id": 3,
2178021780
"in_msat": 50000501,
@@ -25413,8 +25413,8 @@
2541325413
"remote_funds_msat": 0,
2541425414
"pushed_msat": 0
2541525415
},
25416-
"to_us_msat": 390492789,
25417-
"min_to_us_msat": 390492789,
25416+
"to_us_msat": 390492790,
25417+
"min_to_us_msat": 390492790,
2541825418
"max_to_us_msat": 1000000000,
2541925419
"total_msat": 1000000000,
2542025420
"fee_base_msat": 1,
@@ -25425,8 +25425,8 @@
2542525425
"our_max_htlc_value_in_flight_msat": 18446744073709552000,
2542625426
"their_reserve_msat": 10000000,
2542725427
"our_reserve_msat": 10000000,
25428-
"spendable_msat": 363951707,
25429-
"receivable_msat": 599507211,
25428+
"spendable_msat": 363951708,
25429+
"receivable_msat": 599507210,
2543025430
"minimum_htlc_in_msat": 0,
2543125431
"minimum_htlc_out_msat": 0,
2543225432
"maximum_htlc_out_msat": 990000000,
@@ -25452,18 +25452,18 @@
2545225452
"status": [
2545325453
"CHANNELD_NORMAL:Channel ready for use."
2545425454
],
25455-
"in_payments_offered": 2,
25456-
"in_offered_msat": 1001000,
25457-
"in_payments_fulfilled": 2,
25458-
"in_fulfilled_msat": 1001000,
25459-
"out_payments_offered": 23,
25460-
"out_offered_msat": 665529798,
25461-
"out_payments_fulfilled": 17,
25462-
"out_fulfilled_msat": 610508211,
25455+
"in_payments_offered": 1,
25456+
"in_offered_msat": 1000000,
25457+
"in_payments_fulfilled": 1,
25458+
"in_fulfilled_msat": 1000000,
25459+
"out_payments_offered": 22,
25460+
"out_offered_msat": 665528797,
25461+
"out_payments_fulfilled": 16,
25462+
"out_fulfilled_msat": 610507210,
2546325463
"htlcs": [
2546425464
{
2546525465
"direction": "out",
25466-
"id": 18,
25466+
"id": 17,
2546725467
"amount_msat": 4000082,
2546825468
"expiry": 181,
2546925469
"payment_hash": "paymenthashdelpay30303030303030303030303030303030303030303030303",
@@ -25545,8 +25545,8 @@
2554525545
"remote_funds_msat": 0,
2554625546
"pushed_msat": 0
2554725547
},
25548-
"to_us_msat": 390492789,
25549-
"min_to_us_msat": 390492789,
25548+
"to_us_msat": 390492790,
25549+
"min_to_us_msat": 390492790,
2555025550
"max_to_us_msat": 1000000000,
2555125551
"total_msat": 1000000000,
2555225552
"fee_base_msat": 1,
@@ -25557,8 +25557,8 @@
2555725557
"our_max_htlc_value_in_flight_msat": 18446744073709552000,
2555825558
"their_reserve_msat": 10000000,
2555925559
"our_reserve_msat": 10000000,
25560-
"spendable_msat": 363951707,
25561-
"receivable_msat": 599507211,
25560+
"spendable_msat": 363951708,
25561+
"receivable_msat": 599507210,
2556225562
"minimum_htlc_in_msat": 0,
2556325563
"minimum_htlc_out_msat": 0,
2556425564
"maximum_htlc_out_msat": 990000000,
@@ -25584,18 +25584,18 @@
2558425584
"status": [
2558525585
"CHANNELD_NORMAL:Channel ready for use."
2558625586
],
25587-
"in_payments_offered": 2,
25588-
"in_offered_msat": 1001000,
25589-
"in_payments_fulfilled": 2,
25590-
"in_fulfilled_msat": 1001000,
25591-
"out_payments_offered": 23,
25592-
"out_offered_msat": 665529798,
25593-
"out_payments_fulfilled": 17,
25594-
"out_fulfilled_msat": 610508211,
25587+
"in_payments_offered": 1,
25588+
"in_offered_msat": 1000000,
25589+
"in_payments_fulfilled": 1,
25590+
"in_fulfilled_msat": 1000000,
25591+
"out_payments_offered": 22,
25592+
"out_offered_msat": 665528797,
25593+
"out_payments_fulfilled": 16,
25594+
"out_fulfilled_msat": 610507210,
2559525595
"htlcs": [
2559625596
{
2559725597
"direction": "out",
25598-
"id": 18,
25598+
"id": 17,
2559925599
"amount_msat": 4000082,
2560025600
"expiry": 181,
2560125601
"payment_hash": "paymenthashdelpay30303030303030303030303030303030303030303030303",
@@ -34385,7 +34385,7 @@
3438534385
"rows": [
3438634386
[
3438734387
"nodeid020202020202020202020202020202020202020202020202020202020202",
34388-
490493791,
34388+
490493792,
3438934389
1000000000,
3439034390
"CHANNELD_NORMAL:Channel ready for use."
3439134391
]
@@ -34406,7 +34406,7 @@
3440634406
"response": {
3440734407
"rows": [
3440834408
[
34409-
10
34409+
9
3441034410
]
3441134411
]
3441234412
}
@@ -36990,7 +36990,7 @@
3699036990
"response": {
3699136991
"payment_preimage": "paymentpreimgxp2020202020202020202020202020202020202020202020202",
3699236992
"amount_msat": 1000,
36993-
"amount_sent_msat": 1001,
36993+
"amount_sent_msat": 1000,
3699436994
"failed_parts": 0,
3699536995
"successful_parts": 1
3699636996
}

doc/schemas/lightning-bkpr-channelsapy.json

+8-8
Original file line numberDiff line numberDiff line change
@@ -216,16 +216,16 @@
216216
"channels_apy": [
217217
{
218218
"account": "channelid0120000120000120000120000120000120000120000120000120000",
219-
"routed_out_msat": 1001000,
220-
"routed_in_msat": 510092209,
219+
"routed_out_msat": 1000000,
220+
"routed_in_msat": 510091208,
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": 1,
228-
"fees_in_msat": 107,
227+
"fees_out_msat": 0,
228+
"fees_in_msat": 106,
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": 1011191102,
282-
"routed_in_msat": 510092209,
281+
"routed_out_msat": 1011190102,
282+
"routed_in_msat": 510091208,
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": 107,
290-
"fees_in_msat": 107,
289+
"fees_out_msat": 106,
290+
"fees_in_msat": 106,
291291
"utilization_out": "33.7060%",
292292
"utilization_out_initial": "53.5591%",
293293
"utilization_in": "13.0027%",

doc/schemas/lightning-delforward.json

+1-1
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": 22,
82+
"in_htlc_id": 21,
8383
"status": "failed"
8484
}
8585
},

doc/schemas/lightning-listforwards.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -392,10 +392,10 @@
392392
"response": {
393393
"forwards": [
394394
{
395-
"created_index": 13,
396-
"updated_index": 8,
395+
"created_index": 12,
396+
"updated_index": 7,
397397
"in_channel": "109x1x1",
398-
"in_htlc_id": 20,
398+
"in_htlc_id": 19,
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": 14,
411-
"updated_index": 9,
410+
"created_index": 13,
411+
"updated_index": 8,
412412
"in_channel": "109x1x1",
413-
"in_htlc_id": 21,
413+
"in_htlc_id": 20,
414414
"out_channel": "123x1x1",
415415
"out_htlc_id": 3,
416416
"in_msat": 50000501,

doc/schemas/lightning-listpeerchannels.json

+26-26
Original file line numberDiff line numberDiff line change
@@ -1517,8 +1517,8 @@
15171517
"remote_funds_msat": 0,
15181518
"pushed_msat": 0
15191519
},
1520-
"to_us_msat": 390492789,
1521-
"min_to_us_msat": 390492789,
1520+
"to_us_msat": 390492790,
1521+
"min_to_us_msat": 390492790,
15221522
"max_to_us_msat": 1000000000,
15231523
"total_msat": 1000000000,
15241524
"fee_base_msat": 1,
@@ -1529,8 +1529,8 @@
15291529
"our_max_htlc_value_in_flight_msat": 18446744073709552000,
15301530
"their_reserve_msat": 10000000,
15311531
"our_reserve_msat": 10000000,
1532-
"spendable_msat": 363951707,
1533-
"receivable_msat": 599507211,
1532+
"spendable_msat": 363951708,
1533+
"receivable_msat": 599507210,
15341534
"minimum_htlc_in_msat": 0,
15351535
"minimum_htlc_out_msat": 0,
15361536
"maximum_htlc_out_msat": 990000000,
@@ -1556,18 +1556,18 @@
15561556
"status": [
15571557
"CHANNELD_NORMAL:Channel ready for use."
15581558
],
1559-
"in_payments_offered": 2,
1560-
"in_offered_msat": 1001000,
1561-
"in_payments_fulfilled": 2,
1562-
"in_fulfilled_msat": 1001000,
1563-
"out_payments_offered": 23,
1564-
"out_offered_msat": 665529798,
1565-
"out_payments_fulfilled": 17,
1566-
"out_fulfilled_msat": 610508211,
1559+
"in_payments_offered": 1,
1560+
"in_offered_msat": 1000000,
1561+
"in_payments_fulfilled": 1,
1562+
"in_fulfilled_msat": 1000000,
1563+
"out_payments_offered": 22,
1564+
"out_offered_msat": 665528797,
1565+
"out_payments_fulfilled": 16,
1566+
"out_fulfilled_msat": 610507210,
15671567
"htlcs": [
15681568
{
15691569
"direction": "out",
1570-
"id": 18,
1570+
"id": 17,
15711571
"amount_msat": 4000082,
15721572
"expiry": 181,
15731573
"payment_hash": "paymenthashdelpay30303030303030303030303030303030303030303030303",
@@ -1649,8 +1649,8 @@
16491649
"remote_funds_msat": 0,
16501650
"pushed_msat": 0
16511651
},
1652-
"to_us_msat": 390492789,
1653-
"min_to_us_msat": 390492789,
1652+
"to_us_msat": 390492790,
1653+
"min_to_us_msat": 390492790,
16541654
"max_to_us_msat": 1000000000,
16551655
"total_msat": 1000000000,
16561656
"fee_base_msat": 1,
@@ -1661,8 +1661,8 @@
16611661
"our_max_htlc_value_in_flight_msat": 18446744073709552000,
16621662
"their_reserve_msat": 10000000,
16631663
"our_reserve_msat": 10000000,
1664-
"spendable_msat": 363951707,
1665-
"receivable_msat": 599507211,
1664+
"spendable_msat": 363951708,
1665+
"receivable_msat": 599507210,
16661666
"minimum_htlc_in_msat": 0,
16671667
"minimum_htlc_out_msat": 0,
16681668
"maximum_htlc_out_msat": 990000000,
@@ -1688,18 +1688,18 @@
16881688
"status": [
16891689
"CHANNELD_NORMAL:Channel ready for use."
16901690
],
1691-
"in_payments_offered": 2,
1692-
"in_offered_msat": 1001000,
1693-
"in_payments_fulfilled": 2,
1694-
"in_fulfilled_msat": 1001000,
1695-
"out_payments_offered": 23,
1696-
"out_offered_msat": 665529798,
1697-
"out_payments_fulfilled": 17,
1698-
"out_fulfilled_msat": 610508211,
1691+
"in_payments_offered": 1,
1692+
"in_offered_msat": 1000000,
1693+
"in_payments_fulfilled": 1,
1694+
"in_fulfilled_msat": 1000000,
1695+
"out_payments_offered": 22,
1696+
"out_offered_msat": 665528797,
1697+
"out_payments_fulfilled": 16,
1698+
"out_fulfilled_msat": 610507210,
16991699
"htlcs": [
17001700
{
17011701
"direction": "out",
1702-
"id": 18,
1702+
"id": 17,
17031703
"amount_msat": 4000082,
17041704
"expiry": 181,
17051705
"payment_hash": "paymenthashdelpay30303030303030303030303030303030303030303030303",

0 commit comments

Comments
 (0)