blockchain sync: reduce disk writes from 2 to 1 per tx

This commit is contained in:
jeffro256
2024-01-17 17:17:16 -06:00
parent d0118f4778
commit 008ba966da
29 changed files with 1186 additions and 1636 deletions

View File

@@ -119,9 +119,9 @@ public:
if (shared)
{
core.get().get_blockchain_storage().set_txpool_notify(cryptonote::listener::zmq_pub::txpool_add{shared});
core.get().get_blockchain_storage().add_block_notify(cryptonote::listener::zmq_pub::chain_main{shared});
core.get().get_blockchain_storage().add_miner_notify(cryptonote::listener::zmq_pub::miner_data{shared});
core.get().set_txpool_listener(cryptonote::listener::zmq_pub::txpool_add{shared});
}
}
}