diff options
author | John Newbery <john@johnnewbery.com> | 2019-04-02 14:14:58 -0400 |
---|---|---|
committer | John Newbery <john@johnnewbery.com> | 2019-04-09 17:53:08 -0400 |
commit | 4a75c9d6512a5580e60104103ea11d2cd9586354 (patch) | |
tree | 03928bbefeff422d8be4fa400c88be34c1150328 /src/test | |
parent | fdf8888b6f0c63e8a4cb1459752625e642d6a4dd (diff) |
[build] Move policy settings to new src/policy/settings unit
This moves the following policy settings functions and globals to a new
src/policy/settings unit in lib_server:
- `incrementalRelayFee`
- `dustRelayFee`
- `nBytesPerSigOp`
- `fIsBareMultisigStd`
These settings are only required by the node and should not be accessed
by other libraries.
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/script_p2sh_tests.cpp | 1 | ||||
-rw-r--r-- | src/test/transaction_tests.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/test/script_p2sh_tests.cpp b/src/test/script_p2sh_tests.cpp index 3a2a11ef98..400c89726f 100644 --- a/src/test/script_p2sh_tests.cpp +++ b/src/test/script_p2sh_tests.cpp @@ -10,6 +10,7 @@ #include <policy/policy.h> #include <script/script.h> #include <script/script_error.h> +#include <policy/settings.h> #include <script/sign.h> #include <script/ismine.h> #include <test/test_bitcoin.h> diff --git a/src/test/transaction_tests.cpp b/src/test/transaction_tests.cpp index 24a599f8d7..ed77b7f52b 100644 --- a/src/test/transaction_tests.cpp +++ b/src/test/transaction_tests.cpp @@ -15,6 +15,7 @@ #include <keystore.h> #include <validation.h> #include <policy/policy.h> +#include <policy/settings.h> #include <script/script.h> #include <script/sign.h> #include <script/script_error.h> |