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