• Tom Zander's avatar
    Fix UTXO throttling feature · 9d5f9d21
    Tom Zander authored
    On low core-count machines the request to save could end up being
    delayed since all threads are busy doing things like validating
    transactions.
    So when a really big block came in I ended up throttling while there
    was no save method running in parallel at all.
    This fixes this and also makes throtteling be a per-thread thing
    instead of doing it inside the mutex.
    9d5f9d21
Name
Last commit
Last update
..
compat Loading commit data...
networkmanager Loading commit data...
streaming Loading commit data...
support Loading commit data...
CMakeLists.txt Loading commit data...
LogChannels.cpp Loading commit data...
LogChannels_p.h Loading commit data...
Logger.cpp Loading commit data...
Logger.h Loading commit data...
Message.cpp Loading commit data...
Message.h Loading commit data...
SettingsDefaults.h Loading commit data...
WorkerThreads.cpp Loading commit data...
WorkerThreads.h Loading commit data...
allowed_args.cpp Loading commit data...
allowed_args.h Loading commit data...
amount.cpp Loading commit data...
amount.h Loading commit data...
chainparamsbase.cpp Loading commit data...
chainparamsbase.h Loading commit data...
clientversion.cpp Loading commit data...
clientversion.h Loading commit data...
compat.h Loading commit data...
prevector.h Loading commit data...
random.cpp Loading commit data...
random.h Loading commit data...
rpcprotocol.cpp Loading commit data...
rpcprotocol.h Loading commit data...
serialize.h Loading commit data...
sync.cpp Loading commit data...
sync.h Loading commit data...
threadsafety.h Loading commit data...
tinyformat.h Loading commit data...
uint256.cpp Loading commit data...
uint256.h Loading commit data...
util.cpp Loading commit data...
util.h Loading commit data...
utilmoneystr.cpp Loading commit data...
utilmoneystr.h Loading commit data...
utilstrencodings.cpp Loading commit data...
utilstrencodings.h Loading commit data...
utiltime.cpp Loading commit data...
utiltime.h Loading commit data...
version.h Loading commit data...