aboutsummaryrefslogtreecommitdiff
path: root/tests/crypto/crypto-ops.c
diff options
context:
space:
mode:
authorSChernykh <sergey.v.chernykh@gmail.com>2022-09-22 13:04:50 +0200
committerSChernykh <sergey.v.chernykh@gmail.com>2022-09-22 13:04:50 +0200
commit8e7c7af05f3833b308d61092b4746e436a0a876d (patch)
tree3386fc48018453d717d7459915555856653600b5 /tests/crypto/crypto-ops.c
parentMerge pull request #8556 (diff)
downloadmonero-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