|
193 | 193 | "request": { |
194 | 194 | "id": "example:askrene-listlayers#1", |
195 | 195 | "method": "askrene-listlayers", |
| 196 | + "params": [ |
| 197 | + "test_layers" |
| 198 | + ] |
| 199 | + }, |
| 200 | + "response": { |
| 201 | + "layers": [ |
| 202 | + { |
| 203 | + "layer": "test_layers", |
| 204 | + "disabled_nodes": [ |
| 205 | + "nodeid010101010101010101010101010101010101010101010101010101010101" |
| 206 | + ], |
| 207 | + "created_channels": [ |
| 208 | + { |
| 209 | + "source": "nodeid010101010101010101010101010101010101010101010101010101010101", |
| 210 | + "destination": "nodeid030303030303030303030303030303030303030303030303030303030303", |
| 211 | + "short_channel_id": "0x0x1", |
| 212 | + "capacity_msat": 1000000000 |
| 213 | + } |
| 214 | + ], |
| 215 | + "channel_updates": [ |
| 216 | + { |
| 217 | + "short_channel_id_dir": "0x0x1/0", |
| 218 | + "htlc_minimum_msat": 100, |
| 219 | + "htlc_maximum_msat": 900000000, |
| 220 | + "fee_base_msat": 1, |
| 221 | + "fee_proportional_millionths": 2, |
| 222 | + "cltv_expiry_delta": 18 |
| 223 | + } |
| 224 | + ], |
| 225 | + "constraints": [ |
| 226 | + { |
| 227 | + "short_channel_id_dir": "0x0x1/1", |
| 228 | + "timestamp": 1738000000, |
| 229 | + "minimum_msat": 100000 |
| 230 | + } |
| 231 | + ] |
| 232 | + } |
| 233 | + ] |
| 234 | + } |
| 235 | + }, |
| 236 | + { |
| 237 | + "request": { |
| 238 | + "id": "example:askrene-listlayers#2", |
| 239 | + "method": "askrene-listlayers", |
196 | 240 | "params": {} |
197 | 241 | }, |
198 | 242 | "response": { |
199 | | - "layers": [] |
| 243 | + "layers": [ |
| 244 | + { |
| 245 | + "layer": "test_layers", |
| 246 | + "disabled_nodes": [ |
| 247 | + "nodeid010101010101010101010101010101010101010101010101010101010101" |
| 248 | + ], |
| 249 | + "created_channels": [ |
| 250 | + { |
| 251 | + "source": "nodeid010101010101010101010101010101010101010101010101010101010101", |
| 252 | + "destination": "nodeid030303030303030303030303030303030303030303030303030303030303", |
| 253 | + "short_channel_id": "0x0x1", |
| 254 | + "capacity_msat": 1000000000 |
| 255 | + } |
| 256 | + ], |
| 257 | + "channel_updates": [ |
| 258 | + { |
| 259 | + "short_channel_id_dir": "0x0x1/0", |
| 260 | + "htlc_minimum_msat": 100, |
| 261 | + "htlc_maximum_msat": 900000000, |
| 262 | + "fee_base_msat": 1, |
| 263 | + "fee_proportional_millionths": 2, |
| 264 | + "cltv_expiry_delta": 18 |
| 265 | + } |
| 266 | + ], |
| 267 | + "constraints": [ |
| 268 | + { |
| 269 | + "short_channel_id_dir": "0x0x1/1", |
| 270 | + "timestamp": 1738000000, |
| 271 | + "minimum_msat": 100000 |
| 272 | + } |
| 273 | + ] |
| 274 | + } |
| 275 | + ] |
200 | 276 | } |
201 | 277 | } |
202 | 278 | ] |
|
0 commit comments