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. Before is on the left; after is on the right. Unified view fits narrow screens more easily.
src/test/txvalidationcache_tests.cpp
CHANGED
|
@@ -15,9 +15,10 @@
|
|
| 15 |
|
| 16 |
#include <boost/test/unit_test.hpp>
|
| 17 |
|
|
|
|
| 18 |
struct Dersig100Setup : public TestChain100Setup {
|
| 19 |
Dersig100Setup()
|
| 20 |
-
: TestChain100Setup{ChainType::REGTEST, {.extra_args = {"-testactivationheight=dersig@102"}}} {}
|
| 21 |
};
|
| 22 |
|
| 23 |
bool CheckInputScripts(const CTransaction& tx, TxValidationState& state,
|
|
|
|
| 15 |
|
| 16 |
#include <boost/test/unit_test.hpp>
|
| 17 |
|
| 18 |
+
// These signature-cache fixtures intentionally use bare pubkey outputs.
|
| 19 |
struct Dersig100Setup : public TestChain100Setup {
|
| 20 |
Dersig100Setup()
|
| 21 |
+
: TestChain100Setup{ChainType::REGTEST, {.extra_args = {"-testactivationheight=dersig@102", "-permitbarepubkey=1"}}} {}
|
| 22 |
};
|
| 23 |
|
| 24 |
bool CheckInputScripts(const CTransaction& tx, TxValidationState& state,
|