Randomize extra_nonce

To guarantee that hashing blobs will be different between different p2pool nodes, even if they mine to the same wallet address and don't have transactions to shuffle within the block template.
This commit is contained in:
SChernykh
2022-10-11 11:30:02 +02:00
parent 02405bb8ff
commit a917a9493c
3 changed files with 17 additions and 10 deletions
+1
View File
@@ -103,6 +103,7 @@ private:
struct BlobsData
{
uint32_t m_extraNonceStart;
std::vector<uint8_t> m_blobs;
size_t m_blobSize;
uint64_t m_target;