dash/src
gladcow f7ab6c469c M-of-N-like sporks (#2288)
* support set of keys to sign spork

* several addresses support in -sporkkey

* tests for multykey sporks

* command line option -minsporkkeys

* make spork active only after given number of signers

* use signature in spork hash calculation

* test for new and old spork messages interaction

* add multikeyspork.py to integration tests

* change test to have ability to distinguish default spork value

* require min spork keys number to be more than the half of the common spork keys number

* calc current spork value with majority of signers

* set test nodes time in integration test

* extract keyid from signed spork message directly

* change -sporkaddr option syntax to process several addresses

* codestyle fixes

* fix test comments

* codestyle fixes

* simplify CSporkManager::SporkValueIsActive

* Calc signature hash without signature field

* do not restore pubkey ids from cach

* Calc different keyids to check signature because not all sporks can be synced at moment

* codestyle fixes

* Fix CSporkManager::CheckAndRemove to use several keys

* codestyle fixes

* Correct processing of not actual spork6 value with GetSignerKeyID
2018-09-30 20:01:33 +03:00
..
bench Add string_cast benchmark (#2073) 2018-05-26 21:02:49 +03:00
compat Move to in-docker CI builds and add Jenkins support (#2178) 2018-07-12 16:28:59 +03:00
config
consensus Automatic InstantSend locks for "simple" transactions (#2140) 2018-09-26 17:17:47 +03:00
crypto Merge #9512: Fix various things -fsanitize complains about 2018-01-21 12:48:33 +01:00
evo Fix some warnings and do a couple of other trivial cleanups (#2315) 2018-09-28 10:55:11 +03:00
immer Add "immer" functional/immutable containers library (#2244) 2018-08-29 16:31:21 +03:00
leveldb Merge #8613: LevelDB 1.19 2018-01-17 17:31:11 +01:00
obj
obj-test
policy Remove leftover RBF code from BTC (#2297) 2018-09-20 15:39:34 +03:00
primitives Fix some warnings and do a couple of other trivial cleanups (#2315) 2018-09-28 10:55:11 +03:00
qt Fix some warnings and do a couple of other trivial cleanups (#2315) 2018-09-28 10:55:11 +03:00
rpc Fix some warnings and do a couple of other trivial cleanups (#2315) 2018-09-28 10:55:11 +03:00
script DIP2 changes to CTransaction and CMutableTransaction 2018-08-29 11:36:14 +02:00
secp256k1 Merge #9334: Update to latest libsecp256k1 2018-01-17 17:31:12 +01:00
support Merge #10308: [wallet] Securely erase potentially sensitive keys/values 2018-01-26 12:59:29 +01:00
test Remove leftover RBF code from BTC (#2297) 2018-09-20 15:39:34 +03:00
univalue
wallet Automatic InstantSend locks for "simple" transactions (#2140) 2018-09-26 17:17:47 +03:00
zmq [ZMQ] Notify when an IS double spend is attempted (#2262) 2018-09-12 14:12:44 +03:00
.clang-format Update .clang-format to more accurately show the actual style (#2299) 2018-09-20 15:40:00 +03:00
activemasternode.cpp Fix some warnings and do a couple of other trivial cleanups (#2315) 2018-09-28 10:55:11 +03:00
activemasternode.h cleanup: remove unused vars, includes, functions (#2306) 2018-09-20 15:41:16 +03:00
addrdb.cpp
addrdb.h
addressindex.h
addrman.cpp A few devnet related fixes (#2168) 2018-07-08 00:19:33 +03:00
addrman.h A few devnet related fixes (#2168) 2018-07-08 00:19:33 +03:00
alert.cpp Remove remaining using namespace std 2018-02-21 22:32:13 +03:00
alert.h Drop BOOST_FOREACH and use references in loops (const ref where applicable, Dash code only) (#1899) 2018-02-06 14:09:33 +03:00
amount.cpp
amount.h
arith_uint256.cpp
arith_uint256.h
base58.cpp
base58.h Merge #9510: [trivial] Fix typos in comments 2018-01-21 12:48:34 +01:00
bip39_english.h
bip39.cpp
bip39.h
blockencodings.cpp Backport compact blocks functionality from bitcoin (#1966) 2018-04-11 14:06:01 +03:00
blockencodings.h Backport compact blocks functionality from bitcoin (#1966) 2018-04-11 14:06:01 +03:00
bloom.cpp Merge #9644: [refactor] Remove using namespace <xxx> from src/ 2018-01-23 09:24:03 +01:00
bloom.h
cachemap.h Various fixes and refactoring for Cache*Map classes (#1896) 2018-02-06 14:08:43 +03:00
cachemultimap.h Various fixes and refactoring for Cache*Map classes (#1896) 2018-02-06 14:08:43 +03:00
chain.cpp Merge #9644: [refactor] Remove using namespace <xxx> from src/ 2018-01-23 09:24:03 +01:00
chain.h Merge #9490: Replace FindLatestBefore used by importmuti with FindEarliestAtLeast. 2018-01-21 12:48:32 +01:00
chainparams.cpp M-of-N-like sporks (#2288) 2018-09-30 20:01:33 +03:00
chainparams.h M-of-N-like sporks (#2288) 2018-09-30 20:01:33 +03:00
chainparamsbase.cpp Multiple devnet fixes (#1960) 2018-03-02 16:12:31 +03:00
chainparamsbase.h
chainparamsseeds.h Use masternode list to generate hardcoded seeds (#1892) 2018-02-05 18:39:26 +03:00
checkpoints.cpp Merge #9472: Disentangle progress estimation from checkpoints and update it 2018-01-21 12:48:32 +01:00
checkpoints.h Merge #9472: Disentangle progress estimation from checkpoints and update it 2018-01-21 12:48:32 +01:00
checkqueue.h Merge #9497: CCheckQueue Unit Tests 2018-01-26 12:59:29 +01:00
clientversion.cpp [GUI] Create QR-code for Masternode private key (#1970) 2018-03-08 15:17:34 +03:00
clientversion.h Bump to 0.12.4.0 pre-release (#2167) 2018-07-12 12:01:10 +03:00
coins.cpp Few (mostly trivial) cleanups and fixes (#1940) 2018-02-21 19:32:08 +03:00
coins.h Few (mostly trivial) cleanups and fixes (#1940) 2018-02-21 19:32:08 +03:00
compat.h Merge #9224: Prevent FD_SETSIZE error building on OpenBSD 2018-01-17 17:27:24 +01:00
compressor.cpp
compressor.h
core_io.h Merge #9282: CMutableTransaction is defined as struct 2018-01-17 17:31:12 +01:00
core_memusage.h
core_read.cpp Merge #9650: Better handle invalid parameters to signrawtransaction 2018-02-07 13:11:08 +01:00
core_write.cpp Merge #9644: [refactor] Remove using namespace <xxx> from src/ 2018-01-23 09:24:03 +01:00
cuckoocache.h Merge #9510: [trivial] Fix typos in comments 2018-01-21 12:48:34 +01:00
dash-cli-res.rc
dash-cli.cpp Merge #8811: rpc: Add support for JSON-RPC named arguments 2018-01-18 07:38:57 +01:00
dash-tx-res.rc
dash-tx.cpp Merge #10130: bitcoin-tx input verification (awemany, jnewbery) 2018-01-26 12:59:29 +01:00
dashd-res.rc
dashd.cpp Merge #9243: Clean up mapArgs and mapMultiArgs Usage 2018-01-18 07:31:23 +01:00
dbwrapper.cpp
dbwrapper.h Fix some warnings and do a couple of other trivial cleanups (#2315) 2018-09-28 10:55:11 +03:00
dsnotificationinterface.cpp Automatic InstantSend locks for "simple" transactions (#2140) 2018-09-26 17:17:47 +03:00
dsnotificationinterface.h Use override keyword for overriden class member functions (#1644) 2018-02-15 10:29:15 +03:00
flat-database.h
governance-classes.cpp Gov cleanup + copyright bump (#2324) 2018-09-28 10:56:17 +03:00
governance-classes.h Gov cleanup + copyright bump (#2324) 2018-09-28 10:56:17 +03:00
governance-exceptions.h Gov cleanup + copyright bump (#2324) 2018-09-28 10:56:17 +03:00
governance-object.cpp Gov cleanup + copyright bump (#2324) 2018-09-28 10:56:17 +03:00
governance-object.h Gov cleanup + copyright bump (#2324) 2018-09-28 10:56:17 +03:00
governance-validators.cpp Gov cleanup + copyright bump (#2324) 2018-09-28 10:56:17 +03:00
governance-validators.h Gov cleanup + copyright bump (#2324) 2018-09-28 10:56:17 +03:00
governance-vote.cpp Gov cleanup + copyright bump (#2324) 2018-09-28 10:56:17 +03:00
governance-vote.h Gov cleanup + copyright bump (#2324) 2018-09-28 10:56:17 +03:00
governance-votedb.cpp Gov cleanup + copyright bump (#2324) 2018-09-28 10:56:17 +03:00
governance-votedb.h Gov cleanup + copyright bump (#2324) 2018-09-28 10:56:17 +03:00
governance.cpp Gov cleanup + copyright bump (#2324) 2018-09-28 10:56:17 +03:00
governance.h Gov cleanup + copyright bump (#2324) 2018-09-28 10:56:17 +03:00
hash.cpp Merge #9556: Remove redundant semicolons 2018-01-23 09:24:27 +01:00
hash.h Few (mostly trivial) cleanups and fixes (#1940) 2018-02-21 19:32:08 +03:00
hdchain.cpp Fix some warnings and do a couple of other trivial cleanups (#2315) 2018-09-28 10:55:11 +03:00
hdchain.h Some cleanup (mostly trivial) (#2038) 2018-04-20 13:53:23 +03:00
httprpc.cpp Use override keyword for overriden class member functions (#1644) 2018-02-15 10:29:15 +03:00
httprpc.h
httpserver.cpp Use override keyword for overriden class member functions (#1644) 2018-02-15 10:29:15 +03:00
httpserver.h
indirectmap.h
init.cpp M-of-N-like sporks (#2288) 2018-09-30 20:01:33 +03:00
init.h Refactor and fix restart (#1999) 2018-03-19 16:09:47 +03:00
instantx.cpp Automatic InstantSend locks for "simple" transactions (#2140) 2018-09-26 17:17:47 +03:00
instantx.h Automatic InstantSend locks for "simple" transactions (#2140) 2018-09-26 17:17:47 +03:00
keepass.cpp Refactor: use constant refs and Ret suffix (#1928) 2018-02-12 15:49:00 +03:00
keepass.h Refactor: use constant refs and Ret suffix (#1928) 2018-02-12 15:49:00 +03:00
key.cpp
key.h
keystore.cpp
keystore.h Use override keyword for overriden class member functions (#1644) 2018-02-15 10:29:15 +03:00
limitedmap.h
Makefile.am Remove leftover RBF code from BTC (#2297) 2018-09-20 15:39:34 +03:00
Makefile.bench.include Add string_cast benchmark (#2073) 2018-05-26 21:02:49 +03:00
Makefile.leveldb.include
Makefile.qt.include Remove DarksendConfig (#2132) 2018-07-12 12:03:26 +03:00
Makefile.qttest.include
Makefile.test.include Add unit tests for DIP3 and DIP4 2018-09-05 18:40:53 +02:00
masternode-payments.cpp Drop (pre-)70208 compatibility code (#2295) 2018-09-15 13:19:31 +03:00
masternode-payments.h cleanup: remove unused vars, includes, functions (#2306) 2018-09-20 15:41:16 +03:00
masternode-sync.cpp rename vars in mnsync to make more sense (#2308) 2018-09-30 14:02:52 +03:00
masternode-sync.h rename vars in mnsync to make more sense (#2308) 2018-09-30 14:02:52 +03:00
masternode.cpp Move cs_main lock from CMasternode::UpdateLastPaid to CMasternodeMan 2018-09-05 14:06:31 +02:00
masternode.h Drop (pre-)70208 compatibility code (#2295) 2018-09-15 13:19:31 +03:00
masternodeconfig.cpp use nullptr in Dash-specific code (#2166) 2018-07-12 12:08:43 +03:00
masternodeconfig.h cleanup: remove unused vars, includes, functions (#2306) 2018-09-20 15:41:16 +03:00
masternodeman.cpp Drop (pre-)70208 compatibility code (#2295) 2018-09-15 13:19:31 +03:00
masternodeman.h cleanup: remove unused vars, includes, functions (#2306) 2018-09-20 15:41:16 +03:00
memusage.h
merkleblock.cpp Merge #10309: Trivial: remove extra character from comment 2018-01-26 12:59:29 +01:00
merkleblock.h Merge #10258: Fixed typo in documentation for merkleblock.h 2018-01-26 12:59:29 +01:00
messagesigner.cpp Use spork addresses instead of raw keys and allow changing them on startup (#1969) 2018-03-02 16:15:04 +03:00
messagesigner.h Use spork addresses instead of raw keys and allow changing them on startup (#1969) 2018-03-02 16:15:04 +03:00
miner.cpp Calculate and enforce DIP4 masternodes merkle root in CbTx 2018-09-03 10:46:51 +02:00
miner.h Prepare for DIP3 operator reward payments and switch to array in getblocktemplate (#2216) 2018-08-14 12:58:38 +03:00
net_processing.cpp Automatic InstantSend locks for "simple" transactions (#2140) 2018-09-26 17:17:47 +03:00
net_processing.h Backport compact blocks functionality from bitcoin (#1966) 2018-04-11 14:06:01 +03:00
net.cpp Fix some warnings and do a couple of other trivial cleanups (#2315) 2018-09-28 10:55:11 +03:00
net.h Honor filterInventoryKnown for non-tx/non-block items (#2292) 2018-09-14 18:53:26 +03:00
netaddress.cpp
netaddress.h Merge #9510: [trivial] Fix typos in comments 2018-01-21 12:48:34 +01:00
netbase.cpp Merge #9305: Refactor: Removed begin/end_ptr functions. 2018-01-17 17:31:12 +01:00
netbase.h
netfulfilledman.cpp Switch CNetFulfilledRequestManager and CMasternodeMan maps/funcs to CService (#1967) 2018-03-08 15:16:52 +03:00
netfulfilledman.h Replace Dash-specific threads with Dash-specific scheduled tasks (#2043) 2018-07-16 15:47:37 +03:00
netmessagemaker.h Merge #9659: Net: Turn some methods and params/variables const 2018-01-23 09:24:27 +01:00
noui.cpp
noui.h
pow.cpp Allow mining min diff for very slow (2h+) blocks (#2175) 2018-07-08 14:05:55 +03:00
pow.h
prevector.h Merge #9856: Terminate immediately when allocation fails 2018-01-26 12:59:29 +01:00
privatesend-client.cpp Drop dummy copy constructors in CPrivateSend*Session (#2305) 2018-09-20 15:40:43 +03:00
privatesend-client.h Fix some warnings and do a couple of other trivial cleanups (#2315) 2018-09-28 10:55:11 +03:00
privatesend-server.cpp Fix some warnings and do a couple of other trivial cleanups (#2315) 2018-09-28 10:55:11 +03:00
privatesend-server.h Split PS into Manager and Session and allow running multiple mixing sessions in parallel (client side) (#2203) 2018-09-04 13:54:59 +03:00
privatesend-util.cpp Don't hold cs_storage in CKeyHolderStorage while calling functions which might lock cs_wallet (#2000) 2018-03-20 14:06:07 +03:00
privatesend-util.h
privatesend.cpp Remove leftover RBF code from BTC (#2297) 2018-09-20 15:39:34 +03:00
privatesend.h Drop dummy copy constructors in CPrivateSend*Session (#2305) 2018-09-20 15:40:43 +03:00
protocol.cpp Implement GETMNLISTDIFF and MNLISTDIFF P2P messages 2018-09-03 10:46:52 +02:00
protocol.h Implement GETMNLISTDIFF and MNLISTDIFF P2P messages 2018-09-03 10:46:52 +02:00
pubkey.cpp
pubkey.h
random.cpp Merge #9305: Refactor: Removed begin/end_ptr functions. 2018-01-17 17:31:12 +01:00
random.h
rest.cpp Merge #9644: [refactor] Remove using namespace <xxx> from src/ 2018-01-23 09:24:03 +01:00
reverselock.h
scheduler.cpp
scheduler.h
sendalert.cpp Merge #9243: Clean up mapArgs and mapMultiArgs Usage 2018-01-18 07:31:23 +01:00
serialize.h Add support for serialization of bitsets and tuples (#2293) 2018-09-14 18:53:49 +03:00
spentindex.h
spork.cpp M-of-N-like sporks (#2288) 2018-09-30 20:01:33 +03:00
spork.h M-of-N-like sporks (#2288) 2018-09-30 20:01:33 +03:00
streams.h Add size() method to CVectorWriter 2018-01-17 17:27:24 +01:00
sync.cpp Remove onlyMaybeDeadlock condition around printing of deadlock info 2018-01-23 12:27:28 +01:00
sync.h Merge #9319: Break addnode out from the outbound connection limits. 2018-01-18 07:38:22 +01:00
threadinterrupt.cpp
threadinterrupt.h
threadsafety.h
timedata.cpp Merge #9644: [refactor] Remove using namespace <xxx> from src/ 2018-01-23 09:24:03 +01:00
timedata.h
tinyformat.h Don't use short version of 'tinyformat/fmt' namespace in util.h (#1975) 2018-03-08 15:18:51 +03:00
torcontrol.cpp Merge #9510: [trivial] Fix typos in comments 2018-01-21 12:48:34 +01:00
torcontrol.h
txdb.cpp Merge #9644: [refactor] Remove using namespace <xxx> from src/ 2018-01-23 09:24:03 +01:00
txdb.h Use override keyword for overriden class member functions (#1644) 2018-02-15 10:29:15 +03:00
txmempool.cpp Automatic InstantSend locks for "simple" transactions (#2140) 2018-09-26 17:17:47 +03:00
txmempool.h Automatic InstantSend locks for "simple" transactions (#2140) 2018-09-26 17:17:47 +03:00
ui_interface.cpp
ui_interface.h
uint256.cpp
uint256.h Add "immer" functional/immutable containers library (#2244) 2018-08-29 16:31:21 +03:00
undo.h
util.cpp Merge #9643: [refactor] Remove using namespace <xxx> from wallet/ & util* 2018-02-21 22:32:13 +03:00
util.h Don't crash when formatting in logging throws exceptions (#2231) 2018-08-21 18:34:26 +03:00
utilmoneystr.cpp Merge #9643: [refactor] Remove using namespace <xxx> from wallet/ & util* 2018-02-21 22:32:13 +03:00
utilmoneystr.h
utilstrencodings.cpp Merge #9643: [refactor] Remove using namespace <xxx> from wallet/ & util* 2018-02-21 22:32:13 +03:00
utilstrencodings.h
utiltime.cpp Merge #9643: [refactor] Remove using namespace <xxx> from wallet/ & util* 2018-02-21 22:32:13 +03:00
utiltime.h
validation.cpp A bit more verbosity for some critical errors (#2316) 2018-09-28 10:55:30 +03:00
validation.h Remove leftover RBF code from BTC (#2297) 2018-09-20 15:39:34 +03:00
validationinterface.cpp [ZMQ] Notify when an IS double spend is attempted (#2262) 2018-09-12 14:12:44 +03:00
validationinterface.h [ZMQ] Notify when an IS double spend is attempted (#2262) 2018-09-12 14:12:44 +03:00
version.h Bump PROTOCOL_VERSION to 70211, bump MIN_* protocols to 70210 (#2256) 2018-09-05 19:34:56 +03:00
versionbits.cpp Automatic InstantSend locks for "simple" transactions (#2140) 2018-09-26 17:17:47 +03:00
versionbits.h
warnings.cpp Drop BOOST_FOREACH and use references in loops (const ref where applicable, Dash code only) (#1899) 2018-02-06 14:09:33 +03:00
warnings.h Merge #9236: Fix races for strMiscWarning and fLargeWork*Found, make QT runawayException use GetWarnings 2018-01-18 07:31:22 +01:00