- fn peer_connected(&self, their_node_id: &PublicKey, init: &Init) {
- self.native_router.peer_connected(their_node_id, init)
+ fn processing_queue_high(&self) -> bool {
+ self.native_router.processing_queue_high()
+ }
+
+ fn get_next_channel_announcement(&self, starting_point: u64) -> Option<(ChannelAnnouncement, Option<ChannelUpdate>, Option<ChannelUpdate>)> {
+ self.native_router.get_next_channel_announcement(starting_point)
+ }
+
+ fn get_next_node_announcement(&self, starting_point: Option<&NodeId>) -> Option<NodeAnnouncement> {
+ self.native_router.get_next_node_announcement(starting_point)
+ }
+
+ fn peer_connected(&self, their_node_id: &PublicKey, init: &Init, inbound: bool) -> Result<(), ()> {
+ self.native_router.peer_connected(their_node_id, init, inbound)