add some more rhizome/mdp debugging.

This commit is contained in:
gardners 2013-08-25 21:49:31 +09:30
parent ed9971e8c1
commit 24f4b789f3

View File

@ -1368,6 +1368,10 @@ int rhizome_received_content(unsigned char *bidprefix,
rhizome_fetch_mdp_requestblocks(slot);
}
RETURN(0);
} else {
if (config.debug.rhizome)
DEBUGF("Ignoring received block: slot=%p, version=%016llx, slot->bidVersion=%016llx, slot->state=%d (should be %d)",
slot,version,slot->bidVersion,slot->state,RHIZOME_FETCH_RXFILEMDP);
}
// if we get a packet containing an entire payload