93 Commits (b6605312169eb9f72ed3376283b45d36154e251c)

Author SHA1 Message Date
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. 5 years ago
Rusty Russell c303d7d534 gossipd: only do (automatic) store compaction at startup. 5 years ago
Rusty Russell c15d9ed37c gossip_store: make copy of corrupt gossip_store on failure. 5 years ago
Rusty Russell 8928f0b5f9 gossipd: remove gossip entirely if we hit a problem on load. 5 years ago
Rusty Russell 47b5f2e837 gossipd: truncate gossip_store.tmp for compaction. 5 years ago
Rusty Russell 5e3690b3c5 gossipd: delete channel_amount from the store when we delete channel_announcement. 5 years ago
Rusty Russell 10c503b4b4 gossip_store: clean up a truncated store. 5 years ago
Rusty Russell 24cc371cdf gossipd: gossip_store errors after rewrite are fatal. 5 years ago
Rusty Russell eb5cc47bdd gossipd: count deleted records correctly when loading gossip_store. 5 years ago
Rusty Russell 21c920a8e8 gossipd: note if loaded store seems reasonably up-to-date. 5 years ago
Rusty Russell 0d2a4830ed ccan: update to faster and correct crc32c implementation. 5 years ago
Rusty Russell 628b65fb40 gossip_store: don't leave dangling channel_announce if we truncate. 5 years ago
Rusty Russell 3e733afb2b gossipd: remove broadcast map altogether. 5 years ago
Rusty Russell dd83453b2f gossipd/gossip_store: fix compacting, don't use broadcast ordering. 5 years ago
Rusty Russell 5161b79bfc gossipd/gossip_store: keep count of deleted entries, don't use bs->count. 5 years ago
Rusty Russell 948490ec58 gossipd: add timestamp in gossip store header. 5 years ago
Rusty Russell bad9734dc7 gossip_store: remove redundant copy_message. 5 years ago
Rusty Russell 5591c0b5d8 gossipd: don't send gossip stream, let per-peer daemons read it themselves. 5 years ago
Rusty Russell 4399faf57c gossipd: make writes to gossip_store atomic. 5 years ago
Rusty Russell df00f20e4a gossipd: erase old entries from the store, don't just append. 5 years ago
Rusty Russell 696dc6b597 gossipd: disable gossip_store upgrade. 5 years ago
Rusty Russell 43f2cbd250 gossipd: track gossip_store locations of local channels. 5 years ago
Rusty Russell 180a552fba gossip_store: mark private updates separately from normal ones. 5 years ago
Rusty Russell 763697eb4c gossipd: fix gossip_store calling delete. 5 years ago
Rusty Russell c233fc5063 gossipd: fix spurious unused error with gcc-9 -O3. 5 years ago
Rusty Russell c091a4ee40 gossipd: fix spurious gcc warning. 5 years ago
Rusty Russell d1f43d993a gossipd: use explicit destructor for struct chan. 5 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
Rusty Russell 3280466e19 gossipd: don't keep channel_announcement messages in memory. 6 years ago
Rusty Russell cb297b0a1b gossipd: free tmpctx children in gossip_store_load loop. 6 years ago
Rusty Russell 6b9069ee28 broadcast: don't keep payload pointer. 6 years ago
Rusty Russell da845b660b gossipd: gossip_store_get() to load a single store entry. 6 years ago
Rusty Russell 1f08cfb3e3 gossipd: use file offset within store as broadcast index. 6 years ago
Rusty Russell ec50ec6a71 gossipd: make gossip loading stats accurate. 6 years ago
Rusty Russell eb4564c3cd gossipd: embed broadcast information into each structure. 6 years ago
Rusty Russell 62918fcb3b gossip_store: avoid gratuitous copy on load. 6 years ago
Rusty Russell 91849dddc4 wire: use struct node_id for node ids. 6 years ago