Moved GetValueIn and HaveInputs from CTransaction into CCoinsViewCache.
Moved AllowFree, ClientCheckInputs, CheckInputs, UpdateCoins, and CheckTransaction out of CTransaction and into main.
Moved IsStandard and IsFinal out of CTransaction and put them in main as IsStandardTx and IsFinalTx. Moved GetValueOut out of CTransaction into main. Moved CTxIn, CTxOut, and CTransaction into core.
Moved CCoins, CTxOutCompressor, CTxInUndo, and CTxUndo to core.
Removed script.cpp's dependence on main.h
Fixed AreInputsStandard issue in test.
Added AreInputsStandard declaration to main.
Moved UpdateTime out of CBlockHeader and moved CBlockHeader into core.