Master Core  v0.0.9 - 2abfd2849db8ba7a83957c64eb976b406713c123
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
rpcmisc.cpp File Reference
#include "base58.h"
#include "init.h"
#include "main.h"
#include "net.h"
#include "netbase.h"
#include "rpcserver.h"
#include "util.h"
#include <stdint.h>
#include <boost/assign/list_of.hpp>
#include "json/json_spirit_utils.h"
#include "json/json_spirit_value.h"
+ Include dependency graph for rpcmisc.cpp:

Go to the source code of this file.

Functions

Value getinfo (const Array &params, bool fHelp)
 
Value validateaddress (const Array &params, bool fHelp)
 
CScript _createmultisig_redeemScript (const Array &params)
 
Value createmultisig (const Array &params, bool fHelp)
 
Value verifymessage (const Array &params, bool fHelp)
 

Function Documentation

CScript _createmultisig_redeemScript ( const Array &  params)

Definition at line 179 of file rpcmisc.cpp.

References CBitcoinAddress::GetKeyID(), CCryptoKeyStore::GetPubKey(), CPubKey::IsFullyValid(), IsHex(), CBitcoinAddress::IsValid(), MAX_SCRIPT_ELEMENT_SIZE, ParseHex(), pwalletMain, CScript::SetMultisig(), and strprintf.

Referenced by addmultisigaddress(), and createmultisig().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Value createmultisig ( const Array &  params,
bool  fHelp 
)

Definition at line 239 of file rpcmisc.cpp.

References _createmultisig_redeemScript(), CScript::GetID(), HelpExampleCli(), HelpExampleRpc(), HexStr(), and CBase58Data::ToString().

+ Here is the call graph for this function:

Value getinfo ( const Array &  params,
bool  fHelp 
)
Value validateaddress ( const Array &  params,
bool  fHelp 
)

Definition at line 129 of file rpcmisc.cpp.

References CBitcoinAddress::Get(), HelpExampleCli(), HelpExampleRpc(), IsMine(), CBitcoinAddress::IsValid(), CWallet::mapAddressBook, pwalletMain, and CBase58Data::ToString().

+ Here is the call graph for this function:

Value verifymessage ( const Array &  params,
bool  fHelp 
)

Definition at line 282 of file rpcmisc.cpp.

References DecodeBase64(), CHashWriter::GetHash(), CPubKey::GetID(), CBitcoinAddress::GetKeyID(), HelpExampleCli(), HelpExampleRpc(), CBitcoinAddress::IsValid(), JSONRPCError(), CPubKey::RecoverCompact(), RPC_INVALID_ADDRESS_OR_KEY, RPC_TYPE_ERROR, SER_GETHASH, and strMessageMagic.

+ Here is the call graph for this function: