diff options
| author | John Newbery <[email protected]> | 2017-12-04 12:49:20 -0500 |
|---|---|---|
| committer | Andrew Chow <[email protected]> | 2018-02-16 12:09:26 -0500 |
| commit | 1598f32304cd55b83ecc623ee0f9e30b4e087b7d (patch) | |
| tree | ec538026ed4ed137e19b75ea104f8ba3d71ab8f3 /src/rpc/util.h | |
| parent | [rpc] split wallet and non-wallet parts of DescribeAddressVisitor (diff) | |
| download | discoin-1598f32304cd55b83ecc623ee0f9e30b4e087b7d.tar.xz discoin-1598f32304cd55b83ecc623ee0f9e30b4e087b7d.zip | |
[rpc] Move DescribeAddressVisitor to rpc/util
Diffstat (limited to 'src/rpc/util.h')
| -rw-r--r-- | src/rpc/util.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/rpc/util.h b/src/rpc/util.h index 568a4260b..5380d45a8 100644 --- a/src/rpc/util.h +++ b/src/rpc/util.h @@ -5,6 +5,13 @@ #ifndef BITCOIN_RPC_UTIL_H #define BITCOIN_RPC_UTIL_H +#include <pubkey.h> +#include <script/standard.h> +#include <univalue.h> +#include <utilstrencodings.h> + +#include <boost/variant/static_visitor.hpp> + #include <string> #include <vector> @@ -16,4 +23,6 @@ CPubKey HexToPubKey(const std::string& hex_in); CPubKey AddrToPubKey(CKeyStore* const keystore, const std::string& addr_in); CScript CreateMultisigRedeemscript(const int required, const std::vector<CPubKey>& pubkeys); +UniValue DescribeAddress(const CTxDestination& dest); + #endif // BITCOIN_RPC_UTIL_H |