aboutsummaryrefslogtreecommitdiff
path: root/utils/python-rpc/framework/__init__.py
diff options
context:
space:
mode:
authorSChernykh <sergey.v.chernykh@gmail.com>2022-09-22 13:06:39 +0200
committerSChernykh <sergey.v.chernykh@gmail.com>2022-09-22 13:06:39 +0200
commit802c4bb0e4e7a94c07e5c06a3e993e104b529e52 (patch)
treed9537185b6f920b85c1cb8aa6f192fd773996f2f /utils/python-rpc/framework/__init__.py
parent7cbae6ca988dedbe358ee5edbf9bdd610673a8ee (diff)
downloadmonzero-core-802c4bb0e4e7a94c07e5c06a3e993e104b529e52.tar.gz
monzero-core-802c4bb0e4e7a94c07e5c06a3e993e104b529e52.tar.xz
monzero-core-802c4bb0e4e7a94c07e5c06a3e993e104b529e52.zip
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 'utils/python-rpc/framework/__init__.py')
0 files changed, 0 insertions, 0 deletions