HomePhabricator

Removed AcceptToMemoryPool method from CTransaction. This method belongs to the…
05df3fc68d68Unpublished

Unpublished Commit · Learn More

Repository Importing: This repository is still importing.

Description

Removed AcceptToMemoryPool method from CTransaction. This method belongs to the mempool instance.

Removed AreInputsStandard from CTransaction, made it a regular function in main.
Moved CTransaction::GetOutputFor to CCoinsViewCache.

Moved GetLegacySigOpCount and GetP2SHSigOpCount out of CTransaction into regular functions in main.

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.

Added minimum fee parameter to CTxOut::IsDust() temporarily until CTransaction is moved to core.h so that CTxOut needn't know about CTransaction.

Details

Provenance
Eric Lombrozo <elombrozo@gmail.com>Authored on Jan 8 2013, 12:17
deadalnixPushed on May 14 2017, 22:04
Parents
rABC788536f1755c: Moved CInPoint to core. Removed GetMinFee from CTransaction and made it a…
Branches
Unknown
Tags
Unknown

Event Timeline

Eric Lombrozo <elombrozo@gmail.com> committed rABC05df3fc68d68: Removed AcceptToMemoryPool method from CTransaction. This method belongs to the… (authored by Eric Lombrozo <elombrozo@gmail.com>).Jun 6 2013, 06:15