65 Commits (b1bbafb19c31b7990e4cc3c57b30023903d04204)

Author SHA1 Message Date
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
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
Rusty Russell 417e1bab7d gossipd: use iterator helpers for iterating node channels. 6 years ago
Rusty Russell 891ee20a59 tools/bench-gossipd.sh: rough benchmark for gossipd and the million channels project 6 years ago
Rusty Russell 2bd7df93c6 gossipd: preserve unannounced channels across store compaction. 6 years ago
Rusty Russell 7c8f506a0f dev-compact-store-gossip: specific RPC so we can test gossip_store rewrite. 6 years ago
Rusty Russell 3ac0e814d0 daemons: use amount_msat/amount_sat in all internal wire transfers. 6 years ago
Rusty Russell 5c60d7ffb2 gossipd: split wire types into msgs from lightningd and msgs from per-peer daemons 6 years ago
Rusty Russell 8455b12781 Revert "gossipd: handle premature node_announcements in the store." 6 years ago
Rusty Russell e2f426903d gossipd: handle premature node_announcements in the store. 6 years ago
Rusty Russell 317a830e94 devtools: dump-gossipstore. 6 years ago
Rusty Russell a475098928 gossipd: fix leak in gossip_store_add_channel_delete. 6 years ago
Rusty Russell 5cf34d6618 Remove tal_len, use tal_count() or tal_bytelen(). 7 years ago
Christian Decker 71ec8193b2
gossip: Avoid integer count overflow in gossip_store 7 years ago
Christian Decker 6632f44133 gossip: Disable gossip_store temporarily while replaying messages 7 years ago
Christian Decker 8a5bebed59 gossip: Disable future compactions if we fail a compaction 7 years ago
Christian Decker 74a1cbd877 gossip: Implement gossip_store compaction 7 years ago
Christian Decker b9a2400a5f gossip: Simplify message handling in gossip_store 7 years ago
Christian Decker 60efa314fe gossip: Separate writing to gossip_store fd from append 7 years ago
Christian Decker e6ab594904 gossip: Have gossip_store annotate gossip messages 7 years ago
Christian Decker 0546ca446d gossip: Pass routing_state to the gossip_store 7 years ago
Christian Decker eaba5a249a gossip: Introduce bookkeeping into gossip_store for rewrite 7 years ago
Christian Decker 552ddb8dfd gossip: Pass broadcast_state to gossip_store 7 years ago
Christian Decker 402125a70e gossip: Add CRC32 checksum to the gossip_store 7 years ago
practicalswift 8cc02f63bc gossipd: Handle failed lseek(...) 7 years ago
Christian Decker 64fbea1528 gossip_store: Save local_add_channel messages and replay them 7 years ago
Rusty Russell b0c2e3cd5c gossipd: use a separate CSV file for the gossip_store types. 7 years ago
Rusty Russell 57b38cac71 gossip_store: empty, don't truncate, on error. 7 years ago
Rusty Russell d5767fb3bb gossipd: print stats even if we truncate store. 7 years ago
Rusty Russell 2b8293c9f6 gossipd: don't use pwrite, better error messaging on init. 7 years ago