dash/src
MarcoFalke 65bac012ff Merge #17275: pubkey: Assert CPubKey's ECCVerifyHandle precondition
d8daa8f3711909223b117b8faa82daca87fc942d pubkey: Assert CPubKey's ECCVerifyHandle precondition (practicalswift)

Pull request description:

  Assert `CPubKey`'s `ECCVerifyHandle` precondition.

  This makes it more clear for fuzzing harness writers and others that `ECCVerifyHandle` is expected to be held when interacting with `CPubKey`.

  Related PR #17274.

ACKs for top commit:
  sipa:
    ACK d8daa8f3711909223b117b8faa82daca87fc942d

Tree-SHA512: 9e74086599799dc9b5c3fb8357445b662e5bf896d826af63d6d6b6ddb616612966f3bb5de3bd3ae0e692c47de85672f64b8ab6d3a1c45899dc25ba46990b5ec7
2021-07-15 11:07:35 -05:00
..
bench bench: adapt bls_dkg tests to nanobench 2021-07-05 18:28:58 +05:30
bls Fix data races in bls_worker and use ctpl_stl queue. (#4240) 2021-07-11 22:25:27 -05:00
coinjoin Use one global string for "CoinJoin" in gui related stuff (#4117) 2021-07-11 12:28:50 +03:00
compat Merge #15522: Document sizeof(size_t) assumptions and compiler assumptions in assumptions.h 2021-07-10 12:10:51 -05:00
config
consensus partial bitcoin#15638: Add several util units 2021-06-27 12:03:15 +05:30
crypto Merge #15950: Do not construct out-of-bound pointers in SHA2 code 2021-07-10 12:10:51 -05:00
evo merge bitcoin#20499: Remove obsolete NODISCARD ifdef forest. Use [[nodiscard]] (C++17) 2021-06-27 12:03:14 +05:30
governance Merge #13235: Break circular dependency: init -> * -> init by extracting shutdown.h 2021-07-02 00:42:18 +03:00
immer
index Merge #13235: Break circular dependency: init -> * -> init by extracting shutdown.h 2021-07-02 00:42:18 +03:00
interfaces Merge #13083: Add compile time checking for cs_main runtime locking assertions 2021-07-07 16:30:58 -04:00
leveldb
llmq Fix data races in bls_worker and use ctpl_stl queue. (#4240) 2021-07-11 22:25:27 -05:00
logging merge bitcoin#14555: Move util files to directory 2021-06-27 12:03:13 +05:30
masternode Merge #13235: Break circular dependency: init -> * -> init by extracting shutdown.h 2021-07-02 00:42:18 +03:00
node merge bitcoin#14555: Move util files to directory 2021-06-27 12:03:13 +05:30
policy Merge #14103: docs: Fix broken Doxygen comments 2021-07-02 11:39:23 -04:00
primitives Merge pull request #4226 from PastaPastaPasta/backport-triv-pr6 2021-07-08 23:25:09 +03:00
qt Merge #17606: qt, refactor: Use proper classes for Ui::* 2021-07-15 11:07:17 -05:00
rpc Merge pull request #4245 from PastaPastaPasta/backport-triv-pr9 2021-07-14 02:52:00 +03:00
script Merge #18621: script: Disallow silent bool -> CScript conversion 2021-07-13 21:17:15 -05:00
secp256k1
support Merge #16158: Fix logic of memory_cleanse() on MSVC and clean up docs 2021-07-12 20:16:37 -05:00
test Merge #17555: test: add unit test for non-standard txs with wrong nVersion 2021-07-15 11:07:35 -05:00
univalue Merge #14164: Update univalue subtree 2021-07-07 12:04:54 -04:00
util Merge pull request #4245 from PastaPastaPasta/backport-triv-pr9 2021-07-14 02:52:00 +03:00
wallet Merge pull request #4245 from PastaPastaPasta/backport-triv-pr9 2021-07-14 02:52:00 +03:00
zmq merge bitcoin#14555: Move util files to directory 2021-06-27 12:03:13 +05:30
.clang-format
addrdb.cpp Merge #16212: addrdb: Avoid eating inodes - remove temporary files created by SerializeFileDB in case of errors 2021-07-12 20:16:37 -05:00
addrdb.h Merge #17850: Convert addrdb/addrman to new serialization 2021-04-18 17:02:40 -04:00
addressindex.h
addrman.cpp Merge #15486: [addrman, net] Ensure tried collisions resolve, and allow feeler connections to existing outbound netgroups 2021-06-26 11:23:42 -05:00
addrman.h merge bitcoin#14555: Move util files to directory 2021-06-27 12:03:13 +05:30
amount.h Merge #14244: amount: Move CAmount CENT to unit test header 2021-07-01 16:57:02 -05:00
arith_uint256.cpp Merge #14510: Avoid triggering undefined behaviour in base_uint<BITS>::bits() 2021-07-01 17:20:18 -05:00
arith_uint256.h Merge #14838: Use const in COutPoint class 2021-07-08 11:57:10 -05:00
attributes.h merge bitcoin#20499: Remove obsolete NODISCARD ifdef forest. Use [[nodiscard]] (C++17) 2021-06-27 12:03:14 +05:30
base58.cpp merge bitcoin#14555: Move util files to directory 2021-06-27 12:03:13 +05:30
base58.h merge bitcoin#20499: Remove obsolete NODISCARD ifdef forest. Use [[nodiscard]] (C++17) 2021-06-27 12:03:14 +05:30
batchedlogger.cpp merge bitcoin#14555: Move util files to directory 2021-06-27 12:03:13 +05:30
batchedlogger.h Merge #12954: util: Refactor logging code into a global object 2021-05-25 14:09:35 +03:00
bech32.cpp Merge #16792: Assert that the HRP is lowercase in Bech32::Encode 2021-07-12 20:52:56 -05:00
bech32.h Merge #16792: Assert that the HRP is lowercase in Bech32::Encode 2021-07-12 20:52:56 -05:00
bip39_english.h
bip39.cpp
bip39.h
blockencodings.cpp merge bitcoin#14074: Use std::unordered_set instead of set in blockfilter interface 2021-06-27 12:03:15 +05:30
blockencodings.h merge #18635: Replace -Wthread-safety-analysis with -Wthread-safety 2021-06-10 14:35:05 +05:30
blockfilter.cpp merge bitcoin#14074: Use std::unordered_set instead of set in blockfilter interface 2021-06-27 12:03:15 +05:30
blockfilter.h merge bitcoin#14074: Use std::unordered_set instead of set in blockfilter interface 2021-06-27 12:03:15 +05:30
bloom.cpp Merge #13948: trivial: Removes unsed CBloomFilter constructor. 2021-06-29 22:18:54 -04:00
bloom.h Merge #13948: trivial: Removes unsed CBloomFilter constructor. 2021-06-29 22:18:54 -04:00
cachemap.h Other Dash-specific serializations 2021-05-28 12:31:13 +03:00
cachemultimap.h Other Dash-specific serializations 2021-05-28 12:31:13 +03:00
chain.cpp
chain.h Merge #17162: chain: Remove CBlockIndex::SetNull helper 2021-07-13 13:14:06 -05:00
chainparams.cpp Merge #14149: doc: Remove misleading checkpoints comment in CMainParams 2021-07-07 12:04:54 -04:00
chainparams.h
chainparamsbase.cpp merge bitcoin#14555: Move util files to directory 2021-06-27 12:03:13 +05:30
chainparamsbase.h
chainparamsseeds.h contrib|src: Update hard coded seeds (#4152) 2021-05-13 12:31:45 +03:00
checkpoints.cpp
checkpoints.h
checkqueue.h merge bitcoin#14555: Move util files to directory 2021-06-27 12:03:13 +05:30
clientversion.cpp
clientversion.h
coins.cpp merge bitcoin#14074: Use std::unordered_set instead of set in blockfilter interface 2021-06-27 12:03:15 +05:30
coins.h Merge #18854: doc: Fix typo in Coin doxygen comment 2021-07-13 21:05:56 -05:00
compat.h Merge #14031: Make IS_TRIVIALLY_CONSTRUCTIBLE consistent on GCC < 5, don't patch clang 2021-07-01 16:33:23 -05:00
compressor.cpp Merge #12752: Move compressor utility functions out of class 2021-04-18 17:10:05 -04:00
compressor.h Merge #17957: Convert compression.h to new serialization framework 2021-04-18 17:10:25 -04:00
core_io.h Merge #13557: BIP 174 PSBT Serializations and RPCs 2021-07-13 22:00:17 +05:30
core_memusage.h
core_read.cpp Merge #13557: BIP 174 PSBT Serializations and RPCs 2021-07-13 22:00:17 +05:30
core_write.cpp Merge #13557: BIP 174 PSBT Serializations and RPCs 2021-07-13 22:00:17 +05:30
ctpl_stl.h Fix data races in bls_worker and use ctpl_stl queue. (#4240) 2021-07-11 22:25:27 -05:00
cuckoocache.h Merge #16986: doc: Doxygen-friendly CuckooCache comments 2021-07-13 13:14:08 -05:00
cxxtimer.hpp
dash-cli-res.rc
dash-cli.cpp Merge #17302: cli: Add "headers" and "verificationprogress" to -getinfo 2021-07-13 13:14:09 -05:00
dash-tx-res.rc
dash-tx.cpp Merge pull request #4226 from PastaPastaPasta/backport-triv-pr6 2021-07-08 23:25:09 +03:00
dashd-res.rc
dashd.cpp Merge #13872: [docs] Reformat -help output for help2man 2021-07-02 12:59:29 +03:00
dbwrapper.cpp Merge #15880: utils and libraries: Replace deprecated Boost Filesystem functions 2021-07-10 12:10:51 -05:00
dbwrapper.h merge bitcoin#14555: Move util files to directory 2021-06-27 12:03:13 +05:30
dsnotificationinterface.cpp instantsend: Use NotifyEntryRemoved signal instead of calling CInstantSendManager::TransactionRemovedFromMempool from CTxMemPool::removeUnchecked directly (#4160) 2021-05-19 01:02:31 +02:00
dsnotificationinterface.h instantsend: Use NotifyEntryRemoved signal instead of calling CInstantSendManager::TransactionRemovedFromMempool from CTxMemPool::removeUnchecked directly (#4160) 2021-05-19 01:02:31 +02:00
flat-database.h merge bitcoin#14555: Move util files to directory 2021-06-27 12:03:13 +05:30
fs.cpp Merge #13159: Don't close old debug log file handle prematurely when trying to re-open (on SIGHUP) 2021-07-02 11:39:23 -04:00
fs.h Merge #13877: utils: Make fs::path::string() always return utf-8 string on Windows 2021-07-13 09:51:49 -04:00
hash.cpp merge bitcoin#14074: Use std::unordered_set instead of set in blockfilter interface 2021-06-27 12:03:15 +05:30
hash.h merge bitcoin#14074: Use std::unordered_set instead of set in blockfilter interface 2021-06-27 12:03:15 +05:30
hdchain.cpp Merge #12924: Fix hdmaster-key / seed-key confusion (scripted diff) 2021-06-28 02:00:48 +03:00
hdchain.h Other Dash-specific serializations 2021-05-28 12:31:13 +03:00
httprpc.cpp Merge #14214: convert C-style (void) parameter lists to C++ style () 2021-07-12 11:50:33 -04:00
httprpc.h
httpserver.cpp Merge #14214: convert C-style (void) parameter lists to C++ style () 2021-07-12 11:50:33 -04:00
httpserver.h Merge #14214: convert C-style (void) parameter lists to C++ style () 2021-07-12 11:50:33 -04:00
indirectmap.h
init.cpp Merge pull request #4244 from PastaPastaPasta/backport-triv-pr8 2021-07-13 20:53:57 +03:00
init.h Merge #13235: Break circular dependency: init -> * -> init by extracting shutdown.h 2021-07-02 00:42:18 +03:00
keepass.cpp merge bitcoin#14555: Move util files to directory 2021-06-27 12:03:13 +05:30
keepass.h Update copyright (#4115) 2021-04-20 22:33:02 +03:00
key_io.cpp merge bitcoin#14555: Move util files to directory 2021-06-27 12:03:13 +05:30
key_io.h
key.cpp Merge #13666: Always create signatures with Low R values 2021-07-06 20:29:32 +03:00
key.h Merge pull request #4239 from Munkybooty/backports-0.18-pr7 2021-07-13 11:51:50 -05:00
keystore.cpp merge bitcoin#14555: Move util files to directory 2021-06-27 12:03:13 +05:30
keystore.h
limitedmap.h
logging.cpp Merge #13982: refactor: use fs:: over boost::filesystem:: 2021-07-02 10:38:08 -04:00
logging.h Merge pull request #4191 from kittywhiskers/checkqueue 2021-06-26 16:08:02 +03:00
Makefile.am Fix data races in bls_worker and use ctpl_stl queue. (#4240) 2021-07-11 22:25:27 -05:00
Makefile.bench.include merge #18011: Replace current benchmarking framework with nanobench 2021-07-05 18:28:55 +05:30
Makefile.leveldb.include bitcoin#16710: Enable -Wsuggest-override if available 2021-06-17 19:54:52 +05:30
Makefile.qt.include Merge #11491: [gui] Add proxy icon in statusbar 2021-07-06 19:50:27 +03:00
Makefile.qttest.include Merge #12830: [qt] [tests] Clarify address book error messages, add tests 2021-05-23 01:24:26 +03:00
Makefile.test.include Merge #13557: BIP 174 PSBT Serializations and RPCs 2021-07-13 22:00:17 +05:30
memusage.h
merkleblock.cpp merge bitcoin#14555: Move util files to directory 2021-06-27 12:03:13 +05:30
merkleblock.h partial merge #18317: Serialization improvements step 6 (all except wallet/gui) 2021-05-28 11:39:24 +03:00
messagesigner.cpp merge bitcoin#14555: Move util files to directory 2021-06-27 12:03:13 +05:30
messagesigner.h Update copyright (#4115) 2021-04-20 22:33:02 +03:00
miner.cpp Merge #13554: Remove unused function arguments 2021-07-02 12:59:28 +03:00
miner.h
net_processing.cpp Merge #16188: net: Document what happens to getdata of unknown type 2021-07-12 20:16:37 -05:00
net_processing.h Merge #13083: Add compile time checking for cs_main runtime locking assertions 2021-07-07 16:30:58 -04:00
net.cpp Merge pull request #4225 from PastaPastaPasta/backport-triv-pr5 2021-07-04 00:07:27 +03:00
net.h Merge #13774: Return void instead of bool for functions that cannot fail 2021-07-02 12:59:28 +03:00
netaddress.cpp merge bitcoin#14555: Move util files to directory 2021-06-27 12:03:13 +05:30
netaddress.h merge bitcoin#14555: Move util files to directory 2021-06-27 12:03:13 +05:30
netbase.cpp Merge #16412: net: Make poll in InterruptibleRecv only filter for POLLIN events. 2021-07-12 20:16:37 -05:00
netbase.h
netfulfilledman.cpp Merge #13235: Break circular dependency: init -> * -> init by extracting shutdown.h 2021-07-02 00:42:18 +03:00
netfulfilledman.h Other Dash-specific serializations 2021-05-28 12:31:13 +03:00
netmessagemaker.h
noui.cpp Merge #14162: gui: Also log and print messages or questions like bitcoind 2021-07-11 10:16:14 -04:00
noui.h Merge #14162: gui: Also log and print messages or questions like bitcoind 2021-07-11 10:16:14 -04:00
pow.cpp
pow.h
prevector.h Merge pull request #4235 from PastaPastaPasta/backport-triv-pr7 2021-07-10 21:46:25 +03:00
protocol.cpp merge bitcoin#14555: Move util files to directory 2021-06-27 12:03:13 +05:30
protocol.h merge #19954: Complete the BIP155 implementation and upgrade to TORv3 2021-05-29 23:24:52 +03:00
pubkey.cpp Merge #17275: pubkey: Assert CPubKey's ECCVerifyHandle precondition 2021-07-15 11:07:35 -05:00
pubkey.h Merge #13194: Remove template matching and pseudo opcodes 2021-06-28 02:00:49 +03:00
random.cpp merge bitcoin#14555: Move util files to directory 2021-06-27 12:03:13 +05:30
random.h
rest.cpp Merge #18810: doc: update rest info on block size and json 2021-07-13 21:05:56 -05:00
reverse_iterator.h
reverselock.h
saltedhasher.cpp Update copyright (#4115) 2021-04-20 22:33:02 +03:00
saltedhasher.h merge bitcoin#14074: Use std::unordered_set instead of set in blockfilter interface 2021-06-27 12:03:15 +05:30
scheduler.cpp Merge #14214: convert C-style (void) parameter lists to C++ style () 2021-07-12 11:50:33 -04:00
scheduler.h Merge #14214: convert C-style (void) parameter lists to C++ style () 2021-07-12 11:50:33 -04:00
serialize.h merge #19954: Complete the BIP155 implementation and upgrade to TORv3 2021-05-29 23:24:52 +03:00
shutdown.cpp Merge #13235: Break circular dependency: init -> * -> init by extracting shutdown.h 2021-07-02 00:42:18 +03:00
shutdown.h Merge #13235: Break circular dependency: init -> * -> init by extracting shutdown.h 2021-07-02 00:42:18 +03:00
span.h Partial #19326: Simplify hash.h interface using Spans 2021-05-20 10:15:17 +05:30
spentindex.h Other Dash-specific serializations 2021-05-28 12:31:13 +03:00
spork.cpp Update copyright (#4115) 2021-04-20 22:33:02 +03:00
spork.h merge bitcoin#14555: Move util files to directory 2021-06-27 12:03:13 +05:30
stacktraces.cpp merge bitcoin#14555: Move util files to directory 2021-06-27 12:03:13 +05:30
stacktraces.h Update copyright (#4115) 2021-04-20 22:33:02 +03:00
statsd_client.cpp merge bitcoin#14555: Move util files to directory 2021-06-27 12:03:13 +05:30
statsd_client.h trivial: misc. trivial refactoring (#4104) 2021-04-15 13:58:04 -04:00
streams.h Merge #16577: util: CBufferedFile fixes and unit test 2021-07-13 13:03:30 -05:00
sync.cpp Merge #15233: Prevent mutex lock fail even if --enable-debug 2021-06-28 13:40:58 -05:00
sync.h merge bitcoin#17073: PASTE macros to util/macros.h 2021-06-27 12:03:15 +05:30
threadinterrupt.cpp merge #11640: Make LOCK, LOCK2, TRY_LOCK work with CWaitableCriticalSection 2021-06-06 16:22:17 +05:30
threadinterrupt.h merge #11599: Small locking rename 2021-06-06 16:22:17 +05:30
threadsafety.h Merge #14129: Trivial: update clang thread-safety docs url 2021-07-01 16:33:23 -05:00
timedata.cpp merge bitcoin#14555: Move util files to directory 2021-06-27 12:03:13 +05:30
timedata.h
tinyformat.h Merge #17682: Update tinyformat to upstream 2021-05-20 10:15:17 +05:30
torcontrol.cpp Merge #16405: fix: tor: Call event_base_loopbreak from the event's callback 2021-07-12 20:16:37 -05:00
torcontrol.h
txdb.cpp Merge #12980: Allow quicker shutdowns during LoadBlockIndex() 2021-07-12 17:11:08 -05:00
txdb.h Merge #13774: Return void instead of bool for functions that cannot fail 2021-07-02 12:59:28 +03:00
txmempool.cpp Merge #16056: mempool: remove unused magic number from consistency check 2021-07-12 17:11:12 -05:00
txmempool.h Merge #13774: Return void instead of bool for functions that cannot fail 2021-07-02 12:59:28 +03:00
ui_interface.cpp Merge #13634: ui: Compile boost::signals2 only once 2021-06-28 22:09:56 -04:00
ui_interface.h Merge #13634: ui: Compile boost::signals2 only once 2021-06-28 22:09:56 -04:00
uint256.cpp merge bitcoin#14555: Move util files to directory 2021-06-27 12:03:13 +05:30
uint256.h Partial #19326: Simplify hash.h interface using Spans 2021-05-20 10:15:17 +05:30
undo.h merge bitcoin#14074: Use std::unordered_set instead of set in blockfilter interface 2021-06-27 12:03:15 +05:30
unordered_lru_cache.h Update copyright (#4115) 2021-04-20 22:33:02 +03:00
validation.cpp Merge #17328: GuessVerificationProgress: cap the ratio to 1 2021-07-13 21:17:15 -05:00
validation.h Merge pull request #4239 from Munkybooty/backports-0.18-pr7 2021-07-13 11:51:50 -05:00
validationinterface.cpp Merge #13083: Add compile time checking for cs_main runtime locking assertions 2021-07-07 16:30:58 -04:00
validationinterface.h Merge #13083: Add compile time checking for cs_main runtime locking assertions 2021-07-07 16:30:58 -04:00
version.h merge #19845: add support to (un)serialize as ADDRv2 2021-05-29 23:24:02 +03:00
versionbits.cpp Rename bit 6 from "v17" to "dip0020" (#4142) 2021-05-07 18:36:30 +02:00
versionbits.h
walletinitinterface.h
warnings.cpp merge bitcoin#14555: Move util files to directory 2021-06-27 12:03:13 +05:30
warnings.h