mirror of
https://github.com/monero-project/monero.git
synced 2025-08-16 11:20:21 -04:00
blockchain sync: reduce disk writes from 2 to 1 per tx
This commit is contained in:
parent
d0118f4778
commit
008ba966da
29 changed files with 1186 additions and 1636 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue