mirror of
https://github.com/monero-project/monero.git
synced 2025-07-29 13:58:39 -04:00
remove obsolete pruning debug code
This commit is contained in:
parent
e144dd5b15
commit
f10c9a16c4
4 changed files with 0 additions and 45 deletions
|
@ -338,10 +338,6 @@ namespace cryptonote
|
|||
}
|
||||
context.m_remote_blockchain_height = hshd.current_height;
|
||||
context.m_pruning_seed = hshd.pruning_seed;
|
||||
#ifdef CRYPTONOTE_PRUNING_DEBUG_SPOOF_SEED
|
||||
context.m_pruning_seed = tools::make_pruning_seed(1 + (context.m_remote_address.as<epee::net_utils::ipv4_network_address>().ip()) % (1 << CRYPTONOTE_PRUNING_LOG_STRIPES), CRYPTONOTE_PRUNING_LOG_STRIPES);
|
||||
LOG_INFO_CC(context, "New connection posing as pruning seed " << epee::string_tools::to_string_hex(context.m_pruning_seed) << ", seed address " << &context.m_pruning_seed);
|
||||
#endif
|
||||
|
||||
uint64_t target = m_core.get_target_blockchain_height();
|
||||
if (target == 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue