From a39dfddead79a729c377baf5c5bd6f57599e1d27 Mon Sep 17 00:00:00 2001 From: Mike Hearn Date: Wed, 16 Jan 2013 13:20:55 +0100 Subject: [PATCH] Silence a newly noisy MemoryPool debug log, as we now expect to receive un-announced transactions in several cases (dep download, Bloom filtering) --- core/src/main/java/com/google/bitcoin/core/MemoryPool.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/src/main/java/com/google/bitcoin/core/MemoryPool.java b/core/src/main/java/com/google/bitcoin/core/MemoryPool.java index cce5aea1..93f99975 100644 --- a/core/src/main/java/com/google/bitcoin/core/MemoryPool.java +++ b/core/src/main/java/com/google/bitcoin/core/MemoryPool.java @@ -188,7 +188,9 @@ public class MemoryPool { return tx; } } else { - log.info("{}: Provided with a downloaded transaction we didn't see announced yet: {}", + // This often happens when we are downloading a Bloom filtered chain, or recursively downloading + // dependencies of a relevant transaction (see Peer.downloadDependencies). + log.debug("{}: Provided with a downloaded transaction we didn't see announced yet: {}", byPeer, tx.getHashAsString()); entry = new Entry(); entry.tx = new WeakTransactionReference(tx, referenceQueue);