diff --git a/iguana/SuperNET_hexmsg.c b/iguana/SuperNET_hexmsg.c index 2c88eebab..876637d15 100755 --- a/iguana/SuperNET_hexmsg.c +++ b/iguana/SuperNET_hexmsg.c @@ -226,7 +226,7 @@ int32_t category_default_ishwm(struct category_chain *catchain,int32_t prevheigh int32_t category_default_payment(struct category_chain *catchain,void *src,void *dest,uint64_t amount) { - uint32_t srcind=0,destind=0; + //uint32_t srcind=0,destind=0; // catchain->balances[destind] += amount; // catchain->balances[srcind] -= amount; return(0); diff --git a/iguana/iguana777.h b/iguana/iguana777.h index 7ddb31493..7f76937e4 100755 --- a/iguana/iguana777.h +++ b/iguana/iguana777.h @@ -34,8 +34,8 @@ typedef int32_t (*blockhashfunc)(uint8_t *blockhashp,uint8_t *serialized,int32_t #define IGUANA_WIDTH 1024 #define IGUANA_HEIGHT 200 -#define IGUANA_HEADPERCENTAGE 0. -#define IGUANA_TAILPERCENTAGE 1. +#define IGUANA_HEADPERCENTAGE 0.1 +#define IGUANA_TAILPERCENTAGE .777 #define IGUANA_MAXPENDHDRS 1 #define _IGUANA_MAXPENDING 7 #define _IGUANA_MAXBUNDLES 8 diff --git a/iguana/iguana_ramchain.c b/iguana/iguana_ramchain.c index 9bd44c1c1..3e9fb2169 100755 --- a/iguana/iguana_ramchain.c +++ b/iguana/iguana_ramchain.c @@ -2068,8 +2068,8 @@ int32_t iguana_ramchain_expandedsave(struct iguana_info *coin,RAMCHAIN_FUNC,stru { static bits256 zero; bits256 firsthash2,lasthash2; int32_t err,bundlei,hdrsi,numblocks,firsti,height,retval= -1; - struct iguana_ramchain checkR,*mapchain; char fname[1024],str[65]; FILE *fp; - uint32_t scriptspace,scriptoffset,stacksize,izero = 0; uint8_t *destoffset,*srcoffset; + struct iguana_ramchain checkR,*mapchain; char fname[1024];//,str[65]; //FILE *fp; + uint32_t scriptspace,scriptoffset,stacksize; uint8_t *destoffset,*srcoffset; firsthash2 = ramchain->H.data->firsthash2, lasthash2 = ramchain->H.data->lasthash2; height = ramchain->height, firsti = ramchain->H.data->firsti, hdrsi = ramchain->H.hdrsi, numblocks = ramchain->numblocks; destoffset = &Kspace[ramchain->H.scriptoffset];