Add explicit fee field to transaction

This commit is contained in:
Matt Corallo 2016-03-18 22:26:13 -07:00 committed by Gregory Sanders
parent fc86bc95c2
commit b8264355f1
32 changed files with 705 additions and 666 deletions

View file

@ -46,6 +46,7 @@ BOOST_FIXTURE_TEST_CASE(tx_mempool_block_doublespend, TestChain100Setup)
spends[i].vout.resize(1);
spends[i].vout[0].nValue = 11*CENT;
spends[i].vout[0].scriptPubKey = scriptPubKey;
spends[i].nTxFee = coinbaseTxns[0].vout[0].nValue - 11*CENT;
// Sign:
std::vector<unsigned char> vchSig;