Browse Source

Test

etomic
jl777 8 years ago
parent
commit
2cd1700bba
  1. 1
      basilisk/jumblr.c
  2. 4
      iguana/main.c

1
basilisk/jumblr.c

@ -238,6 +238,7 @@ void jumblr_iteration(struct supernet_info *myinfo,struct iguana_info *coin,int3
OS_randombytes(&r,sizeof(r));
if ( strcmp(coin->symbol,"KMD") == 0 && coin->FULLNODE < 0 )
{
printf("JUMBLR selector.%d modval.%d r.%d\n",selector,modval,r&7);
switch ( selector )
{
case 0: // public -> z

4
iguana/main.c

@ -751,9 +751,9 @@ void jumblr_loop(void *ptr)
while ( 1 )
{
t = (uint32_t)time(NULL);
if ( (coin= iguana_coinfind("KMD")) != 0 && coin->FULLNODE < 0 && myinfo->jumblr_passphrase[0] != 0 && (t % 1200) < 60 )
if ( (coin= iguana_coinfind("KMD")) != 0 && coin->FULLNODE < 0 && myinfo->jumblr_passphrase[0] != 0 && (t % 120) < 6 )
{
jumblr_iteration(myinfo,coin,(t % 3600) / 1200,t % 1200);
jumblr_iteration(myinfo,coin,(t % 360) / 120,t % 120);
}
sleep(20);
}

Loading…
Cancel
Save