diff options
author | SChernykh <sergey.v.chernykh@gmail.com> | 2022-09-22 13:04:50 +0200 |
---|---|---|
committer | SChernykh <sergey.v.chernykh@gmail.com> | 2022-09-22 13:04:50 +0200 |
commit | 8e7c7af05f3833b308d61092b4746e436a0a876d (patch) | |
tree | 3386fc48018453d717d7459915555856653600b5 /tests/crypto/crypto-ops.c | |
parent | Merge pull request #8556 (diff) | |
download | monero-8e7c7af05f3833b308d61092b4746e436a0a876d.tar.xz |
Move update_checkpoints() to a later stage
update_checkpoints() makes a few DNS requests and can take up to 20-30 seconds to complete (3-6 seconds on average). It is currently called from core::handle_incoming_block() which holds m_incoming_tx_lock, so it blocks all incoming transactions and blocks processing while update_checkpoints() is running. This PR moves it to until after a new block has been processed and relayed, to avoid full monerod locking.
Diffstat (limited to 'tests/crypto/crypto-ops.c')
0 files changed, 0 insertions, 0 deletions