mirror of
https://github.com/Qortal/qortal.git
synced 2025-03-16 12:12:32 +00:00
Importing has to be single threaded since it requires the database lock, but there's nothing to stop us from validating signatures on multiple threads, as no lock is required. So it makes sense to separate these two functions to allow for possible multi threaded signature validation in the future, to speed up the process. Everything remains single threaded in this commit. It should be functionally the same as before, to reduce risk.