From c0d3518ab995270e59b01589c6fb407562967aa4 Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 26 Dec 2016 12:51:20 +0200 Subject: [PATCH] test --- basilisk/basilisk_swap.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/basilisk/basilisk_swap.c b/basilisk/basilisk_swap.c index 39b069197..7887c7326 100755 --- a/basilisk/basilisk_swap.c +++ b/basilisk/basilisk_swap.c @@ -1503,7 +1503,7 @@ int32_t basilisk_swapiteration(struct supernet_info *myinfo,struct basilisk_swap basilisk_swapget(myinfo,swap,0x80000000,data,maxlen,basilisk_verify_otherstatebits); if ( (swap->I.otherstatebits & 0x80) != 0 && (swap->I.statebits & 0x80) != 0 ) break; - sleep(3 + (swap->I.iambob == 0)*10); + sleep(3 + (swap->I.iambob == 0)*1); basilisk_swapget(myinfo,swap,0x80000000,data,maxlen,basilisk_verify_otherstatebits); basilisk_sendstate(myinfo,swap,data,maxlen); if ( (swap->I.otherstatebits & 0x80) == 0 ) @@ -1714,9 +1714,9 @@ void basilisk_swaploop(void *_swap) basilisk_waitchoosei(myinfo,swap,data,maxlen); // wait for choosei 0x08 if ( (swap->I.statebits & (0x08|0x02)) == (0x08|0x02) ) break; - sleep(3); - dpow_nanomsg_update(myinfo); - dex_updateclient(myinfo); + sleep(1); + //dpow_nanomsg_update(myinfo); + //dex_updateclient(myinfo); } while ( (swap->I.statebits & 0x20) == 0 && time(NULL) < expiration ) { @@ -1729,7 +1729,7 @@ void basilisk_swaploop(void *_swap) swap->I.statebits |= 0x20; break; } - sleep(3 + (swap->I.iambob == 0)*10); + sleep(3 + (swap->I.iambob == 0)*1); dpow_nanomsg_update(myinfo); dex_updateclient(myinfo); }