KOMODO_LOCALPRICE_CACHESIZE

This commit is contained in:
jl777
2019-04-02 00:08:01 -11:00
parent c90448edba
commit 50f79c5d4a
4 changed files with 187 additions and 79 deletions

View File

@@ -64,7 +64,7 @@ extern uint64_t ASSETCHAINS_CBOPRET;
void komodo_passport_iteration();
uint64_t komodo_interestsum();
int32_t komodo_longestchain();
void komodo_cbopretupdate();
void komodo_cbopretupdate(int32_t forceflag);
void WaitForShutdown(boost::thread_group* threadGroup)
{
@@ -89,7 +89,7 @@ void WaitForShutdown(boost::thread_group* threadGroup)
//komodo_interestsum();
//komodo_longestchain();
if ( ASSETCHAINS_CBOPRET != 0 )
komodo_cbopretupdate();
komodo_cbopretupdate(0);
for (i=0; i<=ASSETCHAINS_BLOCKTIME/5; i++)
{
fShutdown = ShutdownRequested();