mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-01-30 23:02:15 +00:00
Quieten some debug logs.
This commit is contained in:
parent
04772a7aa8
commit
793254b6f5
@ -114,7 +114,6 @@ public class MemoryPool {
|
||||
// Find which transaction got deleted by the GC.
|
||||
WeakTransactionReference txRef = (WeakTransactionReference) ref;
|
||||
// And remove the associated map entry so the other bits of memory can also be reclaimed.
|
||||
log.info("Cleaned up tx {}", txRef.hash);
|
||||
memoryPool.remove(txRef.hash);
|
||||
}
|
||||
}
|
||||
@ -184,7 +183,7 @@ public class MemoryPool {
|
||||
confidence.markBroadcastBy(a);
|
||||
}
|
||||
entry.addresses = null;
|
||||
log.info("{}: Adding tx [{}] {} to the memory pool",
|
||||
log.debug("{}: Adding tx [{}] {} to the memory pool",
|
||||
new Object[] { byPeer, confidence.numBroadcastPeers(), tx.getHashAsString() });
|
||||
return tx;
|
||||
}
|
||||
@ -213,7 +212,7 @@ public class MemoryPool {
|
||||
Transaction tx = entry.tx.get();
|
||||
if (tx != null) {
|
||||
tx.getConfidence().markBroadcastBy(byPeer);
|
||||
log.info("{}: Announced transaction we have seen before [{}] {}",
|
||||
log.debug("{}: Announced transaction we have seen before [{}] {}",
|
||||
new Object[] { byPeer, tx.getConfidence().numBroadcastPeers(), tx.getHashAsString() });
|
||||
} else {
|
||||
// The inv is telling us about a transaction that we previously downloaded, and threw away because
|
||||
@ -222,7 +221,7 @@ public class MemoryPool {
|
||||
} else {
|
||||
Preconditions.checkNotNull(entry.addresses);
|
||||
entry.addresses.add(byPeer);
|
||||
log.info("{}: Announced transaction we have seen announced before [{}] {}",
|
||||
log.debug("{}: Announced transaction we have seen announced before [{}] {}",
|
||||
new Object[] { byPeer, entry.addresses.size(), hash });
|
||||
}
|
||||
} else {
|
||||
|
@ -334,7 +334,7 @@ public class Peer {
|
||||
}
|
||||
|
||||
private synchronized void processTransaction(Transaction tx) {
|
||||
log.info("{}: Received broadcast tx {}", address, tx.getHashAsString());
|
||||
log.debug("{}: Received broadcast tx {}", address, tx.getHashAsString());
|
||||
if (memoryPool != null) {
|
||||
// We may get back a different transaction object.
|
||||
tx = memoryPool.seen(tx, getAddress());
|
||||
@ -451,7 +451,7 @@ public class Peer {
|
||||
// Some other peer already announced this so don't download.
|
||||
it.remove();
|
||||
} else {
|
||||
log.info("{}: getdata on tx {}", address, item.hash);
|
||||
log.debug("{}: getdata on tx {}", address, item.hash);
|
||||
getdata.addItem(item);
|
||||
}
|
||||
memoryPool.seen(item.hash, this.getAddress());
|
||||
|
Loading…
Reference in New Issue
Block a user