820 Commits (65963bc003212e2340cc354c25f7b16c7fe5df28)

Author SHA1 Message Date
Rusty Russell 855dff704c gossipd: test crc32 routines using test vectors from PR. 5 years ago
Rusty Russell d1a1592cc8 gossipd: fix calculation of crc32 of update. 5 years ago
Rusty Russell 0ec8304901 gossipd: fix premature towire_reply_short_channel_ids_end if no node_announcement. 5 years ago
Rusty Russell 2f1e116510 gossipd: use htable_count() rather than reaching into htable struct. 5 years ago
Rusty Russell 51541f53d8 gossipd: test vectors for https://github.com/lightningnetwork/lightning-rfc/pull/557 5 years ago
Rusty Russell 4de47f6db5 gossipd: use default zlib compression, hack for zlib expansion. 5 years ago
Rusty Russell f6cf4bf62a spec: remove encoding byte from checksums. 5 years ago
Rusty Russell 8abd850d3c gossipd: append timestamps & checksums to reply_channel_range if asked (EXPERIMENTAL) 5 years ago
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. 6 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