Test
This commit is contained in:
@@ -677,7 +677,7 @@ void static BitcoinMiner(CWallet *pwallet)
|
|||||||
if ( externalflag == 0 && i != 66 )
|
if ( externalflag == 0 && i != 66 )
|
||||||
printf("VIOLATION at %d\n",i);
|
printf("VIOLATION at %d\n",i);
|
||||||
for (i=0; i<66; i++)
|
for (i=0; i<66; i++)
|
||||||
{break;
|
{ break;
|
||||||
for (j=0; j<33; j++)
|
for (j=0; j<33; j++)
|
||||||
printf("%02x",pubkeys[i][j]);
|
printf("%02x",pubkeys[i][j]);
|
||||||
printf(" p%d -> %d\n",i,komodo_minerid(pindexPrev->nHeight-i,pubkeys[i]));
|
printf(" p%d -> %d\n",i,komodo_minerid(pindexPrev->nHeight-i,pubkeys[i]));
|
||||||
|
|||||||
@@ -111,7 +111,7 @@ int8_t komodo_minerid(int32_t height,uint8_t *pubkey33);
|
|||||||
void komodo_index2pubkey33(uint8_t *pubkey33,CBlockIndex *pindex,int32_t height);
|
void komodo_index2pubkey33(uint8_t *pubkey33,CBlockIndex *pindex,int32_t height);
|
||||||
extern int32_t KOMODO_CHOSEN_ONE;
|
extern int32_t KOMODO_CHOSEN_ONE;
|
||||||
#define KOMODO_ELECTION_GAP 2000
|
#define KOMODO_ELECTION_GAP 2000
|
||||||
|
|
||||||
int32_t komodo_eligiblenotary(uint8_t pubkeys[66][33],int32_t *mids,int32_t *nonzpkeysp,int32_t height);
|
int32_t komodo_eligiblenotary(uint8_t pubkeys[66][33],int32_t *mids,int32_t *nonzpkeysp,int32_t height);
|
||||||
int32_t KOMODO_LOADINGBLOCKS;
|
int32_t KOMODO_LOADINGBLOCKS;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user