aboutsummaryrefslogtreecommitdiff
path: root/src/validationinterface.h
diff options
context:
space:
mode:
authorglozow <gloriajzhao@gmail.com>2021-07-20 10:41:00 +0100
committerglozow <gloriajzhao@gmail.com>2021-10-28 15:57:26 +0100
commit0a79eaba729e60a83b0e604e6a18e9ba1ca1bc88 (patch)
tree6ce9e958531edbe9f1f228121b8bcb834465c417 /src/validationinterface.h
parentab25ef8c7f767258d5fe44f53b35ad8bd51ed5cd (diff)
downloadbitcoin-0a79eaba729e60a83b0e604e6a18e9ba1ca1bc88.tar.xz
[validation] case-based constructors for ATMPArgs
No change in behavior. ATMPArgs can continue to have granular rules like switching BIP125 on/off while we create an interface for the different sets of rules for single transactions vs multiple-testmempoolaccept vs package validation. This is a cleaner interface than manually constructing the args, which makes it easy to mix up ordering, use the wrong default, etc. It also means we don't need to edit ATMP/single transaction validation code every time we update ATMPArgs for package validation.
Diffstat (limited to 'src/validationinterface.h')
0 files changed, 0 insertions, 0 deletions