154 Commits (82c49db841c838648a31bb71f1a66f550b06c34d)

Author SHA1 Message Date
Rusty Russell 417e1bab7d gossipd: use iterator helpers for iterating node channels. 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
Rusty Russell 3ac0e814d0 daemons: use amount_msat/amount_sat in all internal wire transfers. 6 years ago
Rusty Russell 83adb94583 lightningd and routing: use struct amount_msat. 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 e2777642c0 getroute: add direction to route returned. 6 years ago
Rusty Russell 9f1f79587e short_channel_id_dir: new primitive for one direction of short_channel_id 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 ab735dcbe6 gossipd: wire up memleak detection. 6 years ago
Rusty Russell 9620393109 gossipd: store chainparams internally. 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 363564301f gossipd: be more rigorous in handling peer messages vs. daemon requests. 6 years ago
lisa neigut a289282bad gossipd: use u64 for `htlc_minimum_msat` field 6 years ago
lisa neigut b9331e5ac8 gossipd: parse and respect optional `htlc_maximum_msat` 6 years ago
Rusty Russell df27fc55af More renaming of gfeatures to globalfeatures. 6 years ago
Rusty Russell afc92dd757 gossipd: use array[32] not pointer for alias. 6 years ago
Rusty Russell f64eee717d gossipd: make helpers const-correct. 6 years ago
Rusty Russell e450c6bbdb gossipd: remove time-delayed local channel_update, produce DISABLE on-demand. 6 years ago
Rusty Russell 8455b12781 Revert "gossipd: handle premature node_announcements in the store." 6 years ago
lisa neigut b1ceaf9910 gossipd: Update BOLT-split flags in channel_update 6 years ago
Rusty Russell 97c7ba2f80 gossipd: fix reordering of node_announcements in presence of a unannounced channel. 6 years ago
Rusty Russell e2f426903d gossipd: handle premature node_announcements in the store. 6 years ago
Christian Decker 84905eac2b routing: Make the capacity a parameter to new_chan 6 years ago
Rusty Russell 3c66d5fa03 gossipd: add flag for locally disabling channel. 7 years ago
Rusty Russell 7b2641ed0d gossipd: remove peer-related fields and wire messages. 7 years ago
Rusty Russell 8e571ba688 listnodes: expose global features. 7 years ago
Rusty Russell 4a1ca0fb99 gossipd: don't use raw secp256k1_pubkey in routing. 7 years ago
Rusty Russell a38c619486 gossipd: keep index of node and channel announcements. 7 years ago
Rusty Russell 803e4f8895 gossipd: announce nodes after channel announcement. 7 years ago
Rusty Russell c2cc3823db gossipd: announce own node only after channel announcement actually broadcast. 7 years ago
Rusty Russell c546b1bbb6 gossipd: specify origin of updates in errors. 7 years ago
Rusty Russell 177a1fc88e gossipd: handle local channel creation separately from update. 7 years ago
Rusty Russell 540c68d7ca gossipd/gossip_constants.h: Single place for BOLT constants. 7 years ago
Rusty Russell cca791d1cb routing: clean up channel public/active states. 7 years ago
Rusty Russell 9d1e496b11 gossipd: use a real update in local_add_channel. 7 years ago
Rusty Russell c71e16f784 broadcast: invert ownership of messages. 7 years ago
Rusty Russell 8940528bdb gossipd: don't include private announcements into broadcast map. 7 years ago
Rusty Russell d40d22b68e gossipd: don't try to connect to non-routable addresses. 7 years ago
Christian Decker 7497f972f1 moveonly: Move handle_local_add_channel to routing.h 7 years ago
Rusty Russell abbbfac8e2 gossipd: return bool from message announce routines. 7 years ago
ZmnSCPxj 86290b54d4 routing: Use 64-bit msatoshi for messages to and from routing. 7 years ago
Christian Decker 0e0ad1aa4d gossip: Check that we have a node before applying changes 7 years ago
Christian Decker c4ea79cc5c Revert gossip: Track whether we read a message from store or peer 7 years ago