MCPcopy Create free account
hub / github.com/XTXMarkets/ternfs / LogsDB

Method LogsDB

cpp/core/LogsDB.cpp:1817–1827  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1815};
1816
1817LogsDB::LogsDB(
1818 Logger& logger,
1819 std::shared_ptr<XmonAgent>& xmon,
1820 SharedRocksDB& sharedDB,
1821 ReplicaId replicaId,
1822 LogIdx lastRead,
1823 bool noReplication,
1824 bool avoidBeingLeader)
1825{
1826 _impl = new LogsDBImpl(logger, xmon, sharedDB, replicaId, lastRead, noReplication, avoidBeingLeader);
1827}
1828
1829LogsDB::~LogsDB() {
1830 delete _impl;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected