102 Commits (5a95e9f29a83e9d495bc53479c4235f2ff9ebe67)

Author SHA1 Message Date
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
Rusty Russell 7d0a76c533 goossipd: make store load truncate on errors. 7 years ago
Christian Decker 63f22d70b5 gossip: Store channel deletions so we don't re-add them on restart 7 years ago
Christian Decker 82e1f5ade1 gossip: Make gossip_store_append private 7 years ago
Christian Decker 44e23b3773 gossip: Replay the entire store on init instead of when idle 7 years ago
Christian Decker 3826518bd6 gossip: Wrap node_announcements in gossip_store messages 7 years ago
Christian Decker db13c7e851 gossip: Wrap channel_updates in the gossip_store as well 7 years ago
Christian Decker 6e01f38d7d gossip: Use the custom gossip wire msg to wrap channel_announcements 7 years ago
Christian Decker 6894f20927 gossip: Change gossip_store message length to u32 7 years ago
Christian Decker b5602a0973 gossip: Add version byte to the gossip_store 7 years ago
Christian Decker 1b6db5fd52 gossip: Remove redundant replaysize 7 years ago
Christian Decker 2879d78f22 gossip: Switch gossip_store to use a single fd 7 years ago
Christian Decker 5944524d01 gossip: Avoid reading gossip messages that we just wrote 7 years ago
Christian Decker 1135760a2f gossip: Add desctructor to gossip_store 7 years ago