[monero-project/monero] Regtest (#3854)

vicsn commented on this pull request.

> @@ -419,6 +420,10 @@ bool Blockchain::init(BlockchainDB* db, const network_type nettype, bool offline
// ensure we fixup anything we found and fix in the future
m_db->fixup();
}
+ else if (m_regtest)
+ {
+ m_db->set_batch_transactions(true);
+ }

Shall I:
– remove the “if (m_regtest)”
– remove “set_batch_transactions(true);” in the other locations:
blockchain_db.cpp/db_lmdb.cpp/blockchain_import.cpp/hardfork.cpp (and chaingen.h if I don’t break anything) ?

This post was last modified on June 13, 2018, 11:26 pm