bitcoin/src/policy
W. J. van der Laan 216f4ca9e7
Merge bitcoin/bitcoin#22674: validation: mempool validation and submission for packages of 1 child + parents
046e8ff264 [unit test] package submission (glozow)
e12fafda2d [validation] de-duplicate package transactions already in mempool (glozow)
8310d942e0 [packages] add sanity checks for package vs mempool limits (glozow)
be3ff151a1 [validation] full package accept + mempool submission (glozow)
144a29099a [policy] require submitted packages to be child-with-unconfirmed-parents (glozow)
d59ddc5c3d [packages/doc] define and document package rules (glozow)
ba26169f60 [unit test] context-free package checks (glozow)
9b2fdca7f0 [packages] add static IsChildWithParents function (glozow)

Pull request description:

  This is 1 chunk of [Package Mempool Accept](https://gist.github.com/glozow/dc4e9d5c5b14ade7cdfac40f43adb18a); it restricts packages to 1 child with its parents, doesn't allow conflicts, and doesn't have CPFP (yet).  Future PRs (see #22290) will add RBF and CPFP within packages.

ACKs for top commit:
  laanwj:
    Code review ACK 046e8ff264

Tree-SHA512: 37dbba37d527712f8efef71ee05c90a8308992615af35f5e0cfeafc60d859cc792737d125aac526e37742fe7683ac8c155ac24af562426213904333c01260c95
2021-12-15 20:42:33 +01:00
..
feerate.cpp fees: Always round up fee calculated from a feerate 2021-10-08 13:53:48 -04:00
feerate.h doc: Fix typos in endif header comments 2021-11-16 09:56:45 +01:00
fees.cpp Merge bitcoin/bitcoin#22014: refactor: Make m_cs_fee_estimator non-recursive 2021-12-02 19:54:21 +01:00
fees.h Merge bitcoin/bitcoin#22014: refactor: Make m_cs_fee_estimator non-recursive 2021-12-02 19:54:21 +01:00
packages.cpp [packages] add static IsChildWithParents function 2021-11-29 12:46:58 +00:00
packages.h [packages] add static IsChildWithParents function 2021-11-29 12:46:58 +00:00
policy.cpp Replace MakeSpan helper with Span deduction guide 2021-11-29 17:58:53 -05:00
policy.h policy: Treat taproot as always active 2021-11-16 08:20:33 +01:00
rbf.cpp [mempool] delete exists(uint256) function 2021-10-21 16:26:59 +01:00
rbf.h add missing includes in policy/rbf 2021-09-20 13:34:48 +01:00
settings.cpp scripted-diff: Bump copyright of files changed in 2019 2019-12-30 10:42:20 +13:00
settings.h scripted-diff: Bump copyright of files changed in 2019 2019-12-30 10:42:20 +13:00