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

This commit is contained in:
jeffro256
2025-03-10 01:02:37 -05:00
parent 1bd57c8e95
commit c069c04ede
25 changed files with 1185 additions and 1171 deletions
+1 -1
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});
}
}
else // if --no-zmq specified