This commit is contained in:
jl777
2019-03-27 00:12:38 -11:00
parent 73cc7ba642
commit e7373723f4

View File

@@ -1,6 +1,7 @@
#include "prices.h" #include "prices.h"
#include <time.h> #include <time.h>
#include <unistd.h>
#define SATOSHIDEN ((uint64_t)100000000L) #define SATOSHIDEN ((uint64_t)100000000L)
/* /*
@@ -52,7 +53,7 @@ void *gamesiterate(struct games_state *rs)
if ( rs->guiflag != 0 ) if ( rs->guiflag != 0 )
{ {
#ifdef STANDALONE #ifdef STANDALONE
sleep(1); sleep(10);
price = get_btcusd(); price = get_btcusd();
fprintf(stderr,"price %llu %.8f\n",(long long)price,(double)price/SATOSHIDEN); fprintf(stderr,"price %llu %.8f\n",(long long)price,(double)price/SATOSHIDEN);
/*if ( (counter++ % 10) == 0 ) /*if ( (counter++ % 10) == 0 )