rgb-cln/wallet
Rusty Russell ca53c1b699 gossipd: push our own gossip messages harder.
I had a report of a 0.7.2 user whose node hadn't appeared on 1ml.  Their
node_announcement wasn't visible to my node, either.

I suspect this is a consequence of recent version reducing the amount of
gossip they send, as well as large nodes increasingly turning off gossip
altogether from some peers (as we do).  We should ignore timestamp filters
for our own channels: the easiest way to do this is to push them out
directly from gossipd (other messages are sent via the store).

We change channeld to wrap the local channel_announcements: previously
we just handed it to gossipd as for any other gossip message we received
from our peer.  Now gossipd knows to push it out, as it's local.

This interferes with the logic in tests/test_misc.py::test_htlc_send_timeout
which expects the node_announcement message last, so we generalize
that too.

[ Thanks to @trueptolmy for bugfix! ]
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2019-10-14 15:00:37 -05:00
..
test gossipd: push our own gossip messages harder. 2019-10-14 15:00:37 -05:00
.gitignore wallet: Create and manage a sqlite3 database for the wallet 2017-06-06 09:16:10 +09:30
Makefile postgres: Add postgres statement rewriting support 2019-09-22 02:03:43 +00:00
db.c lightningd: Add a new field `shutdown_scriptpubkey[NUM_SIDES]` 2019-10-09 21:04:16 -05:00
db.h db: Switch statement lookup to use the original query instead 2019-09-22 02:03:43 +00:00
db_common.h db: Implement postgres driver primitives 2019-09-22 02:03:43 +00:00
db_postgres.c db: Implement postgres driver primitives 2019-09-22 02:03:43 +00:00
db_sqlite3.c db: Move remainder of the sqlite3 into the apropriate file 2019-09-22 02:03:43 +00:00
invoices.c db: Adjust queries to work with postgres 2019-09-22 02:03:43 +00:00
invoices.h ccan: import ccan/json_out and ccan/json_escape. 2019-06-12 02:00:15 +00:00
txfilter.c elements: Fix transaction handling for elements transactions 2019-10-03 04:32:57 +00:00
txfilter.h pubkey: rename PUBKEY_DER_LEN to PUBKEY_CMPR_LEN. 2019-04-09 12:37:16 -07:00
wallet.c lightningd: Add a new field `shutdown_scriptpubkey[NUM_SIDES]` 2019-10-09 21:04:16 -05:00
wallet.h wallet: Retrieve transaction annotations when listing transactions 2019-10-07 20:03:24 -05:00
walletrpc.c walletrpc: explicitly note we discard utx on unsuccessful broadcast 2019-10-10 05:57:45 +00:00
walletrpc.h Use expected LIGHTNING_DIR_FILE_H define 2018-03-25 23:54:21 +00:00