This commit is contained in:
jl777
2016-11-19 13:07:32 -03:00
parent aa6b61528d
commit 61b59007d7
3 changed files with 4 additions and 2 deletions

View File

@@ -561,6 +561,7 @@ void komodo_passport_iteration()
{
static long lastpos[33];
FILE *fp; int32_t baseid,refid; struct komodo_state *sp; char fname[512],*base,symbol[16],dest[16];
printf("PASSPORT\n");
if ( ASSETCHAINS_SYMBOL[0] == 0 )
refid = 32;
else refid = komodo_baseid(ASSETCHAINS_SYMBOL);
@@ -587,7 +588,7 @@ void komodo_passport_iteration()
} else printf("fname.(%s) cant open\n",fname);
}
}
}
} else printf("passport disabled for refid.%d (%s)\n",refid,ASSETCHAINS_SYMBOL);
}
#endif

View File

@@ -35,7 +35,7 @@ struct komodo_state KOMODO_STATES[33];
int COINBASE_MATURITY = 100;
int32_t IS_KOMODO_NOTARY,USE_EXTERNAL_PUBKEY,KOMODO_CHOSEN_ONE,ASSETCHAINS_SEED,KOMODO_ON_DEMAND;
int32_t IS_KOMODO_NOTARY,USE_EXTERNAL_PUBKEY,KOMODO_CHOSEN_ONE,ASSETCHAINS_SEED,KOMODO_ON_DEMAND,KOMODO_EXTERNAL_NOTARIES;
std::string NOTARY_PUBKEY,ASSETCHAINS_NOTARIES;
uint8_t NOTARY_PUBKEY33[33];

View File

@@ -268,6 +268,7 @@ void komodo_assetchain_pubkeys(char *jsonstr)
{
komodo_init(-1);
komodo_notarysinit(0,pubkeys,n);
KOMODO_EXTERNAL_NOTARIES = 1;
//printf("initialize pubkeys[%d]\n",n);
} else fprintf(stderr,"komodo_assetchain_pubkeys i.%d vs n.%d\n",i,n);
} else fprintf(stderr,"assetchain pubkeys n.%d\n",n);