diff options
author | John Newbery <john@johnnewbery.com> | 2019-04-02 16:42:51 -0400 |
---|---|---|
committer | John Newbery <john@johnnewbery.com> | 2019-04-09 17:53:08 -0400 |
commit | 1acc61f8746bc6efb905e121a9f607c4f5982b35 (patch) | |
tree | 0b332f29a18351a6bbe7d8536890a7f7894178f8 /src/test | |
parent | 4a75c9d6512a5580e60104103ea11d2cd9586354 (diff) |
[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')
-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 87c3e74df0..b964c6e479 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> |