Removed --donate-time CLI option and donatetime console command, Removed time-based donation tracking, Replace time-based donation with deterministic blockchain-height-based donation, All nodes calculate donation mode identically based on block height, Eliminated need for sidechain file on mainnet - defualts to salvium_main now
This commit is contained in:
@@ -781,7 +781,7 @@ void BlockTemplate::update(const MinerData& data, const Mempool& mempool, const
|
||||
calc_merkle_tree_main_branch();
|
||||
|
||||
// DEBUG: Log block template structure
|
||||
LOGINFO(0, "DEBUG P2POOL TEMPLATE (" << m_blockTemplateBlob.size() << " bytes)");
|
||||
LOGINFO(5, "DEBUG P2POOL TEMPLATE (" << m_blockTemplateBlob.size() << " bytes)");
|
||||
std::string hex;
|
||||
hex.reserve(400);
|
||||
for (size_t i = 0; i < std::min<size_t>(200, m_blockTemplateBlob.size()); ++i) {
|
||||
@@ -789,7 +789,7 @@ void BlockTemplate::update(const MinerData& data, const Mempool& mempool, const
|
||||
snprintf(buf, 3, "%02x", m_blockTemplateBlob[i]);
|
||||
hex += buf;
|
||||
}
|
||||
LOGINFO(0, "P2POOL FIRST 200 BYTES: " << hex);
|
||||
LOGINFO(5, "P2POOL FIRST 200 BYTES: " << hex);
|
||||
|
||||
LOGINFO(3, "final reward = " << log::Gray() << log::XMRAmount(final_reward) << log::NoColor() <<
|
||||
", weight = " << log::Gray() << final_weight << log::NoColor() <<
|
||||
@@ -954,7 +954,6 @@ int BlockTemplate::create_miner_tx(const MinerData& data, const std::vector<Mine
|
||||
m_minerTx.clear();
|
||||
|
||||
const size_t num_outputs = shares.size();
|
||||
LOGINFO(0, "DEBUG: Creating miner_tx with " << num_outputs << " outputs from " << num_outputs << " unique miners");
|
||||
m_minerTx.reserve(num_outputs * 39 + 55);
|
||||
|
||||
// tx version
|
||||
|
||||
Reference in New Issue
Block a user