test
This commit is contained in:
@@ -164,7 +164,7 @@ int32_t komodo_parsestatefile(struct komodo_state *sp,FILE *fp,char *symbol,char
|
||||
int32_t i;
|
||||
for (i=0; i<olen; i++)
|
||||
fgetc(fp);
|
||||
printf("illegal olen.%u\n",olen);
|
||||
//printf("illegal olen.%u\n",olen);
|
||||
}
|
||||
}
|
||||
else if ( func == 'D' )
|
||||
|
||||
@@ -521,7 +521,7 @@ int32_t komodo_paxcmp(uint64_t value,uint64_t checkvalue,uint64_t seed)
|
||||
return(0);
|
||||
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);
|
||||
}
|
||||
}
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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 mult,val = COIN; // * (uint64_t)10000;
|
||||
uint64_t mult,val = COIN * (uint64_t)10000;
|
||||
if ( baseid < 0 || baseid >= 32 )
|
||||
return(0);
|
||||
if ( baseid < 10 )
|
||||
val *= 10;
|
||||
val *= 4;
|
||||
mult = MINDENOMS[baseid] / MIND;
|
||||
return(mult * val);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user