Test
This commit is contained in:
@@ -116,7 +116,6 @@ bool CheckEquihashSolution(const CBlockHeader *pblock, const CChainParams& param
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
void komodo_pindex_init(CBlockIndex *pindex,int32_t height);
|
|
||||||
int32_t komodo_chosennotary(int32_t *notaryidp,int32_t height,uint8_t *pubkey33,uint32_t timestamp);
|
int32_t komodo_chosennotary(int32_t *notaryidp,int32_t height,uint8_t *pubkey33,uint32_t timestamp);
|
||||||
int32_t komodo_is_special(uint8_t pubkeys[66][33],int32_t mids[66],int32_t height,uint8_t pubkey33[33],uint32_t timestamp);
|
int32_t komodo_is_special(uint8_t pubkeys[66][33],int32_t mids[66],int32_t height,uint8_t pubkey33[33],uint32_t timestamp);
|
||||||
int32_t komodo_currentheight();
|
int32_t komodo_currentheight();
|
||||||
@@ -216,7 +215,7 @@ bool CheckProofOfWork(int32_t height,uint8_t *pubkey33,uint256 hash, unsigned in
|
|||||||
if ( KOMODO_LOADINGBLOCKS == 0 )
|
if ( KOMODO_LOADINGBLOCKS == 0 )
|
||||||
{
|
{
|
||||||
for (i=0; i<66; i++)
|
for (i=0; i<66; i++)
|
||||||
fprintf(stderr,"%d ",mids[i]);
|
fprintf(stderr,"%d ",i==0?notaryid:mids[i]);
|
||||||
fprintf(stderr,"mids ht.%d\n",height);
|
fprintf(stderr,"mids ht.%d\n",height);
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Reference in New Issue
Block a user