Track shares that failed to be added

This commit is contained in:
SChernykh
2023-01-07 15:50:02 +01:00
parent b346b93285
commit ccc5117172
8 changed files with 47 additions and 17 deletions
+2 -2
View File
@@ -619,10 +619,10 @@ void p2pool::submit_block() const
});
}
void p2pool::submit_sidechain_block(uint32_t template_id, uint32_t nonce, uint32_t extra_nonce)
bool p2pool::submit_sidechain_block(uint32_t template_id, uint32_t nonce, uint32_t extra_nonce)
{
LOGINFO(3, "submit_sidechain_block: template id = " << template_id << ", nonce = " << nonce << ", extra_nonce = " << extra_nonce);
m_blockTemplate->submit_sidechain_block(template_id, nonce, extra_nonce);
return m_blockTemplate->submit_sidechain_block(template_id, nonce, extra_nonce);
}
void p2pool::update_block_template_async(bool is_alternative_block)