MCPcopy Create free account
hub / github.com/WaykiChain/WaykiChain / DumpDbAll

Function DumpDbAll

src/rpc/rpcmisc.cpp:424–429  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

422}
423
424static void DumpDbAll(FILE *f) {
425 string str = "";
426 DBK_PREFIX_CACHE_LIST(DUMP_DB_ALL);
427 str += DbCacheToString(*pCdMan->pBlockIndexDb) + "\n";
428 fwrite(str.data(), 1, str.size(), f);
429}
430
431
432Value dumpdb(const Array& params, bool fHelp) {

Callers 1

dumpdbFunction · 0.85

Calls 3

DbCacheToStringFunction · 0.85
dataMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected