Slseepmillis
This commit is contained in:
@@ -76,7 +76,7 @@ CClib_methods[] =
|
|||||||
std::string CClib_rawtxgen(struct CCcontract_info *cp,uint8_t funcid,cJSON *params);
|
std::string CClib_rawtxgen(struct CCcontract_info *cp,uint8_t funcid,cJSON *params);
|
||||||
|
|
||||||
#ifdef BUILD_ROGUE
|
#ifdef BUILD_ROGUE
|
||||||
int32_t rogue_replay(uint64_t seed,int32_t sleeptime);
|
int32_t rogue_replay(uint64_t seed,int32_t sleepmillis);
|
||||||
bool rogue_validate(struct CCcontract_info *cp,int32_t height,Eval *eval,const CTransaction tx);
|
bool rogue_validate(struct CCcontract_info *cp,int32_t height,Eval *eval,const CTransaction tx);
|
||||||
|
|
||||||
UniValue rogue_newgame(uint64_t txfee,struct CCcontract_info *cp,cJSON *params);
|
UniValue rogue_newgame(uint64_t txfee,struct CCcontract_info *cp,cJSON *params);
|
||||||
|
|||||||
@@ -253,7 +253,7 @@ int main(int argc, char **argv, char **envp)
|
|||||||
{
|
{
|
||||||
seed = atol(argv[1]);
|
seed = atol(argv[1]);
|
||||||
//fprintf(stderr,"replay %llu\n",(long long)seed);
|
//fprintf(stderr,"replay %llu\n",(long long)seed);
|
||||||
return(rogue_replay(seed,50000));
|
return(rogue_replay(seed,10));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -337,7 +337,7 @@ int32_t rogue_replay(uint64_t seed,int32_t sleeptime)
|
|||||||
}
|
}
|
||||||
fclose(fp);
|
fclose(fp);
|
||||||
}
|
}
|
||||||
rogue_replay2(0,seed,keystrokes,num,player,30);
|
rogue_replay2(0,seed,keystrokes,num,player,sleeptime);
|
||||||
|
|
||||||
//mvaddstr(LINES - 2, 0, (char *)"replay completed");
|
//mvaddstr(LINES - 2, 0, (char *)"replay completed");
|
||||||
endwin();
|
endwin();
|
||||||
|
|||||||
Reference in New Issue
Block a user