Adds verbosity cli flag

This commit is contained in:
Age Manning
2019-04-15 11:29:08 +10:00
parent a38f4c4cd1
commit e36fa3152d
5 changed files with 30 additions and 19 deletions

View File

@@ -137,7 +137,8 @@ impl<TSubstream: AsyncRead + AsyncWrite> NetworkBehaviourEventProcess<KademliaOu
{
fn inject_event(&mut self, out: KademliaOut) {
match out {
KademliaOut::Discovered { .. } => {
KademliaOut::Discovered { peer_id, .. } => {
debug!(self.log, "Kademlia peer discovered: {:?}", peer_id);
// send this to our topology behaviour
}
KademliaOut::KBucketAdded { .. } => {