core-lightning/gossipd/gossip_wire.csv
Rusty Russell b4aff493f1 pay: always send onion error message to gossipd.
There were no channel updates in my log; because sendonion doesn't know the
actual node_ids or channel_ids, we can't tell gossipd what node/channel it was
so it can no longer remove them on PERM errors.

However, we can tell it the error message so it can apply the update.

Fixes: #3877
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2020-07-27 15:22:38 +02:00

5.3 KiB

1#include <common/cryptomsg.h>
2#include <common/features.h>
3#include <common/wireaddr.h>
4#include <wire/gen_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 an htlc failed with this onion error.
16# master -> gossipd: stop gossip timers.
17# master -> gossipd: do you have a memleak?
18# master -> gossipd: please rewrite the gossip_store
19# gossipd -> master: ok
20#include <common/bolt11.h>
21# master -> gossipd: get route_info for our incoming channels
22# gossipd -> master: here they are.
23# master -> gossipd: blockheight increased.