mirror of
https://github.com/SChernykh/p2pool.git
synced 2024-08-17 20:18:46 -06:00
Merge branch 'master' into merge-mining
This commit is contained in:
commit
c28021b5a4
@ -2453,6 +2453,7 @@ void P2PServer::P2PClient::on_block_notify(const uint8_t* buf)
|
|||||||
memcpy(id.h, buf, HASH_SIZE);
|
memcpy(id.h, buf, HASH_SIZE);
|
||||||
|
|
||||||
m_broadcastedHashes[m_broadcastedHashesIndex++ % array_size(&P2PClient::m_broadcastedHashes)] = id;
|
m_broadcastedHashes[m_broadcastedHashesIndex++ % array_size(&P2PClient::m_broadcastedHashes)] = id;
|
||||||
|
m_lastBroadcastTimestamp = seconds_since_epoch();
|
||||||
|
|
||||||
P2PServer* server = static_cast<P2PServer*>(m_owner);
|
P2PServer* server = static_cast<P2PServer*>(m_owner);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user