23 return RPCModules{RPCModule{
"personal",
"1.0"}};
25 virtual std::string personal_newAccount(std::string
const& _password)
override;
26 virtual bool personal_unlockAccount(std::string
const& _address, std::string
const& _password,
int _duration)
override;
27 virtual std::string personal_signAndSendTransaction(
Json::Value const& _transaction, std::string
const& _password)
override;
28 virtual std::string personal_sendTransaction(
Json::Value const& _transaction, std::string
const& _password)
override;
29 virtual Json::Value personal_listAccounts()
override;
Adapted from code found on http://stackoverflow.com/questions/180947/base64-decode-snippet-in-c Origi...
std::vector< RPCModule > RPCModules
virtual RPCModules implementedModules() const override
Manages real accounts (where we know the secret key) and proxy accounts (where transactions to be sen...
dev::eth::KeyManager & m_keyManager
dev::eth::AccountHolder & m_accountHolder
High-level manager of password-encrypted keys for Ethereum.
dev::eth::Interface & m_eth
Main API hub for interfacing with Ethereum.