This commit is contained in:
jl777
2017-07-14 00:16:20 +02:00
parent 78408e6beb
commit a039c62d97

View File

@@ -587,13 +587,13 @@ void jumblr_iteration()
}
}
height = (int32_t)chainActive.Tip()->nHeight;
if ( time(NULL) < lasttime+50 )
if ( time(NULL) < lasttime+40 )
return;
lasttime = (uint32_t)time(NULL);
if ( lastheight == height )
return;
lastheight = height;
if ( (height % JUMBLR_SYNCHRONIZED_BLOCKS) != JUMBLR_SYNCHRONIZED_BLOCKS-3 && (height % JUMBLR_SYNCHRONIZED_BLOCKS) != JUMBLR_SYNCHRONIZED_BLOCKS-2 )
if ( (height % JUMBLR_SYNCHRONIZED_BLOCKS) != JUMBLR_SYNCHRONIZED_BLOCKS-3 )
return;
fee = JUMBLR_INCR * JUMBLR_FEE;
OS_randombytes(&r,sizeof(r));