aboutsummaryrefslogtreecommitdiff
path: root/src/test/util/setup_common.h
diff options
context:
space:
mode:
authorglozow <gzhao408@berkeley.edu>2021-04-05 10:12:58 -0700
committerglozow <gzhao408@berkeley.edu>2021-05-24 14:42:10 +0100
commit2ef187941db439c5b3e529f08b6ab153ff061fc5 (patch)
treee0b09e18c6e411566b0a4db3e210bde2b7a73133 /src/test/util/setup_common.h
parent578148ded62828a9820398165c41670f4dbb523d (diff)
downloadbitcoin-2ef187941db439c5b3e529f08b6ab153ff061fc5.tar.xz
[validation] package validation for test accepts
Only allow test accepts for now. Use the CoinsViewTemporary to keep track of coins created by each transaction so that subsequent transactions can spend them. Uncache all coins since we only ever do test accepts (Note this is different from ATMP which doesn't uncache for valid test_accepts) to minimize impact on the coins cache. Require that the input txns have no conflicts and be ordered topologically. This commit isn't able to detect unsorted packages.
Diffstat (limited to 'src/test/util/setup_common.h')
0 files changed, 0 insertions, 0 deletions