diff --git a/iguana/iguana_ramchain.c b/iguana/iguana_ramchain.c index cad785024..7cf2ac61e 100755 --- a/iguana/iguana_ramchain.c +++ b/iguana/iguana_ramchain.c @@ -1682,6 +1682,7 @@ struct iguana_ramchain *iguana_ramchain_map(struct iguana_info *coin,char *fname } } + printf("mapped %s scriptspace %d:%d\n",fname,ramchain->H.scriptoffset,ramchain->H.data->scriptspace); return(ramchain); } else printf("iguana_ramchain_map.(%s) cant map file\n",fname); return(0); @@ -2075,7 +2076,7 @@ int32_t iguana_ramchain_scriptspace(struct iguana_info *coin,int32_t *sigspacep, sigspace += sigsize; pubkeyspace += pubkeysize; sigspace += suffixlen; - //fprintf(stderr,"(%d %d %d %d).%d ",sigsize,pubkeysize,p2shsize,suffixlen,scriptlen); + fprintf(stderr,"(%d %d %d %d).%d ",sigsize,pubkeysize,p2shsize,suffixlen,scriptlen); } //else fprintf(stderr,"(none)" ); } } @@ -2085,7 +2086,7 @@ int32_t iguana_ramchain_scriptspace(struct iguana_info *coin,int32_t *sigspacep, //fprintf(stderr,"scriptspace.%u altspace.%u, ",scriptspace,altspace); } *sigspacep = sigspace, *pubkeyspacep = pubkeyspace; - //printf("altspace.%d numvouts.%d numvins.%d scriptspace.%d p2shspace.%d sigspace.%d pubkeyspace.%d\n",altspace,tx->numvouts,tx->numvins,scriptspace,p2shspace,sigspace,pubkeyspace); + printf("altspace.%d numvouts.%d numvins.%d scriptspace.%d p2shspace.%d sigspace.%d pubkeyspace.%d\n",altspace,tx->numvouts,tx->numvins,scriptspace,p2shspace,sigspace,pubkeyspace); return(scriptspace + p2shspace); } diff --git a/iguana/swaps/iguana_PAXswap.c b/iguana/swaps/iguana_PAXswap.c index 9f196f256..7008f6172 100755 --- a/iguana/swaps/iguana_PAXswap.c +++ b/iguana/swaps/iguana_PAXswap.c @@ -48,6 +48,7 @@ char *instantdex_PAXswap(struct supernet_info *myinfo,struct exchange_info *exch return(retstr); } +#ifdef __APPLE__ #include "../../includes/secp256k1.h" //#include "../../crypto777/secp256k1/modules/rangeproof/pedersen_impl.h" //#include "../../crypto777/secp256k1/modules/rangeproof/borromean_impl.h" @@ -230,6 +231,7 @@ void test_pedersen(void) { CHECK(secp256k1_pedersen_verify_tally(ctx, &cptr[1], 1, &cptr[0], 1, -INT64_MAX)); printf("g\n"); } +#endif void ztest() {