forked from lthn/blockchain
ethash: more logs
This commit is contained in:
parent
33598c7c19
commit
e278e8a792
1 changed files with 1 additions and 0 deletions
|
|
@ -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<hash512*>(alloc_data + context_alloc_size);
|
||||
const hash256 epoch_seed = calculate_epoch_seed(epoch_number);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue