jtimon
commented at 2:11 AM on February 8, 2015:
contributor
This is a work in progress. I'm trying to isolate consensus and policy code and this is my longest branch on that.
I will open other PRs extracting subsets of this, but people interested in this work can see a unified thing here and hopefully I will e able to get some feedback.
Please don't comment on individual commits as this will be rebased very often (or do it, just be aware that your comments will probably disappear soon).
So far this contains:
*** WAIT_REVIEW MOVEONLY-ish: Preparations to not include main.h from any other header #5681 [main_includes]
*** WAIT_REVIEW Cleanup: Don't include main.h from any other header #5697 [main_includes2]
*** WAIT_REVIEW MOVEONLY: Move constants and globals to consensus.h and policy.o #5696 [consensus_policy0]
*** WAIT_REVIEW Consensus: Move CheckTransaction() from main to consensus/consensus #5669 [consensus](on main_includes)
*** WAIT_REVIEW Refactor: Create CCoinsViewEfficient interface for CCoinsViewCache #5747
*** WAIT_REVIEW Policy: Create CPolicy interface and CStandardPolicy class implementing it #5595 [policy]
*** WAIT_REVIEW Change: Refactor: inline main:GetMinRelayFee() in main:AcceptToMemoryPool() #5709 [getminrelayfee]
*** WAIT_REVIEW TRIVIAL: Refactor: inline CTxIn::IsFinal() [ only used in main::IsFinalTx() ] #5769 [isfinal]
Decouples CTxOut from CFeeRate
Simplifies IsDust() interface encapsulating the access to global minRelayTxFee
Also move the new GetDustThreshold() from CTxOut to Policy
ed7c1d5130
Policy: Refactor: Create CPolicy::ApproveTx(tx, state) from main::IsStandardTx(tx, reason)981a922e14
This is a metadata mirror of the GitHub repository
bitcoin/bitcoin.
This site is not affiliated with GitHub.
Content is generated from a GitHub metadata backup.
generated: 2026-05-19 06:55 UTC