mirror of
https://github.com/Qortal/qortal.git
synced 2025-02-15 03:35:49 +00:00
As importing a transaction requires blockchain lock, all the network threads can be used up blocking for that lock, especially if Synchronizer is active. So we simply discard incoming TRANSACTION messages if we can't immediately obtain the blockchain lock. Some other peer will probably attempt to send the transaction soon again anyway. Plus we swap transaction lists after connection handshake.