MCPcopy Create free account
hub / github.com/bcndev/bytecoin / db_commit

Method db_commit

src/Core/Archive.cpp:71–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69}
70
71void Archive::db_commit() {
72 if (!m_db || m_read_only)
73 return;
74 m_db->commit_db_txn();
75}
76
77void Archive::read_archive(api::cnd::GetArchive::Request &&req, api::cnd::GetArchive::Response &resp) {
78 if (m_unique_id.empty())

Callers

nothing calls this directly

Calls 1

commit_db_txnMethod · 0.45

Tested by

no test coverage detected