|
@ -19,7 +19,6 @@ |
|
|
//
|
|
|
//
|
|
|
// new features:
|
|
|
// new features:
|
|
|
// stats
|
|
|
// stats
|
|
|
// autoprice
|
|
|
|
|
|
// autofill
|
|
|
// autofill
|
|
|
// autoutxo
|
|
|
// autoutxo
|
|
|
|
|
|
|
|
@ -191,7 +190,8 @@ char *LP_process_message(void *ctx,char *typestr,char *myipaddr,int32_t pubsock, |
|
|
if ( duplicate != 0 ) |
|
|
if ( duplicate != 0 ) |
|
|
dup++; |
|
|
dup++; |
|
|
else uniq++; |
|
|
else uniq++; |
|
|
printf("%s dup.%d (%u / %u) %.1f%% encrypted.%d recv.%u [%02x %02x] vs %02x %02x U.%d\n",typestr,duplicate,dup,dup+uniq,(double)100*dup/(dup+uniq),encrypted,crc32,ptr[0],ptr[1],crc32&0xff,(crc32>>8)&0xff,LP_mypeer != 0 ? LP_mypeer->numutxos : -1); |
|
|
if ( (rand() % 100) == 0 ) |
|
|
|
|
|
printf("%s dup.%d (%u / %u) %.1f%% encrypted.%d recv.%u [%02x %02x] vs %02x %02x U.%d\n",typestr,duplicate,dup,dup+uniq,(double)100*dup/(dup+uniq),encrypted,crc32,ptr[0],ptr[1],crc32&0xff,(crc32>>8)&0xff,LP_mypeer != 0 ? LP_mypeer->numutxos : -1); |
|
|
if ( duplicate == 0 ) |
|
|
if ( duplicate == 0 ) |
|
|
{ |
|
|
{ |
|
|
if ( i >= 0 ) |
|
|
if ( i >= 0 ) |
|
|