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

Method ToString

src/persistence/leveldbwrapper.cpp:31–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29}
30
31std::string CDBOpLogMap::ToString() const {
32 std::string str = "";
33 for (auto itemOpLogs : mapDbOpLogs) {
34 str += strprintf("type:%s {", itemOpLogs.first);
35 for (auto iterDbLog : itemOpLogs.second) {
36 str += iterDbLog.ToString();
37 str += ";";
38 }
39 str += "}";
40 }
41 return str;
42}
43
44static leveldb::Options GetOptions(size_t nCacheSize) {
45 leveldb::Options options;

Callers 1

ThrowErrorFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected