From f19d264d502a2c0eecf5761d3c9f9dc328e845ad Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 6 Nov 2018 20:08:49 -1100 Subject: [PATCH] +print --- src/cc/dice.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/cc/dice.cpp b/src/cc/dice.cpp index 2a4b4626b..b89a1eb59 100644 --- a/src/cc/dice.cpp +++ b/src/cc/dice.cpp @@ -170,7 +170,8 @@ void *dicefinish(void *_ptr) { char str[65],str2[65],name[32]; std::string res; int32_t i,result,duplicate=0; struct dicefinish_info *ptr; uint256 entropyused; ptr = (struct dicefinish_info *)_ptr; - sleep(3); // wait for bettxid to be in mempool + usleep(1000000 + (rand() % 4000000)); // wait for bettxid to be in mempool + fprintf(stderr,"process Queue dicefinish %s\n",ptr->bettxid.GetHex().c_str()); for (i=0; ibettxid ) {