diff --git a/iguana/exchanges/bitcoin.h b/iguana/exchanges/bitcoin.h index 7cc18982c..7aca22435 100755 --- a/iguana/exchanges/bitcoin.h +++ b/iguana/exchanges/bitcoin.h @@ -56,6 +56,7 @@ #define IGUANA_SCRIPT_MSIG 10 #define IGUANA_SCRIPT_DATA 11 #define IGUANA_SCRIPT_AC 12 +#define IGUANA_SCRIPT_1of1 13 #define IGUANA_SCRIPT_STRANGE 15 #define IGUANA_MAXSCRIPTSIZE 10001 diff --git a/iguana/iguana_bundles.c b/iguana/iguana_bundles.c index 5d90d5d2b..ba09e4ce0 100755 --- a/iguana/iguana_bundles.c +++ b/iguana/iguana_bundles.c @@ -988,7 +988,7 @@ int32_t iguana_bundleiters(struct iguana_info *coin,struct OS_memspace *mem,stru { max = bp->n; counter = iguana_bundleissuemissing(coin,bp,1,3.); - if ( counter > 0 ) + if ( 0 && counter > 0 ) printf("ITER.rt%d now.%u spec.%-4d bundle.%-4d h.%-4d r.%-4d s.%-4d F.%d T.%d issued.%d mb.%d/%d\n",bp->isRT,(uint32_t)time(NULL),bp->numspec,bp->bundleheight/coin->chain->bundlesize,bp->numhashes,bp->numrecv,bp->numsaved,bp->emitfinish,timelimit,counter,coin->MAXBUNDLES,coin->bundlescount); } else bp->nexttime += 3; if ( bp->balancefinish <= 1 ) diff --git a/iguana/iguana_scripts.c b/iguana/iguana_scripts.c index 1fdf49f74..ac8fe2769 100755 --- a/iguana/iguana_scripts.c +++ b/iguana/iguana_scripts.c @@ -504,6 +504,7 @@ int32_t iguana_scriptgen(struct iguana_info *coin,int32_t *Mp,int32_t *nump,char case IGUANA_SCRIPT_1of3: m = 1, n = 3; break; case IGUANA_SCRIPT_2of2: m = 2, n = 2; break; case IGUANA_SCRIPT_1of2: m = 1, n = 2; break; + case IGUANA_SCRIPT_1of1: m = 1, n = 1; break; case IGUANA_SCRIPT_MSIG: m = vp->M, n = vp->N; break; case IGUANA_SCRIPT_DATA: if ( asmstr != 0 ) @@ -651,6 +652,8 @@ int32_t _iguana_calcrmd160(struct iguana_info *coin,struct vin_info *vp) else if ( m == 1 ) return(IGUANA_SCRIPT_1of2); } + else if ( m == 1 && n == 1 ) + return(IGUANA_SCRIPT_1of1); //printf("strange msig M.%d of N.%d\n",m,n); return(IGUANA_SCRIPT_MSIG); }