566 Commits (d8aee68ba85861d7aa1216c596f18a8ff1c73b8d)

Author SHA1 Message Date
Rusty Russell d8aee68ba8 gossipd: handle duplicate nodes from unverified channel_announces properly. 6 years ago
Rusty Russell da884751e8 gossipd: make routing_add_channel_update discard old timestamps. 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 617c23e735 gossipd: use u32 for timestamp. 6 years ago
Rusty Russell 0b484b111e gossipd: make more compact getchannels entries. 6 years ago
Rusty Russell 91849dddc4 wire: use struct node_id for node ids. 6 years ago
Rusty Russell a2fa699e0e Use node_id everywhere for nodes. 6 years ago
Rusty Russell d4ab0592c5 fixup! gossipd: use simple inline array for nodes with few channels. 6 years ago
Rusty Russell b6494c1994 gossipd: use simple inline array for nodes with few channels. 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 c424c42668 gossipd: store local channel updates across restart, even if unannounced. 6 years ago
Rusty Russell 7c8f506a0f dev-compact-store-gossip: specific RPC so we can test gossip_store rewrite. 6 years ago
Rusty Russell 5b12007a4f gossipd: dev option to allow unknown channels. 6 years ago
Rusty Russell f8f6533dba dev: --dev-gossip-time so gossipd doesn't prune old data. 6 years ago
Rusty Russell b2c93beaed gossipd: use htable instead of simple array for node's channels. 6 years ago
Christian Decker f3c234529e gossip: Cache txout query failures 6 years ago
Christian Decker 426b22fdcb gossip: Bump `gossip_getnodes_reply` result count to be u32 as well 6 years ago
Christian Decker 25e829c7d1 gossip: Make the `listchannels` reply result count a u32 6 years ago
Rusty Russell 00f3a84af2 test: fix thinko in gossipd/test/run-bench-find_route.c 6 years ago
Rusty Russell 38e7d19dd5 Makefile: check for direct amount_sat/amount_msat access. 6 years ago
Rusty Russell 28f5da7b2f tools/generate-wire: use amount_msat / amount_sat for peer protocol. 6 years ago
Rusty Russell 3ac0e814d0 daemons: use amount_msat/amount_sat in all internal wire transfers. 6 years ago
Rusty Russell 85b8b25749 bitcoin/chainparams: use amount_sat / amount_msat 6 years ago
Rusty Russell 83adb94583 lightningd and routing: use struct amount_msat. 6 years ago
Rusty Russell 7fad7bccba common/amount: new types struct amount_msat and struct amount_sat. 6 years ago
Michael Schmoock 302a78f4eb fix: add inline exception for recent cppcheck false positive 6 years ago
Rusty Russell b99293fbb6 short_channel_id: don't accept :-separated in JSON if --allow-deprecated-apis=false 6 years ago
Rusty Russell 3ae0c20026 getroute: change definition (and pay default) for riskfactor. 6 years ago
Rusty Russell 05f95b59c1 gossipd: take into account risk in final route comparison. 6 years ago
Rusty Russell 662bb0c565 gossipd: fix riskfactor passing. 6 years ago
Rusty Russell 6a26b0c18d gossipd: increase randomness in route selection. 6 years ago
Rusty Russell afab1f7b3c gossipd: handle onion errors internally. 6 years ago
Rusty Russell 4eddf57fd9 gossipd: don't mark channels unroutable. 6 years ago
Rusty Russell 018a3f1d58 short_channel_id: make mk_short_channel_id return a failure. 6 years ago
Rusty Russell e2777642c0 getroute: add direction to route returned. 6 years ago
Rusty Russell 0ba547ee10 gossipd: handle overflowing query properly (avoid slow 100% CPU reports) 6 years ago
Rusty Russell 9f1f79587e short_channel_id_dir: new primitive for one direction of short_channel_id 6 years ago
Rusty Russell 80753bfbd5 Feedback from @niftynei. 6 years ago
Rusty Russell dc2ee9639b listchannels: allow source arg to list channels by their source node. 6 years ago
Rusty Russell 358b7fda91 getroute: allow caller to specify maximum hops. 6 years ago
Rusty Russell 599ec5efbe gossipd: allow an array of excluded channels for getroute_request. 6 years ago
Rusty Russell be64dd84ca waitsendpay: indicate which channel direction the error was. 6 years ago
Rusty Russell c0cfddfa95 test/run-bench-find_route: fix so it runs properly. 6 years ago