462 Commits (json-streaming)

Author SHA1 Message Date
Rusty Russell 46cc7c281e features: more general accessor functions. 7 years ago
Rusty Russell 1f443df428 gossipd: use the broadcast structure to hold gossip messages. 7 years ago
Rusty Russell b8285db263 gossipd: annotate replace_broadcast that we take() the payload, make it const. 7 years ago
Rusty Russell 1290f305a2 gossipd: remove tag. 7 years ago
Rusty Russell 882f9f258f gossipd: remove type from broadcast. 7 years ago
Rusty Russell 060182fb65 gossipd: remove unused queue_broadcast. 7 years ago
Rusty Russell ba34e6cdc9 gossipd: use u64 for broadcast index. 7 years ago
Rusty Russell 640ff4b4b9 gossipd: cleanups due to feedback from cdecker. 7 years ago
Rusty Russell 1dccbb30f9 gossip: send error messages on grossly malformed channel_update. 7 years ago
Rusty Russell 5d77183c94 gossip: send error messages on grossly malformed channel_announcement. 7 years ago
Rusty Russell 8091e0679d gossipd: do all malformdness checks on node_announcement before queueing. 7 years ago
Rusty Russell 6d72550707 gossip: send error messages on grossly malformed node_announcement. 7 years ago
Rusty Russell 39c781aebb gossipd: allow calling of peer_error on peers which aren't local. 7 years ago
Rusty Russell 81e55065d9 gossipd: don't die if we get a bad msg from another daemon. 7 years ago
Christian Decker 74a444eb7a jsonrpc: Return the channel capacity for listchannels 7 years ago
Christian Decker 2abf72e7df gossip: Store channel capacity in the routing table 7 years ago
Christian Decker a8e553098a gossip: Pass output value to gossipd 7 years ago
John Barboza 30b290cb8f Explicit error message when disconnect fails 7 years ago
John Barboza 0a1351fd51 gossipd: command to disconnect from a gossiping peer 7 years ago
Rusty Russell dace9bfdcf gossipd: the great renaming. 7 years ago
Rusty Russell 61bcb054e0 routing: remove redundant fields from struct node_connection. 7 years ago
Rusty Russell 172af04247 gossip: remove short_channel_id from struct node_connection. 7 years ago
Rusty Russell 21b2f37dfb routing: return entire routing_channel array from find_route. 7 years ago
Rusty Russell 56349ab008 routing: work with struct routing_channel not struct node_connection. 7 years ago
Rusty Russell fd9c0c8543 routing: move struct node_connection into struct routing_channel. 7 years ago
Rusty Russell be14b52423 routing: connections are now never null; simplify. 7 years ago
Rusty Russell d7b5882f61 routing: don't free a single nc on prune, only entire channel. 7 years ago
Rusty Russell d0f68ffb15 routing: free entire channel, not just node_connection on PERM error. 7 years ago
Rusty Russell 00194b6130 handle_disable_channel: don't use get_connection_by_scid. 7 years ago
Rusty Russell 74ee448bda routing: expose setter for struct node_connection fields. 7 years ago
Rusty Russell 1e4959af1f gossipd: fix case where we get an update on a pruned channel. 7 years ago
Rusty Russell 961321a6d8 gossipd: move route pruning to routing.c. 7 years ago
Rusty Russell 33726b0a08 gossip: instead of refresh interval, have routing know prune_timeout. 7 years ago
Rusty Russell b7bf414ac4 gossipd: prune announced-but-not-updated channels eventually. 7 years ago
Rusty Russell b7ec2c8c9c node_connection: move channel_announcement field into struct routing_channel. 7 years ago
Rusty Russell 942d04ba87 gossipd: simplify channel_announce handling. 7 years ago
Rusty Russell 6dec2ed1c1 gossipd: hoist new_node_connection above new_routing_channel. 7 years ago
Rusty Russell fc410eff60 resolve_channel_req: use get_channel. 7 years ago
Rusty Russell a79879637a gossipd: local_add_channel can just use get_channel() 7 years ago
Rusty Russell 6bc634badf gossip: handle_get_update can just use get_channel. 7 years ago
Rusty Russell a9b1d73148 getchannels_req: iterate over channel map rather than nodes. 7 years ago
Rusty Russell 5f5d0b3e25 gossip_local_add_channel: remove unused flags field. 7 years ago
Rusty Russell 9b900138d0 gossip: put 'routing_channel' in charge of 'node_connection'. 7 years ago
Rusty Russell f8426600a6 gossipd: don't create a routing_channel while we're waiting. 7 years ago
Rusty Russell 2ec38ec687 gossip: factor out appending code in getchannels_req(). 7 years ago
John Barboza b50912d8b1 Print node alias when listing peers 7 years ago
Rusty Russell ca4603455b short_channel_id: remove short_channel_id_to_uint accessor. 7 years ago
Rusty Russell c5d41a23d7 short_channel_id: just use structeq. 7 years ago
Rusty Russell affc1be4d6 gossipd: get_channel() wrapper for channel lookup. 7 years ago
Rusty Russell be5d945e97 gossip: only send out gossip to non-local peers when we're supposed to. 7 years ago