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

Method db_commit

src/Core/Node.cpp:86–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84}
85
86void Node::db_commit() {
87 m_block_chain.db_commit();
88 m_commit_timer.once(float(m_config.db_commit_period_blockchain));
89}
90
91void Node::remove_chain_block(std::map<Hash, DownloadInfo>::iterator it) {
92 invariant(it->second.chain_counter > 0, "");

Callers 2

import_blocksMethod · 0.45
import_blockchain2Method · 0.45

Calls 1

onceMethod · 0.80

Tested by

no test coverage detected