dash/src
UdjinM6 c631d042c7
llmq: Use thread pool for quorum cache and data recovery threads (#4008)
* llmq: Use thread pool for quorum cache and data recovery threads

Move quorum data and cache thread handling into CQuorumManager.

* llmq: Fix explicit capture list

* llmq: Directly push the lamdas to workerPool

Co-authored-by: xdustinface <xdustinfacex@gmail.com>
2021-02-20 15:43:43 -05:00
..
bench Merge #13786: refactor: Avoid locking tx pool cs thrice 2021-02-04 14:58:13 -06:00
bls bls: Modify CBLSIES classes - Introduce individually encrypted objects (#3937) 2021-01-21 14:25:42 -06:00
compat Merge pull request #3887 from UdjinM6/bp12971 2020-12-19 00:34:53 -06:00
config
consensus Harden DIP0008 activation (#3889) 2020-12-28 12:21:01 +01:00
crypto scripted-diff: Merge #13753: Remove trailing whitespaces 2020-07-28 20:23:12 -05:00
evo Merge pull request #3977 from PastaPastaPasta/backports-0.17-pr26 2021-02-08 18:34:45 +03:00
governance governance: Fix signature check in CGovernanceObject::Sign (#3973) 2021-02-01 10:23:58 -05:00
immer scripted-diff: Merge #13753: Remove trailing whitespaces 2020-07-28 20:23:12 -05:00
interfaces Merge #13566: Fix get balance 2020-12-22 17:58:12 +01:00
leveldb Merge #13925: Merge leveldb subtree 2021-02-04 14:58:13 -06:00
llmq llmq: Use thread pool for quorum cache and data recovery threads (#4008) 2021-02-20 15:43:43 -05:00
masternode refactor: Rename fMasternode and fMasternodeProbe (#3928) 2021-01-14 13:59:18 -06:00
node Merge #9753: Add static_assert to prevent VARINT(<signed value>) 2020-12-17 15:20:31 +03:00
obj
obj-test
policy Consensus: DIP-0020: Dash opcode updates - OP_CAT and OP_SPLIT. (#3824) 2020-12-11 22:17:10 +00:00
primitives privatesend: Track mixing rounds via CTxDSIn and not via CTxOut (#3950) 2021-01-20 11:38:05 -05:00
privatesend Fix some circular dependencies, update EXPECTED_CIRCULAR_DEPENDENCIES to make linter happy 2021-02-04 14:58:20 -06:00
qt qt: Decouple transaction label updates from transaction status updates (#3994) 2021-02-14 17:27:28 -06:00
rpc llmq|rpc: Avoid some quorum data related copying (#3974) 2021-02-01 10:24:51 -05:00
script Consensus: DIP-0020: Dash opcode updates. Remaining dip0020 opcodes (#3893) 2021-01-13 14:45:04 -06:00
secp256k1 Merge #15703: Update secp256k1 subtree to latest upstream 2020-03-14 11:01:03 -05:00
support Merge #16161: util: Fix compilation errors in support/lockedpool.cpp 2020-10-26 20:35:28 -04:00
test Merge #13786: refactor: Avoid locking tx pool cs thrice 2021-02-04 14:58:13 -06:00
univalue Merge #12193: RPC: Consistently use UniValue.pushKV instead of push_back(Pair()) (karel-3d) (#3532) 2020-06-18 12:17:23 +03:00
wallet wallet: Always skip conflicting txes in SelectCoinsGroupedByAddresses (#4002) 2021-02-17 12:02:17 -05:00
zmq Use single-threaded scheduler for IS, CL and Governance notifications (#3954) 2021-01-21 23:32:15 -05:00
.clang-format Merge #12982: Fix inconsistent namespace formatting guidelines 2020-06-27 10:43:32 -05:00
addrdb.cpp Merge #13039: Add logging and error handling for file syncing 2020-11-17 14:32:37 -05:00
addrdb.h Backport 11651 (#3358) 2020-03-20 01:46:56 +03:00
addressindex.h Backport 11651 (#3358) 2020-03-20 01:46:56 +03:00
addrman.cpp scripted-diff: Merge #13753: Remove trailing whitespaces 2020-07-28 20:23:12 -05:00
addrman.h Merge #12747: Fix typos 2020-12-15 21:49:46 -06:00
amount.h
arith_uint256.cpp Merge #12537: [arith_uint256] Make it safe to use "self" in operators 2020-11-01 01:58:06 -04:00
arith_uint256.h Merge #12564: [arith_uint256] Avoid unnecessary this-copy using prefix operator 2020-06-13 14:50:11 -05:00
base58.cpp Merge #11372: Address encoding cleanup 2021-01-08 22:35:34 +03:00
base58.h Merge #11372: Address encoding cleanup 2021-01-08 22:35:34 +03:00
batchedlogger.cpp Backport 11651 (#3358) 2020-03-20 01:46:56 +03:00
batchedlogger.h Merge #12757: Clarify include guard naming convention 2020-07-19 00:42:54 -05:00
bech32.cpp Partial merge bitcoin#11167: Full BIP173 (Bech32) support 2021-01-08 22:35:13 +03:00
bech32.h Partial merge bitcoin#11167: Full BIP173 (Bech32) support 2021-01-08 22:35:13 +03:00
bip39_english.h Merge #12757: Clarify include guard naming convention 2020-07-19 00:42:54 -05:00
bip39.cpp Backport 11651 (#3358) 2020-03-20 01:46:56 +03:00
bip39.h Merge #12757: Clarify include guard naming convention 2020-07-19 00:42:54 -05:00
blockencodings.cpp Refactor the hardening of DIP 1 (#3874) 2020-12-15 15:54:51 -06:00
blockencodings.h Merge #12683: Fix more constness violations in serialization code 2020-12-17 05:07:07 +03:00
blockfilter.cpp Merge #14073: blockfilter: Avoid out-of-bounds script access. 2020-06-13 14:08:18 -05:00
blockfilter.h Rename BlockFilterType::BASIC to BASIC_FILTER 2020-06-13 14:08:18 -05:00
bloom.cpp scripted-diff: Merge #13753: Remove trailing whitespaces 2020-07-28 20:23:12 -05:00
bloom.h scripted-diff: Merge #13753: Remove trailing whitespaces 2020-07-28 20:23:12 -05:00
cachemap.h Merge #12757: Clarify include guard naming convention 2020-07-19 00:42:54 -05:00
cachemultimap.h Merge #12757: Clarify include guard naming convention 2020-07-19 00:42:54 -05:00
chain.cpp Backport 11651 (#3358) 2020-03-20 01:46:56 +03:00
chain.h Merge #9753: Add static_assert to prevent VARINT(<signed value>) 2020-12-17 15:20:31 +03:00
chainparams.cpp chainparams|init: Add -llmqinstantsend command line parameter for devnets (#3956) 2021-01-21 14:29:14 -06:00
chainparams.h chainparams|init: Add -llmqinstantsend command line parameter for devnets (#3956) 2021-01-21 14:29:14 -06:00
chainparamsbase.cpp backport: bitcoin#12128: Refactor: One CBaseChainParams should be enough (#3865) 2020-12-11 00:12:26 +01:00
chainparamsbase.h backport: bitcoin#12128: Refactor: One CBaseChainParams should be enough (#3865) 2020-12-11 00:12:26 +01:00
chainparamsseeds.h contrib|src: Update hard coded seeds (#3791) 2020-11-08 17:45:56 +03:00
checkpoints.cpp Merge bitcoin#11041 Add LookupBlockIndex 2020-12-15 11:20:19 -06:00
checkpoints.h Merge bitcoin#11041 Add LookupBlockIndex 2020-12-15 11:20:19 -06:00
checkqueue.h scripted-diff: Merge #13753: Remove trailing whitespaces 2020-07-28 20:23:12 -05:00
clientversion.cpp Adjust version formatting and add formatted version to rpc (#3908) 2021-01-11 20:34:42 +01:00
clientversion.h Backport 11651 (#3358) 2020-03-20 01:46:56 +03:00
coins.cpp Refactor the hardening of DIP 1 (#3874) 2020-12-15 15:54:51 -06:00
coins.h Merge #12683: Fix more constness violations in serialization code 2020-12-17 05:07:07 +03:00
compat.h Implement kqueue support (#3892) 2020-12-30 13:34:42 -06:00
compressor.cpp Backport 11651 (#3358) 2020-03-20 01:46:56 +03:00
compressor.h Merge #12886: Introduce Span type and use it instead of FLATDATA 2020-12-17 11:21:20 +03:00
core_io.h Merge #13422: Drop ParseHashUV in favor of calling ParseHashStr 2020-07-07 11:39:35 -05:00
core_memusage.h Backport 11651 (#3358) 2020-03-20 01:46:56 +03:00
core_read.cpp Merge #13656: Remove the boost/algorithm/string/predicate.hpp dependency 2020-07-17 15:42:20 -05:00
core_write.cpp Merge #11372: Address encoding cleanup 2021-01-08 22:35:34 +03:00
ctpl.h scripted-diff: Merge #13753: Remove trailing whitespaces 2020-07-28 20:23:12 -05:00
cuckoocache.h Merge #12770: Use explicit casting in cuckoocache's compute_hashes(...) to clarify integer conversion 2020-11-01 01:58:42 -04:00
cxxtimer.hpp
dash-cli-res.rc
dash-cli.cpp docs: Properly alphabetize output of CLI --help option (backport 12331) (#3681) 2020-09-24 13:58:29 +03:00
dash-tx-res.rc
dash-tx.cpp Merge #11372: Address encoding cleanup 2021-01-08 22:35:34 +03:00
dashd-res.rc
dashd.cpp Merge #12941: [Trivial] Ignore macOS daemon() depracation warning 2020-11-01 01:01:45 -05:00
dbwrapper.cpp Merge #12784: Fix bug in memory usage calculation (unintended integer division) 2020-10-14 13:27:33 -04:00
dbwrapper.h Merge #12604: Add DynamicMemoryUsage() to CDBWrapper to estimate LevelDB memory use 2020-06-14 11:41:07 -05:00
dsnotificationinterface.cpp Use single-threaded scheduler for IS, CL and Governance notifications (#3954) 2021-01-21 23:32:15 -05:00
dsnotificationinterface.h Use single-threaded scheduler for IS, CL and Governance notifications (#3954) 2021-01-21 23:32:15 -05:00
flat-database.h remove additional FLATDATA 2020-10-27 13:24:34 -04:00
fs.cpp Backport 11651 (#3358) 2020-03-20 01:46:56 +03:00
fs.h
hash.cpp Merge #11884: Remove unused include in hash.cpp 2020-03-24 11:43:10 -05:00
hash.h Merge #12683: Fix more constness violations in serialization code 2020-12-17 05:07:07 +03:00
hdchain.cpp wallet: Upgrade path for non-HD wallets to HD (#3933) 2021-01-24 22:03:33 -05:00
hdchain.h Merge #12757: Clarify include guard naming convention 2020-07-19 00:42:54 -05:00
httprpc.cpp Merge #11372: Address encoding cleanup 2021-01-08 22:35:34 +03:00
httprpc.h
httpserver.cpp Backport #17249: rpc: Add missing deque include to fix build (#3815) 2020-11-17 22:46:07 +03:00
httpserver.h
indirectmap.h
init.cpp docs: cli option help additions (#3981) 2021-02-11 11:22:54 -05:00
init.h Merge #12977: Refactor g_wallet_init_interface to const reference 2020-11-17 14:32:38 -05:00
keepass.cpp Merge #12193: RPC: Consistently use UniValue.pushKV instead of push_back(Pair()) (karel-3d) (#3532) 2020-06-18 12:17:23 +03:00
keepass.h Merge #12757: Clarify include guard naming convention 2020-07-19 00:42:54 -05:00
key_io.cpp Merge #14242: Avoid triggering undefined behaviour (std::memset(nullptr, 0, 0)) if an invalid string is passed to DecodeSecret(...) 2021-01-08 22:35:46 +03:00
key_io.h Merge #11372: Address encoding cleanup 2021-01-08 22:35:34 +03:00
key.cpp Merge #9598: Improve readability by removing redundant casts to same type (on all platforms) 2020-06-18 11:41:53 -05:00
key.h Backport 11651 (#3358) 2020-03-20 01:46:56 +03:00
keystore.cpp Merge #12762: Make CKeyStore an interface 2020-10-26 20:35:28 -04:00
keystore.h Merge #13627: Free keystore.h from file scope level type aliases 2020-12-18 12:55:45 -06:00
limitedmap.h Add cache for CBlockTreeDB::HasTxIndex (#3402) 2020-04-08 22:18:33 +02:00
logging.cpp More of 12567: Add missing datetime format changes to LogTimestampStr 2020-12-16 10:14:45 -06:00
logging.h Merge #13021: MOVEONLY: Move logging code from util.{h,cpp} to new files. 2020-07-18 03:08:13 -05:00
Makefile.am Merge #11372: Address encoding cleanup 2021-01-08 22:35:34 +03:00
Makefile.bench.include backport: bitcoin#10583 - [RPC] Split part of validateaddress into getaddressinfo (#3880) 2020-12-17 13:46:20 +01:00
Makefile.leveldb.include
Makefile.qt.include Remove direct bitcoin calls from qt/splashscreen.cpp 2020-10-03 21:36:31 +02:00
Makefile.qttest.include Remove direct bitcoin calls from qt/splashscreen.cpp 2020-10-03 21:36:31 +02:00
Makefile.test.include Consensus: DIP-0020: Dash opcode updates. Remaining dip0020 opcodes (#3893) 2021-01-13 14:45:04 -06:00
memusage.h Bugfix: Include <memory> for std::unique_ptr 2020-04-08 11:46:27 -05:00
merkleblock.cpp Refactor the hardening of DIP 1 (#3874) 2020-12-15 15:54:51 -06:00
merkleblock.h Merge #13452: rpc: have verifytxoutproof check the number of txns in proof structure 2020-12-18 12:55:45 -06:00
messagesigner.cpp Merge #11372: Address encoding cleanup 2021-01-08 22:35:34 +03:00
messagesigner.h Merge #12757: Clarify include guard naming convention 2020-07-19 00:42:54 -05:00
miner.cpp Harden DIP0008 activation (#3889) 2020-12-28 12:21:01 +01:00
miner.h Merge #11689: mempool: Fix missing locking in CTxMemPool::check(…) and CTxMemPool::setSanityCheck(…) 2020-07-01 14:08:47 -05:00
net_processing.cpp chainlocks: Send an inv for the best ChainLock we have when replying to mempool p2p message (#3962) 2021-01-28 21:55:58 -05:00
net_processing.h Merge #12680: Add missing virtual destructor in PeerLogicValidation 2020-12-15 17:00:05 -06:00
net.cpp net|rpc: getpeerinfo - Add verified_pubkey_hash, fix a typo in verified_proregtx_hash docs (#3929) 2021-01-22 17:12:22 -05:00
net.h net|rpc: getpeerinfo - Add verified_pubkey_hash, fix a typo in verified_proregtx_hash docs (#3929) 2021-01-22 17:12:22 -05:00
netaddress.cpp Merge #19534: net: save the network type explicitly in CNetAddr 2021-01-18 16:12:49 -05:00
netaddress.h Merge #19534: net: save the network type explicitly in CNetAddr 2021-01-18 16:12:49 -05:00
netbase.cpp Merge #12678: build: Fix a few compilation issues with Clang 7 and -Werror 2020-12-15 17:00:05 -06:00
netbase.h Merge #12569: net: Increase signal-to-noise ratio in debug.log by adjusting log level when logging failed non-manual connect():s 2020-11-17 14:32:36 -05:00
netfulfilledman.cpp Backport 11651 (#3358) 2020-03-20 01:46:56 +03:00
netfulfilledman.h Merge #12757: Clarify include guard naming convention 2020-07-19 00:42:54 -05:00
netmessagemaker.h Backport 11651 (#3358) 2020-03-20 01:46:56 +03:00
noui.cpp Backport 11651 (#3358) 2020-03-20 01:46:56 +03:00
noui.h
pow.cpp Backport 11651 (#3358) 2020-03-20 01:46:56 +03:00
pow.h Backport 11651 (#3358) 2020-03-20 01:46:56 +03:00
prevector.h
protocol.cpp llmq|rpc|test|version: Implement P2P messages QGETDATA <-> QDATA (#3953) 2021-01-28 17:33:18 -05:00
protocol.h llmq|rpc|test|version: Implement P2P messages QGETDATA <-> QDATA (#3953) 2021-01-28 17:33:18 -05:00
pubkey.cpp Merge #13722: trivial: Replace CPubKey::operator[] with CPubKey::vch where possible 2020-07-28 20:08:40 -05:00
pubkey.h Merge #12460: Assert CPubKey::ValidLength to the pubkey's header-relevant size 2020-07-26 19:39:13 -05:00
random.cpp Merge #13236: break circular dependency: random/sync -> util -> random/sync 2020-07-18 03:08:13 -05:00
random.h Partial merge bitcoin#14624: Some simple improvements to the RNG code (#3923) 2021-01-14 13:46:16 -06:00
rest.cpp Merge bitcoin#11041 Add LookupBlockIndex 2020-12-15 11:20:19 -06:00
reverse_iterator.h scripted-diff: Merge #13753: Remove trailing whitespaces 2020-07-28 20:23:12 -05:00
reverselock.h
saltedhasher.cpp Backport 11651 (#3358) 2020-03-20 01:46:56 +03:00
saltedhasher.h Merge #12757: Clarify include guard naming convention 2020-07-19 00:42:54 -05:00
scheduler.cpp Merge #11824: Block ActivateBestChain to empty validationinterface queue 2020-03-24 17:21:59 +03:00
scheduler.h Merge #13835: [trivial,doc] Fix memory consistency model in comment 2020-07-17 15:45:43 -05:00
serialize.h Merge #9753: Add static_assert to prevent VARINT(<signed value>) 2020-12-17 15:20:31 +03:00
span.h Merge #12886: Introduce Span type and use it instead of FLATDATA 2020-12-17 11:21:20 +03:00
spentindex.h Backport 11651 (#3358) 2020-03-20 01:46:56 +03:00
spork.cpp spork: Add more constness in CSporkManager and CSporkMessage (#3955) 2021-01-22 00:57:42 -05:00
spork.h spork: Add more constness in CSporkManager and CSporkMessage (#3955) 2021-01-22 00:57:42 -05:00
stacktraces.cpp Fix some circular dependencies, update EXPECTED_CIRCULAR_DEPENDENCIES to make linter happy 2021-02-04 14:58:20 -06:00
stacktraces.h Merge #12757: Clarify include guard naming convention 2020-07-19 00:42:54 -05:00
statsd_client.cpp Backporting Statoshi and bitcoin#16728 (#2515) 2020-12-15 10:22:23 -06:00
statsd_client.h Backporting Statoshi and bitcoin#16728 (#2515) 2020-12-15 10:22:23 -06:00
streams.h Merge #12683: Fix more constness violations in serialization code 2020-12-17 05:07:07 +03:00
sync.cpp Merge #13236: break circular dependency: random/sync -> util -> random/sync 2020-07-18 03:08:13 -05:00
sync.h Merge #13423: [net] Thread safety annotations in net_processing 2020-06-08 20:27:14 -05:00
threadinterrupt.cpp Backport 11651 (#3358) 2020-03-20 01:46:56 +03:00
threadinterrupt.h
threadsafety.h Merge #13423: [net] Thread safety annotations in net_processing 2020-06-08 20:27:14 -05:00
timedata.cpp Merge #13153: Add missing newlines to debug logging 2020-07-29 10:55:33 -05:00
timedata.h scripted-diff: Merge #13753: Remove trailing whitespaces 2020-07-28 20:23:12 -05:00
tinyformat.h Merge #12716: Fix typos and cleanup in various files 2020-06-11 23:20:48 -05:00
torcontrol.cpp Merge #13291: test: Don't include torcontrol.cpp into the test file 2020-07-01 14:08:47 -05:00
torcontrol.h Backport 12381 (#3528) 2020-06-13 21:21:30 +03:00
txdb.cpp Merge #9753: Add static_assert to prevent VARINT(<signed value>) 2020-12-17 15:20:31 +03:00
txdb.h Merge #12731: Support serialization as another type without casting 2020-06-11 23:20:48 -05:00
txmempool.cpp Merge #13786: refactor: Avoid locking tx pool cs thrice 2021-02-04 14:58:13 -06:00
txmempool.h Merge #13786: refactor: Avoid locking tx pool cs thrice 2021-02-04 14:58:13 -06:00
ui_interface.cpp Backport 11651 (#3358) 2020-03-20 01:46:56 +03:00
ui_interface.h
uint256.cpp Backport 11651 (#3358) 2020-03-20 01:46:56 +03:00
uint256.h Backport 11651 (#3358) 2020-03-20 01:46:56 +03:00
undo.h Merge #9753: Add static_assert to prevent VARINT(<signed value>) 2020-12-17 15:20:31 +03:00
unordered_lru_cache.h llmq: Some fixes/improvements (#3943) 2021-01-25 10:22:28 +01:00
util.cpp Merge #13617: release: require macOS 10.10+ 2020-12-18 01:14:34 +03:00
util.h Merge #12618: Set SCHED_BATCH priority on the loadblk thread. 2020-12-15 22:34:03 -06:00
utilmemory.h Merge #13690: [moveonly] Extract MakeUnique into utilmemory.h 2020-07-26 19:39:13 -05:00
utilmoneystr.cpp Backport 11651 (#3358) 2020-03-20 01:46:56 +03:00
utilmoneystr.h Backport 11651 (#3358) 2020-03-20 01:46:56 +03:00
utilstrencodings.cpp Merge #11630: Simplify Base32 and Base64 conversions 2021-01-08 22:35:46 +03:00
utilstrencodings.h Merge #11630: Simplify Base32 and Base64 conversions 2021-01-08 22:35:46 +03:00
utiltime.cpp Merge #12567: util: Print timestamp strings in logs using ISO 8601 formatting 2020-12-15 20:16:10 -06:00
utiltime.h Merge #12567: util: Print timestamp strings in logs using ISO 8601 formatting 2020-12-15 20:16:10 -06:00
validation.cpp instantsend: Ignore IS while reindexing/loading blocks from file, bail out early when IS is off (#3985) 2021-02-20 15:37:25 -05:00
validation.h Always mark conflicting blocks with BLOCK_CONFLICT_CHAINLOCK flag (#3924) 2021-01-16 14:47:13 -05:00
validationinterface.cpp Use single-threaded scheduler for IS, CL and Governance notifications (#3954) 2021-01-21 23:32:15 -05:00
validationinterface.h Use single-threaded scheduler for IS, CL and Governance notifications (#3954) 2021-01-21 23:32:15 -05:00
version.h llmq|rpc|test|version: Implement P2P messages QGETDATA <-> QDATA (#3953) 2021-01-28 17:33:18 -05:00
versionbits.cpp Implement new hardfork for v17 to be used in future changes (#3808) 2020-11-17 19:28:14 +00:00
versionbits.h Implement dynamic activation thresholds (#3692) 2020-09-12 17:33:12 +03:00
walletinitinterface.h Merge #12977: Refactor g_wallet_init_interface to const reference 2020-11-17 14:32:38 -05:00
warnings.cpp Merge #13116: Add Clang thread safety annotations for variables guarded by cs_{rpcWarmup,nTimeOffset,warnings} 2020-06-28 19:28:57 -05:00
warnings.h Merge #13895: Docs: fix GetWarnings docs to reflect behavior 2020-07-17 15:45:43 -05:00