47 std::string lookup(
dev::h256 const& _key)
const;
48 void insert(
dev::h256 const& _key, std::string
const& _value);
55 std::unique_ptr<leveldb::DB>
m_db;
63 void loadAllMessages(std::map<h256, Envelope>& o_dst);
FailedToOpenLevelDB(std::string const &_message)
Adapted from code found on http://stackoverflow.com/questions/180947/base64-decode-snippet-in-c Origi...
FailedLookupInLevelDB(std::string const &_message)
virtual ~WhisperMessagesDB()
std::unique_ptr< leveldb::DB > m_db
virtual ~WhisperFiltersDB()
FailedInsertInLevelDB(std::string const &_message)
Base class for all exceptions.
leveldb::ReadOptions m_readOptions
std::vector< byte > bytes
leveldb::WriteOptions m_writeOptions
Exception(std::string _message=std::string())
FailedDeleteInLevelDB(std::string const &_message)