You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
578 B
20 lines
578 B
![]()
7 years ago
|
// Copyright (c) 2017 The Bitcoin Core developers
|
||
|
// Distributed under the MIT software license, see the accompanying
|
||
|
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||
|
|
||
|
#ifndef BITCOIN_RPC_UTIL_H
|
||
|
#define BITCOIN_RPC_UTIL_H
|
||
|
|
||
|
#include <string>
|
||
|
#include <vector>
|
||
|
|
||
|
class CKeyStore;
|
||
|
class CPubKey;
|
||
|
class CScript;
|
||
|
|
||
|
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);
|
||
|
|
||
|
#endif // BITCOIN_RPC_UTIL_H
|