Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

util.h
Go to the documentation of this file.
1 // Copyright (c) 2017 The Bitcoin Core developers
2 // Distributed under the MIT software license, see the accompanying
3 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
4 
5 #ifndef BITCOIN_RPC_UTIL_H
6 #define BITCOIN_RPC_UTIL_H
7 
8 #include <string>
9 #include <vector>
10 
11 class CKeyStore;
12 class CPubKey;
13 class CScript;
14 
15 CPubKey HexToPubKey(const std::string& hex_in);
16 CPubKey AddrToPubKey(CKeyStore* const keystore, const std::string& addr_in);
17 CScript CreateMultisigRedeemscript(const int required, const std::vector<CPubKey>& pubkeys);
18 
19 #endif // BITCOIN_RPC_UTIL_H
CPubKey AddrToPubKey(CKeyStore *const keystore, const std::string &addr_in)
Definition: util.cpp:27
CPubKey HexToPubKey(const std::string &hex_in)
Definition: util.cpp:14
An encapsulated public key.
Definition: pubkey.h:30
Serialized script, used inside transaction inputs and outputs.
Definition: script.h:389
A virtual base class for key stores.
Definition: keystore.h:19
CScript CreateMultisigRedeemscript(const int required, const std::vector< CPubKey > &pubkeys)
Definition: util.cpp:48
Released under the MIT license