Added filter for late txpool notifications

This commit is contained in:
SChernykh
2025-09-24 09:56:53 +02:00
parent bae7c65126
commit 1e8e6c1010
7 changed files with 47 additions and 7 deletions
+4 -1
View File
@@ -584,8 +584,11 @@ const char* BLOCK_FOUND = "\n\
| ###### ####### ####### ##### # # # ####### ##### # # ###### |\n\
-----------------------------------------------------------------------------------------------";
void p2pool::handle_chain_main(ChainMain& data, const char* extra)
void p2pool::handle_chain_main(ChainMain& data, const char* extra, const std::vector<hash>& tx_hashes_in_block)
{
// These transactions were already mined, so remove them from mempool if any of them slipped through
m_mempool->remove(tx_hashes_in_block);
{
WriteLock lock(m_mainchainLock);