Fixed handling of multiple blocks from ZMQ

This commit is contained in:
sech1
2025-09-06 14:25:57 +02:00
parent 971f804a6e
commit b7c4613d40
6 changed files with 67 additions and 59 deletions
+2 -2
View File
@@ -643,9 +643,9 @@ void p2pool::handle_chain_main(ChainMain& data, const char* extra)
m_zmqLastActive = seconds_since_epoch();
}
void p2pool::handle_monero_block_broadcast(std::vector<uint8_t>&& blob)
void p2pool::handle_monero_block_broadcast(std::vector<std::vector<uint8_t>>&& blobs)
{
m_p2pServer->broadcast_monero_block_async(std::move(blob));
m_p2pServer->broadcast_monero_block_async(std::move(blobs));
}
#ifdef WITH_MERGE_MINING_DONATION