Encapsulate policy #4943

issue jtimon opened this issue on September 18, 2014
  1. jtimon commented at 4:37 PM on September 18, 2014: contributor

    Main currently mixes protocol rules with policy rules like standard transactions check or minimum fees. All policy things should be encapsulated and moved out of main so that it's easier to implement alternative policies without adding complexity to core protocol code, for example, the replace by fee policy implemented in #4298. Since there are currently several PRs that greatly affect main (#4468 among others) and are a bigger priority than this, we should probably wait, but we can start collecting ideas on where to start with this refactor.

  2. laanwj added the label Brainstorming on Dec 5, 2014
  3. laanwj added the label TX fees and policy on Dec 5, 2014
  4. jtimon commented at 7:37 PM on January 8, 2015: contributor

    #5071 #5595 #5114 #5652 and #5180 are related to this issue.

  5. jtimon cross-referenced this on Jan 21, 2015 from issue Policy: Create CPolicy interface and CStandardPolicy class implementing it by jtimon
  6. meshcollider commented at 10:09 PM on March 6, 2018: contributor

    I believe this is sufficiently reworked to close this PR now?

  7. MarcoFalke closed this on Mar 6, 2018

  8. bitcoin locked this on Sep 8, 2021

github-metadata-mirror

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-20 06:55 UTC