51 virtual void setIdentities(std::vector<dev::KeyPair>
const& _ids);
52 std::map<dev::Public, dev::Secret>
const&
ids()
const {
return m_ids; }
54 virtual bool shh_post(
Json::Value const& _json)
override;
55 virtual std::string shh_newIdentity()
override;
56 virtual bool shh_hasIdentity(std::string
const& _identity)
override;
57 virtual std::string shh_newGroup(std::string
const& _id, std::string
const& _who)
override;
58 virtual std::string shh_addToGroup(std::string
const& _group, std::string
const& _who)
override;
59 virtual std::string shh_newFilter(
Json::Value const& _json)
override;
60 virtual bool shh_uninstallFilter(std::string
const& _filterId)
override;
61 virtual Json::Value shh_getFilterChanges(std::string
const& _filterId)
override;
62 virtual Json::Value shh_getMessages(std::string
const& _filterId)
override;
68 std::map<dev::Public, dev::Secret>
m_ids;
Adapted from code found on http://stackoverflow.com/questions/180947/base64-decode-snippet-in-c Origi...
std::vector< RPCModule > RPCModules
Main API hub for interfacing with Web 3 components.
virtual RPCModules implementedModules() const override
std::map< dev::Public, dev::Secret > const & ids() const
std::map< unsigned, dev::Public > m_watches
std::map< dev::Public, dev::Secret > m_ids