Browse Source

test

acspeed
jl777 8 years ago
parent
commit
e4ff668017
  1. 2
      iguana/dPoW.h
  2. 4
      iguana/dpow/dpow_tx.c

2
iguana/dPoW.h

@ -19,7 +19,7 @@
#define DPOW_FIRSTRATIFY 1000
#define DPOW_CHECKPOINTFREQ 10
#define DPOW_MINSIGS 17 //((height < 90000) ? 7 : 11)
#define DPOW_MINSIGS 2 //((height < 90000) ? 7 : 11)
//#define DPOW_M(bp) ((bp)->minsigs) // (((bp)->numnotaries >> 1) + 1)
#define DPOW_MODIND(bp,offset) (((((bp)->height / DPOW_CHECKPOINTFREQ) % (bp)->numnotaries) + (offset)) % (bp)->numnotaries)
#define DPOW_VERSION 0x0769

4
iguana/dpow/dpow_tx.c

@ -426,8 +426,8 @@ void dpow_rawtxsign(struct supernet_info *myinfo,struct dpow_info *dp,struct igu
dpow_sigsend(myinfo,dp,bp,myind,bestk,bestmask,srchash,src_or_dest != 0 ? DPOW_SIGBTCCHANNEL : DPOW_SIGCHANNEL);
retval = 0;
break;
}
}
} else printf("sig didnt match pubkey? (%s)\n",jprint(item,0));
} else printf("no scriptPubkey.(%s)\n",jprint(item,0));
} // else printf("notmine.(%s)\n",jprint(item,0));
}
} else printf("no vin[] (%s)\n",jprint(txobj2,0));

Loading…
Cancel
Save