From 804b8bdc6aaf0271668286b19a0a80e018a1d8c9 Mon Sep 17 00:00:00 2001 From: Mike Hearn Date: Wed, 20 Apr 2016 14:28:39 +0200 Subject: [PATCH] Minor: Add a TODO about RecordingMap to ServiceHub --- src/main/kotlin/core/node/services/Services.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/kotlin/core/node/services/Services.kt b/src/main/kotlin/core/node/services/Services.kt index b2022a516b..8bc9fbfd44 100644 --- a/src/main/kotlin/core/node/services/Services.kt +++ b/src/main/kotlin/core/node/services/Services.kt @@ -6,7 +6,6 @@ import core.* import core.crypto.SecureHash import core.messaging.MessagingService import core.utilities.RecordingMap -import java.io.InputStream import java.security.KeyPair import java.security.PrivateKey import java.security.PublicKey @@ -180,7 +179,8 @@ interface ServiceHub { * Given a list of [SignedTransaction]s, writes them to the local storage for validated transactions and then * sends them to the wallet for further processing. * - * TODO: Need to come up with a way for preventing transactions being written other than by this method + * TODO: Need to come up with a way for preventing transactions being written other than by this method. + * TODO: RecordingMap is test infrastructure. Refactor it away or find a way to ensure it's only used in tests. * * @param txs The transactions to record * @param skipRecordingMap This is used in unit testing and can be ignored most of the time.