Skip to content
Bitcoin Roots

v31.1-roots.1 · Commit 2: [PATCH 02/17] feat(policy): preserve Roots parsing and local transaction checks

src/test/txvalidationcache_tests.cpp

Before: src/test/txvalidationcache_tests.cpp · After: src/test/txvalidationcache_tests.cpp

File metadata
index 9ea39c9150a7059a0945b1cce068034fc7c0ad34..9f12f8c6cfe4d638093e9f8509e4db1dd1a61a33 100644

Download original patch · Release notes

Diff rows 1–11 of 11. Line numbers refer to the original before/after files.

+ Added− RemovedUnmarked lines are context.

Scroll the code area horizontally to read long lines. The two line-number columns refer to before and after.

src/test/txvalidationcache_tests.cpp CHANGED
@@ -15,9 +15,10 @@
15
15
 
16
16
  #include <boost/test/unit_test.hpp>
17
17
 
18
+ // These signature-cache fixtures intentionally use bare pubkey outputs.
18
19
  struct Dersig100Setup : public TestChain100Setup {
19
20
  Dersig100Setup()
20
- : TestChain100Setup{ChainType::REGTEST, {.extra_args = {"-testactivationheight=dersig@102"}}} {}
21
+ : TestChain100Setup{ChainType::REGTEST, {.extra_args = {"-testactivationheight=dersig@102", "-permitbarepubkey=1"}}} {}
21
22
  };
22
23
 
23
24
  bool CheckInputScripts(const CTransaction& tx, TxValidationState& state,