MCPcopy Create free account
hub / github.com/ElementsProject/elements / Write

Method Write

src/dbwrapper.h:257–262  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

255
256 template <typename K, typename V>
257 bool Write(const K& key, const V& value, bool fSync = false)
258 {
259 CDBBatch batch(*this);
260 batch.Write(key, value);
261 return WriteBatch(batch, fSync);
262 }
263
264 template <typename K>
265 bool Exists(const K& key) const

Callers

nothing calls this directly

Calls 2

WriteBatchClass · 0.50
WriteMethod · 0.45

Tested by

no test coverage detected