862 Commits (fix-mocks)

Author SHA1 Message Date
Rusty Russell c7853197ae gossipd: generalize encoding functions 5 years ago
Rusty Russell 0de11da5e4 gossipd: decode and obey query_short_channel_ids's TLV query_flags (EXPERIMENTAL) 5 years ago
Rusty Russell d2030539e1 EXPERIMENTAL: pull in PR 557 (with minor fixes): range query support. 5 years ago
Rusty Russell f9ecc76d99 gossipd: check that we don't try to access a deleted gossip entry. 5 years ago
Rusty Russell f57f068592 gossipd: don't use O_APPEND on the gossip_store. 5 years ago
ZmnSCPxj 3e74ca4b86 gossipd/routing.c: Correctly handle a duplicated entry in `exclude` of `getroute`. 5 years ago
Rusty Russell cc70b9c4ec wire: use common/bigsize routines 5 years ago
Rusty Russell 6bb8525e5d gossipd: fix crash when we prune old, un-updated channel announcements. 5 years ago
lisa neigut 32eaae0cb9 wire-gen: move in-house wire delcarations to new format 6 years ago
Rusty Russell b3215a866b gossipd: fix inverted test in debug print. 6 years ago
lisa neigut 5c07afac7d bolt: update to BOLT spec changes (extract format + type specifications) 6 years ago
Rusty Russell c95b4eedf4 gossipd: fail clearly if we can't open/create gossip_store. 6 years ago
lisa neigut 7046d0220c makefiles: move all unit tests under `make check-units` 6 years ago
Rusty Russell c303d7d534 gossipd: only do (automatic) store compaction at startup. 6 years ago
Rusty Russell c15d9ed37c gossip_store: make copy of corrupt gossip_store on failure. 6 years ago
Rusty Russell 8928f0b5f9 gossipd: remove gossip entirely if we hit a problem on load. 6 years ago
Rusty Russell 8ce3b86aa5 gossipd: tighter correctness checks during gossip_store load. 6 years ago
Rusty Russell fc27250f80 gossipd: be more verbose and less assert()ive on bad node_announcement. 6 years ago
Rusty Russell f1b57063f7 bitcoin/tx: use fromwire_fail in pull_bitcoin_tx. 6 years ago
Rusty Russell 47b5f2e837 gossipd: truncate gossip_store.tmp for compaction. 6 years ago
Rusty Russell 5e3690b3c5 gossipd: delete channel_amount from the store when we delete channel_announcement. 6 years ago
Rusty Russell 10c503b4b4 gossip_store: clean up a truncated store. 6 years ago
Rusty Russell 24cc371cdf gossipd: gossip_store errors after rewrite are fatal. 6 years ago
Rusty Russell eb5cc47bdd gossipd: count deleted records correctly when loading gossip_store. 6 years ago
Rusty Russell 745634d9b9 gossipd: don't catch pending node_announcements more than once. 6 years ago
Rusty Russell 1e32b4ab29 gossipd: adjust gossip filters if we discover we're missing gossip. 6 years ago
Rusty Russell 6830233d0b gossipd: control gossip level so we don't get flooded by peers. 6 years ago
Rusty Russell f5ea57d4c0 gossipd: reset gossip_missing if no reports for 10 minutes. 6 years ago
Rusty Russell b9053767e7 gossipd: query unknown short_channel_ids, note if they were really missing. 6 years ago
Rusty Russell 18069ab3da gossipd: APIs return more information about routing message handling. 6 years ago
Rusty Russell 5ef7aa70d2 gossipd: prepare for internally-generated short-channel-id queries. 6 years ago
Rusty Russell 21c920a8e8 gossipd: note if loaded store seems reasonably up-to-date. 6 years ago
Rusty Russell 0d2a4830ed ccan: update to faster and correct crc32c implementation. 6 years ago
Rusty Russell ab31f40aa2 gossipd: don't charge ourselves fees when calculating route. 6 years ago
Rusty Russell b48c644e7a listchannels: add `htlc_minimum_msat` and `htlc_maximum_msat` fields. 6 years ago
Rusty Russell 1a3886c116 wallet: keep a list of unreleased transactions. 6 years ago
Rusty Russell 628b65fb40 gossip_store: don't leave dangling channel_announce if we truncate. 6 years ago
Rusty Russell f8b98e032c gossipd: Don't abort() on duplicate entries in gossip_store. 6 years ago
Rusty Russell 34c113a17a gossipd: trivial clean up of routing_add_channel_update. 6 years ago
Rusty Russell 3e733afb2b gossipd: remove broadcast map altogether. 6 years ago
Rusty Russell dd83453b2f gossipd/gossip_store: fix compacting, don't use broadcast ordering. 6 years ago
Rusty Russell 5161b79bfc gossipd/gossip_store: keep count of deleted entries, don't use bs->count. 6 years ago
Rusty Russell 728bb4e662 common/gossip_store: handle timestamp filtering. 6 years ago
Rusty Russell 948490ec58 gossipd: add timestamp in gossip store header. 6 years ago
Rusty Russell bad9734dc7 gossip_store: remove redundant copy_message. 6 years ago
Rusty Russell 5591c0b5d8 gossipd: don't send gossip stream, let per-peer daemons read it themselves. 6 years ago
Rusty Russell 4399faf57c gossipd: make writes to gossip_store atomic. 6 years ago
Rusty Russell a5f6ef385a gossipd: don't wrap messages when we send them to the peer. 6 years ago
Rusty Russell df00f20e4a gossipd: erase old entries from the store, don't just append. 6 years ago
Rusty Russell 696dc6b597 gossipd: disable gossip_store upgrade. 6 years ago