From e278e8a792068c522302f89aac5b4f0b40486dc6 Mon Sep 17 00:00:00 2001 From: sowle Date: Fri, 30 Aug 2019 03:57:45 +0300 Subject: [PATCH] ethash: more logs --- contrib/ethereum/libethash/ethash.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/contrib/ethereum/libethash/ethash.cpp b/contrib/ethereum/libethash/ethash.cpp index a18808fc..10ee9c6d 100644 --- a/contrib/ethereum/libethash/ethash.cpp +++ b/contrib/ethereum/libethash/ethash.cpp @@ -149,6 +149,7 @@ epoch_context_full* create_epoch_context( LOG_CUSTOM_WITH_CALLSTACK("CRITICAL: std::calloc(" << alloc_size << ") failed in create_epoch_context()", 0); return nullptr; // Signal out-of-memory by returning null pointer. } + LOG_CUSTOM("context for epoch " << epoch_number << " allocated, size: " << alloc_size << " bytes", 0); hash512* const light_cache = reinterpret_cast(alloc_data + context_alloc_size); const hash256 epoch_seed = calculate_epoch_seed(epoch_number);