bool Read(const K &key, V &value) const
bool Write(const K &key, const V &value, bool fSync=false)
bool Exists(const K &key) const
bool WriteSpork(const SporkId nSporkId, const CSporkMessage &spork)
CSporkDB(size_t nCacheSize, bool fMemory=false, bool fWipe=false)
bool SporkExists(const SporkId nSporkId)
bool ReadSpork(const SporkId nSporkId, CSporkMessage &spork)
std::string GetSporkNameByID(SporkId id)
UniValue spork(const JSONRPCRequest &request)
CSporkManager sporkManager
const fs::path & GetDataDir(bool fNetSpecific)