diff options
| author | John Newbery <[email protected]> | 2019-04-02 16:42:51 -0400 |
|---|---|---|
| committer | John Newbery <[email protected]> | 2019-04-09 17:53:08 -0400 |
| commit | 1acc61f8746bc6efb905e121a9f607c4f5982b35 (patch) | |
| tree | 0b332f29a18351a6bbe7d8536890a7f7894178f8 /src/test/script_tests.cpp | |
| parent | [build] Move policy settings to new src/policy/settings unit (diff) | |
| download | discoin-1acc61f8746bc6efb905e121a9f607c4f5982b35.tar.xz discoin-1acc61f8746bc6efb905e121a9f607c4f5982b35.zip | |
[build] Move rpc utility methods to rpc/util
Moves the following utility methods to rpc/util and moves that unit to
libbitcoin_common so they can be accessed by all libraries.
- `RPCTypeCheck`
- `RPCTypeCheckArgument`
- `RPCTypeCheckObj`
- `AmountFromValue`
- `ParseHashV``ParseHashO`
- `ParseHexV`
- `ParseHexO`
- `HelpExampleCli`
- `HelpExampleRpc`
Diffstat (limited to 'src/test/script_tests.cpp')
| -rw-r--r-- | src/test/script_tests.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/script_tests.cpp b/src/test/script_tests.cpp index 87c3e74df..b964c6e47 100644 --- a/src/test/script_tests.cpp +++ b/src/test/script_tests.cpp @@ -13,7 +13,7 @@ #include <util/system.h> #include <util/strencodings.h> #include <test/test_bitcoin.h> -#include <rpc/server.h> +#include <rpc/util.h> #if defined(HAVE_CONSENSUS_LIB) #include <script/bitcoinconsensus.h> |