This commit is contained in:
jl777
2016-11-27 10:10:06 -03:00
parent bff51d6788
commit dff4ef4576
3 changed files with 5 additions and 5 deletions

View File

@@ -164,7 +164,7 @@ int32_t komodo_parsestatefile(struct komodo_state *sp,FILE *fp,char *symbol,char
int32_t i; int32_t i;
for (i=0; i<olen; i++) for (i=0; i<olen; i++)
fgetc(fp); fgetc(fp);
printf("illegal olen.%u\n",olen); //printf("illegal olen.%u\n",olen);
} }
} }
else if ( func == 'D' ) else if ( func == 'D' )

View File

@@ -521,7 +521,7 @@ int32_t komodo_paxcmp(uint64_t value,uint64_t checkvalue,uint64_t seed)
return(0); return(0);
else else
{ {
printf("value %lld vs checkvalue %lld -> ratio.%d\n",(long long)value,(long long)checkvalue,ratio); printf("ignore mismatched value %lld vs checkvalue %lld -> ratio.%d\n",(long long)value,(long long)checkvalue,ratio);
return(-1); return(-1);
} }
} }
@@ -733,7 +733,7 @@ const char *komodo_opreturn(int32_t height,uint64_t value,uint8_t *opretbuf,int3
} }
} }
} }
} else printf("komodo_issued_opreturn returned %d\n",n); } //else printf("komodo_issued_opreturn returned %d\n",n);
} }
return(typestr); return(typestr);
} }

View File

@@ -96,11 +96,11 @@ uint64_t peggy_smooth_coeffs[sizeof(Peggy_inds)/sizeof(*Peggy_inds)] = // numpri
uint64_t komodo_maxallowed(int32_t baseid) uint64_t komodo_maxallowed(int32_t baseid)
{ {
uint64_t mult,val = COIN; // * (uint64_t)10000; uint64_t mult,val = COIN * (uint64_t)10000;
if ( baseid < 0 || baseid >= 32 ) if ( baseid < 0 || baseid >= 32 )
return(0); return(0);
if ( baseid < 10 ) if ( baseid < 10 )
val *= 10; val *= 4;
mult = MINDENOMS[baseid] / MIND; mult = MINDENOMS[baseid] / MIND;
return(mult * val); return(mult * val);
} }