simplify tracing
This commit is contained in:
		@@ -1031,7 +1031,7 @@ impl RoutingTable {
 | 
				
			|||||||
            .sort_and_clean_closest_noderefs(node_id, closest_nodes)
 | 
					            .sort_and_clean_closest_noderefs(node_id, closest_nodes)
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    #[instrument(level = "trace", skip(self, peers), ret)]
 | 
					    #[instrument(level = "trace", skip(self, peers))]
 | 
				
			||||||
    pub fn register_find_node_answer(
 | 
					    pub fn register_find_node_answer(
 | 
				
			||||||
        &self,
 | 
					        &self,
 | 
				
			||||||
        crypto_kind: CryptoKind,
 | 
					        crypto_kind: CryptoKind,
 | 
				
			||||||
@@ -1061,7 +1061,7 @@ impl RoutingTable {
 | 
				
			|||||||
        out
 | 
					        out
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    #[instrument(level = "trace", skip(self), ret, err)]
 | 
					    #[instrument(level = "trace", skip(self), err)]
 | 
				
			||||||
    pub async fn find_node(
 | 
					    pub async fn find_node(
 | 
				
			||||||
        &self,
 | 
					        &self,
 | 
				
			||||||
        node_ref: NodeRef,
 | 
					        node_ref: NodeRef,
 | 
				
			||||||
@@ -1083,7 +1083,7 @@ impl RoutingTable {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    /// Ask a remote node to list the nodes it has around the current node
 | 
					    /// Ask a remote node to list the nodes it has around the current node
 | 
				
			||||||
    #[instrument(level = "trace", skip(self), ret, err)]
 | 
					    #[instrument(level = "trace", skip(self), err)]
 | 
				
			||||||
    pub async fn find_self(
 | 
					    pub async fn find_self(
 | 
				
			||||||
        &self,
 | 
					        &self,
 | 
				
			||||||
        crypto_kind: CryptoKind,
 | 
					        crypto_kind: CryptoKind,
 | 
				
			||||||
@@ -1094,7 +1094,7 @@ impl RoutingTable {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    /// Ask a remote node to list the nodes it has around itself
 | 
					    /// Ask a remote node to list the nodes it has around itself
 | 
				
			||||||
    #[instrument(level = "trace", skip(self), ret, err)]
 | 
					    #[instrument(level = "trace", skip(self), err)]
 | 
				
			||||||
    pub async fn find_target(
 | 
					    pub async fn find_target(
 | 
				
			||||||
        &self,
 | 
					        &self,
 | 
				
			||||||
        crypto_kind: CryptoKind,
 | 
					        crypto_kind: CryptoKind,
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user