mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-20 10:39:49 +01:00
1a85edd207
We fix up the test by using pay, instead of sendpay (and making pay log the expected message). Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Changelog-Changed: sendpay no longer extracts updates from errors, the caller should do it from the `raw_message`.
6.5 KiB
6.5 KiB
1 | #include <common/cryptomsg.h> |
---|---|
2 | #include <common/features.h> |
3 | #include <common/wireaddr.h> |
4 | #include <wire/onion_wire.h> |
5 | # Initialize the gossip daemon. |
6 | # Pass JSON-RPC getnodes call through |
7 | #include <lightningd/gossip_msg.h> |
8 | # Pass JSON-RPC getroute call through |
9 | # Ping/pong test. Waits for a reply if it expects one. |
10 | # False if id in gossip_ping was unknown. |
11 | # 0 == no pong expected |
12 | # Set artificial maximum reply_channel_range size. Master->gossipd |
13 | # gossipd->master: we're closing this channel. |
14 | # Gossipd->master get this tx output please. |
15 | # master -> gossipd: stop gossip timers. |
16 | # master -> gossipd: do you have a memleak? |
17 | # master -> gossipd: please rewrite the gossip_store |
18 | # gossipd -> master: ok |
19 | #include <common/bolt11.h> |
20 | # master -> gossipd: get route_info for our incoming channels |
21 | # gossipd -> master: here they are. |
22 | # master -> gossipd: blockheight increased. |
23 | # Lightningd tells us to send a onion message. |
24 | # Lightningd tells us to inject a gossip message (for addgossip RPC) |
25 | # Empty string means no problem. |