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
328 changes: 307 additions & 21 deletions contrib/msggen/msggen/schema.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion doc/schemas/askrene-age.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
},
"response": {
"layer": "test_layers",
"num_removed": 2
"num_removed": 3
}
}
]
Expand Down
28 changes: 15 additions & 13 deletions doc/schemas/askrene-bias-node.json
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@
"method": "askrene-bias-node",
"params": {
"layer": "test_layers",
"node": "nodeid030303030303030303030303030303030303030303030303030303030303",
"node": "03cecbfdc68544cc596223b68ce0710c9e5d2c9cb317ee07822d95079acc703d31",
"direction": "out",
"bias": 1
}
Expand All @@ -145,9 +145,10 @@
"node_biases": [
{
"layer": "test_layers",
"node": "nodeid030303030303030303030303030303030303030303030303030303030303",
"node": "03cecbfdc68544cc596223b68ce0710c9e5d2c9cb317ee07822d95079acc703d31",
"in_bias": 0,
"out_bias": 1
"out_bias": 1,
"timestamp": 1738000000
}
]
}
Expand All @@ -156,22 +157,23 @@
"request": {
"id": "example:askrene-bias-node#2",
"method": "askrene-bias-node",
"params": [
"test_layers",
"nodeid030303030303030303030303030303030303030303030303030303030303",
"out",
-5,
"this node is unreliable"
]
"params": {
"layer": "test_layers",
"node": "03cecbfdc68544cc596223b68ce0710c9e5d2c9cb317ee07822d95079acc703d31",
"direction": "out",
"bias": -5,
"description": "This node is unreliable"
}
},
"response": {
"node_biases": [
{
"layer": "test_layers",
"node": "nodeid030303030303030303030303030303030303030303030303030303030303",
"description": "this is node is unreliable",
"node": "03cecbfdc68544cc596223b68ce0710c9e5d2c9cb317ee07822d95079acc703d31",
"description": "This node is unreliable",
"in_bias": 0,
"out_bias": -5
"out_bias": -5,
"timestamp": 1738000000
}
]
}
Expand Down
20 changes: 18 additions & 2 deletions doc/schemas/askrene-listlayers.json
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,15 @@
"timestamp": 1738000000
}
],
"node_biases": []
"node_biases": [
{
"node": "03cecbfdc68544cc596223b68ce0710c9e5d2c9cb317ee07822d95079acc703d31",
"description": "This node is unreliable",
"in_bias": 0,
"out_bias": -5,
"timestamp": 1738000000
}
]
}
]
}
Expand Down Expand Up @@ -410,7 +418,15 @@
"timestamp": 1738000000
}
],
"node_biases": []
"node_biases": [
{
"node": "03cecbfdc68544cc596223b68ce0710c9e5d2c9cb317ee07822d95079acc703d31",
"description": "This node is unreliable",
"in_bias": 0,
"out_bias": -5,
"timestamp": 1738000000
}
]
},
{
"layer": "xpay",
Expand Down
13 changes: 13 additions & 0 deletions doc/schemas/askrene-remove-channel-update.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,18 @@
],
"resources": [
"Main web site: [https://github.com/ElementsProject/lightning](https://github.com/ElementsProject/lightning)"
],
"examples": [
{
"request": {
"id": "example:askrene-remove-channel-update#1",
"method": "askrene-remove-channel-update",
"params": {
"layer": "test_layers",
"short_channel_id_dir": "0x0x1/0"
}
},
"response": {}
}
]
}
4 changes: 2 additions & 2 deletions doc/schemas/bkpr-editdescriptionbyoutpoint.json
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@
"id": "example:bkpr-editdescriptionbyoutpoint#1",
"method": "bkpr-editdescriptionbyoutpoint",
"params": {
"outpoint": "e3ece679d27d3629ff2b141786a0bd69eea3d6c91c2d7f331cb40f91bf45bced:0",
"outpoint": "767141b3a1364eea439c16cc4f955cab5634d35a898c96b292a6503eeba3231a:1",
"description": "edited utxo description"
}
},
Expand All @@ -285,7 +285,7 @@
"credit_msat": 200000000000,
"debit_msat": 0,
"currency": "bcrt",
"outpoint": "e3ece679d27d3629ff2b141786a0bd69eea3d6c91c2d7f331cb40f91bf45bced:0",
"outpoint": "767141b3a1364eea439c16cc4f955cab5634d35a898c96b292a6503eeba3231a:1",
"timestamp": 1738000001,
"blockheight": 112,
"description": "edited utxo description"
Expand Down
2 changes: 1 addition & 1 deletion doc/schemas/bkpr-inspect.json
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@
"response": {
"txs": [
{
"txid": "88c5963d6e1b0790375d5ce51c7fdd58b9b241c104754d2b704aee8cbdc5e7b5",
"txid": "713a023034f58d25b76e2a15c40b50db4a58455e707b9e671f97f255eea1d9cf",
"blockheight": 130,
"fees_paid_msat": 4927000,
"outputs": [
Expand Down
Loading
Loading