Post
Topic
Board Announcements (Altcoins)
Re: [ANN] [ZOI] Zoin - Zerocoin based privacy - CPU - No more founder's reward
by
zoin
on 13/11/2016, 13:28:03 UTC
Dev care to explain how algo diff was fixed?
What it did, why it did it?
What has changed, how it affects?

LYRA2(BEGIN(thash), 32, BEGIN(pblock->nVersion), 80, BEGIN(pblock->nVersion), 80, 2, 32768, 256);
-->
if (LYRA2(BEGIN(thash), 32, BEGIN(nVersion), 80, BEGIN(nVersion), 80, 2, 330, 256) < 0)
thash = 0;

No one wants to mine eyes closed!




The original ZCoin had

LYRA2(BEGIN(thash), 32, BEGIN(pblock->nVersion), 80, BEGIN(pblock->nVersion), 80, 2, HEIGHT, 256);

This would have caused the network to grind to a halt as height increased.

After some experimentation I changed this to:

if (LYRA2(BEGIN(thash), 32, BEGIN(nVersion), 80, BEGIN(nVersion), 80, 2, 330, 256) < 0)

I believe ZCoin's new parameter of 32768 is still too extreme. It requires almost a gigabyte of RAM to compute and takes in the order of a second to compute. Hashes verification is supposed to be fast.