102 Commits (5a95e9f29a83e9d495bc53479c4235f2ff9ebe67)

Author SHA1 Message Date
Rusty Russell eed654f684 connectd, gossipd: use per-peer logging. 5 years ago
Rusty Russell 7f45e55d84 gossipd: set the push marker for our own messages. 5 years ago
Rusty Russell bb370e66a8 gossipd: handle a "push" marker into the gossip_store. 5 years ago
Rusty Russell a1644c1b6e seeker: start doing a channel probe if we see unknown node_announcement msgs. 5 years ago
Rusty Russell 0091300ee3 gossipd: track what peer gave us gossip msgs so we can credit it. 5 years ago
Rusty Russell 296868daf4 gossipd: have gossip_store_load() return a timestamp. 5 years ago
Rusty Russell 2577ad87d5 gossipd: use gossip_time_now() everywhere. 5 years ago
Rusty Russell afbed94a6c gossipd: work around missing pwritev(). 5 years ago
darosior 0b0ad4c22d transition from status_trace() to status_debug 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
Rusty Russell c95b4eedf4 gossipd: fail clearly if we can't open/create gossip_store. 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 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 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 628b65fb40 gossip_store: don't leave dangling channel_announce if we truncate. 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 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 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
Rusty Russell 43f2cbd250 gossipd: track gossip_store locations of local channels. 6 years ago
Rusty Russell 180a552fba gossip_store: mark private updates separately from normal ones. 6 years ago
Rusty Russell 763697eb4c gossipd: fix gossip_store calling delete. 6 years ago
Rusty Russell c233fc5063 gossipd: fix spurious unused error with gcc-9 -O3. 6 years ago
Rusty Russell c091a4ee40 gossipd: fix spurious gcc warning. 6 years ago
Rusty Russell d1f43d993a gossipd: use explicit destructor for struct chan. 6 years ago
Rusty Russell 85d8848ede gossipd: neaten insert_broadcast a little. 6 years ago
Rusty Russell 0e37ac2433 common: move gossip_store read routine where subdaemons can access it. 6 years ago
Rusty Russell d8db4e871f gossipd: provide new fd to per-peer daemons when we compact it. 6 years ago
Rusty Russell 13717c6ebb gossipd: hand a gossip_store_fd to all subdaemons. 6 years ago
Rusty Russell 89291b930e gossipd: pass amount into gossip_store, rather than having it fetch. 6 years ago
Rusty Russell 7ede5aac31 gossip_store: change format so we store raw messages. 6 years ago
Rusty Russell 0ca0db765a gossipd: fix crash if we truncate store. 6 years ago
Rusty Russell b248bb155a tools/bench-gossipd.sh: make it work (where possible) with DEVELOPER=0 6 years ago
Rusty Russell 261921dee2 gossipd: adjust peers' broadcast_offset when compacting store. 6 years ago
Rusty Russell fdb42c3170 gossipd: don't keep channel_updates in memory. 6 years ago
Rusty Russell 0370ed2eca gossipd: use pread in the store. 6 years ago
Rusty Russell 2135c7a024 gossipd: allow reading from the store during load. 6 years ago