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
+1 -1
View File
@@ -53,7 +53,7 @@ public:
FORCEINLINE uint64_t height() const { return m_height; }
FORCEINLINE difficulty_type difficulty() const { return m_difficulty; }
void submit_sidechain_block(uint32_t template_id, uint32_t nonce, uint32_t extra_nonce);
bool submit_sidechain_block(uint32_t template_id, uint32_t nonce, uint32_t extra_nonce);
FORCEINLINE const std::vector<MinerShare>& shares() const { return m_shares; }
FORCEINLINE const PoolBlock* pool_block_template() const { return m_poolBlockTemplate; }