Merge branch 'master' into notarytest
This commit is contained in:
@@ -695,6 +695,11 @@ int32_t komodo_voutupdate(bool fJustCheck,int32_t *isratificationp,int32_t notar
|
|||||||
}
|
}
|
||||||
else if ( ASSETCHAINS_SYMBOL[0] == 0 && matched != 0 && notarized != 0 && validated != 0 )
|
else if ( ASSETCHAINS_SYMBOL[0] == 0 && matched != 0 && notarized != 0 && validated != 0 )
|
||||||
komodo_rwccdata((char *)"KMD",1,&ccdata,0);
|
komodo_rwccdata((char *)"KMD",1,&ccdata,0);
|
||||||
|
/*else
|
||||||
|
{
|
||||||
|
fprintf(stderr, "NOT VALID NOTARISATION\n");
|
||||||
|
return (-2);
|
||||||
|
} */
|
||||||
if ( matched != 0 && *notarizedheightp > sp->NOTARIZED_HEIGHT && *notarizedheightp < height )
|
if ( matched != 0 && *notarizedheightp > sp->NOTARIZED_HEIGHT && *notarizedheightp < height )
|
||||||
{
|
{
|
||||||
if ( fJustCheck )
|
if ( fJustCheck )
|
||||||
@@ -861,6 +866,7 @@ int32_t komodo_connectblock(bool fJustCheck, CBlockIndex *pindex,CBlock& block)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
komodo_currentheight_set(chainActive.LastTip()->GetHeight());
|
komodo_currentheight_set(chainActive.LastTip()->GetHeight());
|
||||||
|
int transaction = 0;
|
||||||
if ( pindex != 0 )
|
if ( pindex != 0 )
|
||||||
{
|
{
|
||||||
height = pindex->GetHeight();
|
height = pindex->GetHeight();
|
||||||
@@ -919,6 +925,7 @@ int32_t komodo_connectblock(bool fJustCheck, CBlockIndex *pindex,CBlock& block)
|
|||||||
fwrite(&signedmask,1,sizeof(signedmask),signedfp);
|
fwrite(&signedmask,1,sizeof(signedmask),signedfp);
|
||||||
fflush(signedfp);
|
fflush(signedfp);
|
||||||
}
|
}
|
||||||
|
transaction = i;
|
||||||
printf("[%s] ht.%d txi.%d signedmask.%llx numvins.%d numvouts.%d <<<<<<<<<<< notarized\n",ASSETCHAINS_SYMBOL,height,i,(long long)signedmask,numvins,numvouts);
|
printf("[%s] ht.%d txi.%d signedmask.%llx numvins.%d numvouts.%d <<<<<<<<<<< notarized\n",ASSETCHAINS_SYMBOL,height,i,(long long)signedmask,numvins,numvouts);
|
||||||
}
|
}
|
||||||
notarized = 1;
|
notarized = 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user