dash/src
Pieter Wuille 06c90e5a83
Merge #10866: Fix -Wthread-safety-analysis warnings. Compile with -Wthread-safety-analysis if available.
76ea17c79 Add mutex requirement for AddToCompactExtraTransactions(…) (practicalswift)
4616c825a Use -Wthread-safety-analysis if available (+ -Werror=thread-safety-analysis if --enable-werror) (practicalswift)
7e319d639 Fix -Wthread-safety-analysis warnings. Change the sync.h primitives to std from boost. (Matt Corallo)

Pull request description:

  * Add mutex requirement for `AddToCompactExtraTransactions(…)`.
  * Use `-Wthread-safety-analysis` if available.
  * Rebased on top of https://github.com/TheBlueMatt/bitcoin/commits/2017-08-test-10923 - now includes: Fix -Wthread-safety-analysis warnings. Change the sync.h primitives to std from boost.

Tree-SHA512: fb7365f85daa2741c276a1c899228181a8d46af51db7fbbdffceeaff121a3eb2ab74d7c8bf5e7de879bcc5042d00d24cb4649c312d51caba45a3f6135fd8b38f
2020-02-08 23:33:25 -06:00
..
bench Merge #11303: Fix estimatesmartfee rounding display issue 2020-01-31 07:43:43 -06:00
bls Bump copyright year to 2020 (#3290) 2020-01-17 15:42:55 +01:00
compat Merge #11140: Trivial: Improve #endif comments 2020-01-29 16:24:28 -06:00
config
consensus Merge #10749: Use compile-time constants instead of unnamed enumerations (remove "enum hack") 2020-01-22 09:24:25 -06:00
crypto Merge #10969: Declare single-argument (non-converting) constructors "explicit" 2020-01-10 10:33:57 -06:00
evo More of 12218 for Dash-specific code 2020-01-28 15:42:19 -06:00
governance More of 11583 for Dash-specific code 2020-01-28 15:42:25 -06:00
immer
leveldb
llmq More of 11583 for Dash-specific code 2020-01-28 15:42:25 -06:00
masternode A couple of fixes for CActiveMasternodeManager::Init() (#3326) 2020-02-08 14:42:26 +03:00
obj
obj-test
policy Merge #11303: Fix estimatesmartfee rounding display issue 2020-01-31 07:43:43 -06:00
primitives keep nVersion as 16 byte integer 2020-01-10 10:33:58 -06:00
privatesend Refactor PS a bit and make it so that the expected flow for mixing is to time out and fallback (#3309) 2020-01-31 13:56:45 +03:00
qt Merge pull request #3316 from PastaPastaPasta/backports-0.16-pr7 2020-02-04 15:32:11 +03:00
rpc Merge #10866: Fix -Wthread-safety-analysis warnings. Compile with -Wthread-safety-analysis if available. 2020-02-08 23:33:25 -06:00
script Merge #11284: Fix invalid memory access in CScript::operator+= (guidovranken, ajtowns) 2020-01-31 07:43:43 -06:00
secp256k1 Merge #11421: Merge current secp256k1 subtree 2020-02-08 23:33:25 -06:00
support Merge #11351: Refactor: Modernize disallowed copy constructors/assignment 2020-01-11 18:22:25 -06:00
test Merge #10440: [tests] Add libFuzzer support 2020-02-08 23:33:25 -06:00
univalue Merge #11952: [qa] univalue: Bump subtree 2020-01-31 07:43:43 -06:00
wallet Merge #10939: [init] Check non-emptiness of -blocknotify command prior to executing 2020-02-08 23:33:25 -06:00
zmq Merge #10809: optim: mark a few classes final 2020-01-02 22:01:29 -06:00
.clang-format
addrdb.cpp
addrdb.h Merge #10969: Declare single-argument (non-converting) constructors "explicit" 2020-01-10 10:33:57 -06:00
addressindex.h
addrman.cpp Merge #11577: Fix warnings (-Wsign-compare) when building with DEBUG_ADDRMAN 2020-01-26 01:18:38 -06:00
addrman.h Merge #11585: addrman: Add missing lock in Clear() (CAddrMan) 2020-01-16 09:22:46 -06:00
amount.h
arith_uint256.cpp
arith_uint256.h Merge #10749: Use compile-time constants instead of unnamed enumerations (remove "enum hack") 2020-01-22 09:24:25 -06:00
base58.cpp Merge #10961: Improve readability of DecodeBase58Check(...) 2020-02-08 23:33:25 -06:00
base58.h Merge #11117: Prepare for non-Base58 addresses (#3294) 2020-01-22 13:35:04 +03:00
batchedlogger.cpp
batchedlogger.h
bip39_english.h
bip39.cpp More of 10793 2020-01-10 10:34:03 -06:00
bip39.h
blockencodings.cpp
blockencodings.h Merge #10969: Declare single-argument (non-converting) constructors "explicit" 2020-01-10 10:33:57 -06:00
bloom.cpp
bloom.h
cachemap.h Bump copyright year to 2020 (#3290) 2020-01-17 15:42:55 +01:00
cachemultimap.h
chain.cpp Merge #11337: Fix code constness in CBlockIndex::GetAncestor() overloads 2020-01-30 07:32:32 -06:00
chain.h Merge #10749: Use compile-time constants instead of unnamed enumerations (remove "enum hack") 2020-01-22 09:24:25 -06:00
chainparams.cpp Refactor PS a bit and make it so that the expected flow for mixing is to time out and fallback (#3309) 2020-01-31 13:56:45 +03:00
chainparams.h Merge #11512: Use GetDesireableServiceFlags in seeds, dnsseeds, fixing static seed adding 2020-01-26 01:15:36 -06:00
chainparamsbase.cpp Change regtest and devnet p2p/rpc ports (#3064) 2019-08-28 10:52:00 +03:00
chainparamsbase.h
chainparamsseeds.h Update static and dns seeds for mainnet and testnet (#3234) 2019-12-11 12:30:38 +01:00
checkpoints.cpp Bump copyright year to 2020 (#3290) 2020-01-17 15:42:55 +01:00
checkpoints.h
checkqueue.h Merge #12108: [Refactor] Remove unused fQuit var from checkqueue.h 2020-01-31 07:43:43 -06:00
clientversion.cpp
clientversion.h
coins.cpp Merge #11353: Small refactor of CCoinsViewCache::BatchWrite() 2020-01-22 09:24:25 -06:00
coins.h Merge #11351: Refactor: Modernize disallowed copy constructors/assignment 2020-01-11 18:22:25 -06:00
compat.h Merge #12168: Trivial: Fix #include sys/fcntl.h to just fcntl.h (without sys/) 2020-01-31 07:43:43 -06:00
compressor.cpp
compressor.h Merge #10969: Declare single-argument (non-converting) constructors "explicit" 2020-01-10 10:33:57 -06:00
core_io.h Backport bitcoin#11027: [RPC] Only return hex field once in getrawtransaction (#3298) 2020-01-22 13:36:22 +03:00
core_memusage.h
core_read.cpp
core_write.cpp Backport bitcoin#11027: [RPC] Only return hex field once in getrawtransaction (#3298) 2020-01-22 13:36:22 +03:00
ctpl.h
cuckoocache.h Merge #10969: Declare single-argument (non-converting) constructors "explicit" 2020-01-10 10:33:57 -06:00
cxxtimer.hpp
dash-cli-res.rc
dash-cli.cpp Merge #11125: Add bitcoin-cli -stdin and -stdinrpcpass functional tests 2020-01-02 21:59:55 -06:00
dash-tx-res.rc
dash-tx.cpp Merge #12159: Use the character based overload for std::string::find. 2020-01-31 07:43:43 -06:00
dashd-res.rc
dashd.cpp Merge #12855: net: Minor accumulated cleanups 2020-01-26 20:44:58 -06:00
dbwrapper.cpp Merge #11794: Prefix leveldb debug logging 2020-01-30 07:32:32 -06:00
dbwrapper.h Replace generic CScopedDBTransaction with specialized CEvoDBScopedCommitter (#3292) 2020-01-17 16:01:22 +01:00
dsnotificationinterface.cpp Various fixes for DSTX-es (#3295) 2020-01-22 13:35:31 +03:00
dsnotificationinterface.h More of 10969 2020-01-10 10:34:03 -06:00
flat-database.h Bump copyright year to 2020 (#3290) 2020-01-17 15:42:55 +01:00
fs.cpp
fs.h
hash.cpp
hash.h Merge #11385: Remove some unused functions and methods 2020-01-10 10:34:01 -06:00
hdchain.cpp Bump copyright year to 2020 (#3290) 2020-01-17 15:42:55 +01:00
hdchain.h
httprpc.cpp Merge #12159: Use the character based overload for std::string::find. 2020-01-31 07:43:43 -06:00
httprpc.h
httpserver.cpp Merge #10969: Declare single-argument (non-converting) constructors "explicit" 2020-01-10 10:33:57 -06:00
httpserver.h Merge #10969: Declare single-argument (non-converting) constructors "explicit" 2020-01-10 10:33:57 -06:00
indirectmap.h
init.cpp Merge #10866: Fix -Wthread-safety-analysis warnings. Compile with -Wthread-safety-analysis if available. 2020-02-08 23:33:25 -06:00
init.h
keepass.cpp Bump copyright year to 2020 (#3290) 2020-01-17 15:42:55 +01:00
keepass.h
key.cpp Merge #12250: Make CKey::Load references const 2020-01-31 07:43:43 -06:00
key.h Merge #12250: Make CKey::Load references const 2020-01-31 07:43:43 -06:00
keystore.cpp Merge #11272: CKeystore/CCrypter: move relevant implementation out of… (#3318) 2020-02-04 15:33:36 +03:00
keystore.h Merge #11272: CKeystore/CCrypter: move relevant implementation out of… (#3318) 2020-02-04 15:33:36 +03:00
limitedmap.h Merge #10969: Declare single-argument (non-converting) constructors "explicit" 2020-01-10 10:33:57 -06:00
Makefile.am Merge #11435: build: Make "make clean" remove all files created when running "make check" 2020-01-22 09:11:34 -06:00
Makefile.bench.include Merge #11435: build: Make "make clean" remove all files created when running "make check" 2020-01-22 09:11:34 -06:00
Makefile.leveldb.include
Makefile.qt.include Merge pull request #3289 from PastaPastaPasta/backports-0.16-pr4 2020-01-22 13:33:57 +03:00
Makefile.qttest.include Merge #13408: crypto: cleanup sha256 build 2019-10-01 23:20:06 +02:00
Makefile.test.include Merge #11748: [Tests] Adding unit tests for GetDifficulty in blockchain.cpp. 2020-01-31 07:43:43 -06:00
memusage.h
merkleblock.cpp
merkleblock.h Merge #9964: Add const to methods that do not modify the object for which it is called 2020-01-02 16:16:55 -06:00
messagesigner.cpp Bump copyright year to 2020 (#3290) 2020-01-17 15:42:55 +01:00
messagesigner.h
miner.cpp Merge #11238: Add assertions before potential null deferences 2020-01-10 10:33:59 -06:00
miner.h Merge #10969: Declare single-argument (non-converting) constructors "explicit" 2020-01-10 10:33:57 -06:00
net_processing.cpp Fix node protection logic false positives (#3314) 2020-02-01 04:59:01 +03:00
net_processing.h Merge #12218: net: Move misbehaving logging to net logging category 2020-01-26 20:44:58 -06:00
net.cpp Merge pull request #3316 from PastaPastaPasta/backports-0.16-pr7 2020-02-04 15:32:11 +03:00
net.h Merge #12329: net: don't retry failed oneshot connections forever 2020-01-26 20:44:58 -06:00
netaddress.cpp Merge #12855: net: Minor accumulated cleanups 2020-01-26 20:44:58 -06:00
netaddress.h Merge #12855: net: Minor accumulated cleanups 2020-01-26 20:44:58 -06:00
netbase.cpp Merge #12855: net: Minor accumulated cleanups 2020-01-26 20:44:58 -06:00
netbase.h Merge #11363: net: Split socket create/connect 2020-01-25 10:46:54 -06:00
netfulfilledman.cpp Skip mnsync restrictions for whitelisted and manually added nodes (#3249) 2019-12-31 13:01:48 +03:00
netfulfilledman.h Skip mnsync restrictions for whitelisted and manually added nodes (#3249) 2019-12-31 13:01:48 +03:00
netmessagemaker.h Merge #10969: Declare single-argument (non-converting) constructors "explicit" 2020-01-10 10:33:57 -06:00
noui.cpp
noui.h
pow.cpp Refactor some pow functions (#3198) 2019-11-13 21:17:36 +03:00
pow.h
prevector.h Speed up prevector initialization and vector assignment from prevectors (#3274) 2020-01-08 08:02:17 +01:00
protocol.cpp
protocol.h Merge pull request #3305 from PastaPastaPasta/backport-11363 2020-01-31 13:54:16 +03:00
pubkey.cpp Merge #11073: Remove dead store in ecdsa_signature_parse_der_lax. 2020-01-12 17:01:40 -06:00
pubkey.h Merge #10969: Declare single-argument (non-converting) constructors "explicit" 2020-01-10 10:33:57 -06:00
random.cpp Merge #10843: Add attribute [[noreturn]] (C++11) to functions that will not return 2020-01-03 08:35:55 -06:00
random.h
rest.cpp Merge #12159: Use the character based overload for std::string::find. 2020-01-31 07:43:43 -06:00
reverse_iterator.h Merge #10969: Declare single-argument (non-converting) constructors "explicit" 2020-01-10 10:33:57 -06:00
reverselock.h
saltedhasher.cpp
saltedhasher.h
scheduler.cpp Merge #10969: Declare single-argument (non-converting) constructors "explicit" 2020-01-10 10:33:57 -06:00
scheduler.h Merge #10969: Declare single-argument (non-converting) constructors "explicit" 2020-01-10 10:33:57 -06:00
serialize.h Merge #10969: Declare single-argument (non-converting) constructors "explicit" 2020-01-10 10:33:57 -06:00
spentindex.h
spork.cpp More of 11583 for Dash-specific code 2020-01-28 15:42:25 -06:00
spork.h
stacktraces.cpp
stacktraces.h
streams.h Merge #10839: Don't use pass by reference to const for cheaply-copied types (bool, char, etc.) 2020-01-31 07:43:43 -06:00
sync.cpp Merge #11432: Remove unused fTry from push_lock 2020-01-11 18:47:35 -06:00
sync.h Merge #10866: Fix -Wthread-safety-analysis warnings. Compile with -Wthread-safety-analysis if available. 2020-02-08 23:33:25 -06:00
threadinterrupt.cpp
threadinterrupt.h
threadsafety.h
timedata.cpp
timedata.h
tinyformat.h Merge #11573: [Util] Update tinyformat.h 2020-01-16 09:22:46 -06:00
torcontrol.cpp Merge #10969: Declare single-argument (non-converting) constructors "explicit" 2020-01-10 10:33:57 -06:00
torcontrol.h
txdb.cpp Merge #10969: Declare single-argument (non-converting) constructors "explicit" 2020-01-10 10:33:57 -06:00
txdb.h Merge #11107: Fix races in AppInitMain and others with lock and atomic bools 2020-01-22 09:11:34 -06:00
txmempool.cpp Merge #11303: Fix estimatesmartfee rounding display issue 2020-01-31 07:43:43 -06:00
txmempool.h Merge #11303: Fix estimatesmartfee rounding display issue 2020-01-31 07:43:43 -06:00
ui_interface.cpp
ui_interface.h Merge #10770: Drop upgrade-cancel callback registration for a generic "cancelable" 2020-01-03 08:35:55 -06:00
uint256.cpp Merge #10793: Changing &var[0] to var.data() 2020-01-10 10:33:54 -06:00
uint256.h Merge #10749: Use compile-time constants instead of unnamed enumerations (remove "enum hack") 2020-01-22 09:24:25 -06:00
undo.h Merge #10969: Declare single-argument (non-converting) constructors "explicit" 2020-01-10 10:33:57 -06:00
unordered_lru_cache.h Bump copyright year to 2020 (#3290) 2020-01-17 15:42:55 +01:00
util.cpp Merge #10939: [init] Check non-emptiness of -blocknotify command prior to executing 2020-02-08 23:33:25 -06:00
util.h Merge pull request #3312 from PastaPastaPasta/backports-0.16-pr6 2020-01-31 14:05:32 +03:00
utilmoneystr.cpp
utilmoneystr.h
utilstrencodings.cpp Merge #10357: Allow setting nMinimumChainWork on command line 2019-09-29 12:42:14 +02:00
utilstrencodings.h Merge #10357: Allow setting nMinimumChainWork on command line 2019-09-29 12:42:14 +02:00
utiltime.cpp
utiltime.h
validation.cpp Merge #10953: [Refactor] Combine scriptPubKey and amount as CTxOut in CScriptCheck 2020-01-31 07:43:43 -06:00
validation.h Merge #10953: [Refactor] Combine scriptPubKey and amount as CTxOut in CScriptCheck 2020-01-31 07:43:43 -06:00
validationinterface.cpp Merge #11783: Fix shutdown in case of errors during initialization 2020-01-29 16:25:28 -06:00
validationinterface.h Make sure mempool txes are properly processed by CChainLocksHandler despite node restarts (#3226) 2019-12-07 13:56:17 +03:00
version.h Bump copyright year to 2020 (#3290) 2020-01-17 15:42:55 +01:00
versionbits.cpp Merge #10969: Declare single-argument (non-converting) constructors "explicit" 2020-01-10 10:33:57 -06:00
versionbits.h
warnings.cpp Merge #10501: remove some unused functions -- ignoring removal of SetPort due to dash#2168 2019-09-08 00:10:48 -05:00
warnings.h Merge #10501: remove some unused functions -- ignoring removal of SetPort due to dash#2168 2019-09-08 00:10:48 -05:00