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
No known key found for this signature in database
GPG key ID: 6F79797A6E392442
29 changed files with 1186 additions and 1636 deletions

View file

@ -370,7 +370,7 @@ namespace rpc
tx_verification_context tvc = AUTO_VAL_INIT(tvc);
if(!m_core.handle_incoming_tx({tx_blob, crypto::null_hash}, tvc, (relay ? relay_method::local : relay_method::none), false) || tvc.m_verifivation_failed)
if(!m_core.handle_incoming_tx(tx_blob, tvc, (relay ? relay_method::local : relay_method::none), false) || tvc.m_verifivation_failed)
{
if (tvc.m_verifivation_failed)
{