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

Method Erase

src/dbwrapper.h:284–289  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

282
283 template <typename K>
284 bool Erase(const K& key, bool fSync = false)
285 {
286 CDBBatch batch(*this);
287 batch.Erase(key);
288 return WriteBatch(batch, fSync);
289 }
290
291 bool WriteBatch(CDBBatch& batch, bool fSync = false);
292

Callers

nothing calls this directly

Calls 2

WriteBatchClass · 0.50
EraseMethod · 0.45

Tested by

no test coverage detected