|
|
@ -128,7 +128,7 @@ void queue_loop(void *ignore) |
|
|
|
else flag = 1; |
|
|
|
} |
|
|
|
} |
|
|
|
else if ( time(NULL) > ptr->starttime+3 ) |
|
|
|
else if ( time(NULL) > ptr->starttime+13 ) |
|
|
|
{ |
|
|
|
LP_crc32find(&duplicate,-1,ptr->crc32); |
|
|
|
if ( duplicate > 0 ) |
|
|
@ -259,7 +259,7 @@ void LP_broadcast_message(int32_t pubsock,char *base,char *rel,bits256 destpub25 |
|
|
|
msg = (void *)jprint(argjson,0); |
|
|
|
msglen = (int32_t)strlen((char *)msg) + 1; |
|
|
|
crc32 = calc_crc32(0,&msg[2],msglen - 2); |
|
|
|
printf("CRC32.%u (%s)\n",crc32,(char *)msg); |
|
|
|
//printf("CRC32.%u (%s)\n",crc32,(char *)msg);
|
|
|
|
//jdelete(argjson,"method");
|
|
|
|
//jaddstr(argjson,"method","broadcast");
|
|
|
|
//msg = (void *)jprint(argjson,0);
|
|
|
|