4 Commits

Author SHA1 Message Date
Daniel Kraft
876f23f5f1 Remove unreachable code.
The removed case (pcHead == script.end()) can never be reached, since
we explicitly error out above if that is the case.  It is legacy from
Namecoin's merge-mining, which does not forbid this case earlier.
2014-11-21 11:22:28 +01:00
Ross Nicoll
23bcb1bbd2
Correct AuxPoW coinbase script concatenation operators.
MakeCoinbaseWithAux() was incorrectly using << to add a CScript onto a
CScript instead of the + operator. Operators corrected and structure
now more closely reflects coinbase script assembly done elsewhere.
2014-08-17 12:09:40 +01:00
Ross Nicoll
223ed2eadd Correct format of AuxPow coinbase script.
AuxPoW coinbase scripts now include block height as per BIP0034, which also
resolves issue of transactions being generated which collide.
2014-08-17 11:24:31 +01:00
Nell Hardcastle
e87673bd38 Import Vince Durham's aux proof of work implementation. 2014-08-01 13:41:21 +02:00