Log txid being relayed to stdout
This commit is contained in:
@@ -2468,7 +2468,7 @@ void RelayTransaction(const CTransaction& tx, const CDataStream& ss)
|
|||||||
fprintf(stderr, "%s: -testnode=1, no peers, not relaying\n", __func__ );
|
fprintf(stderr, "%s: -testnode=1, no peers, not relaying\n", __func__ );
|
||||||
return;
|
return;
|
||||||
} else {
|
} else {
|
||||||
fprintf(stderr, "%s: Relaying to %lu of %lu peers\n", __func__, newSize, vNodes.size() );
|
fprintf(stderr, "%s: Relaying %s to %lu of %lu peers\n", __func__, tx.GetHash().GetHex().c_str(), newSize, vNodes.size() );
|
||||||
}
|
}
|
||||||
|
|
||||||
// Only relay to randomly chosen 50% of peers
|
// Only relay to randomly chosen 50% of peers
|
||||||
|
|||||||
Reference in New Issue
Block a user