Rename `RoutingMessageHandler::sync_routing_table` `peer_connected`
authorMatt Corallo <git@bluematt.me>
Thu, 17 Mar 2022 22:04:48 +0000 (22:04 +0000)
committerMatt Corallo <git@bluematt.me>
Thu, 17 Mar 2022 22:04:48 +0000 (22:04 +0000)
commitb1fb7fdb9bacfa486320f2fbdc594d96b355c85a
tree8a8eaadb200a2a4c801ab7f6f82ec6a547aed3f4
parentc244c781f63618c4241324b460e6a6d77f525e73
Rename `RoutingMessageHandler::sync_routing_table` `peer_connected`

Its somewhat strange to have a trait method which is named after
the intended action, rather than the action that occurred, leaving
it up to the implementor what action they want to take.
lightning-net-tokio/src/lib.rs
lightning/src/ln/msgs.rs
lightning/src/ln/peer_handler.rs
lightning/src/routing/network_graph.rs
lightning/src/util/test_utils.rs