| 58 | } |
| 59 | |
| 60 | void PeerDB::db_commit() { |
| 61 | db.commit_db_txn(); |
| 62 | commit_timer.once(float(config.db_commit_period_peers)); |
| 63 | } |
| 64 | |
| 65 | void PeerDB::read_db(const std::string &prefix, peers_indexed &list) { |
| 66 | list.clear(); |
nothing calls this directly
no test coverage detected