Wladimir J. van der Laan
a61b747a29
Merge #9547 : bench: Assert that division by zero is unreachable
...
db07f91
Assert that what might look like a possible division by zero is actually unreachable (practicalswift)
Tree-SHA512: f1652eb37196a5b72f356503a1fbb44fb98aa8a94954ad1765f86d81ebf41a2337d4eb58c4f19937fda3752f5d2d642756e44afdbd438015b87ac20801246bff
2019-02-01 10:51:01 -06:00
Wladimir J. van der Laan
b821dfa7dc
Merge #9739 : Fix BIP68 activation test
...
f5aba8a
Move tx version 2 standardness check to after bip68 activation (John Newbery)
99c0e81
Fix BIP68 activation test (John Newbery)
Tree-SHA512: 3633d5359705b33a22cd3d8ea28f41abd93ccc6fe9943c8004f6149add991771df9ea12b4e14192e39e14b414bb5ecc7218e516cfeec97e4c5df29778ac57060
2019-02-01 10:50:57 -06:00
Wladimir J. van der Laan
56890f98f2
Merge #9832 : [qa] assert_start_raises_init_error
...
025dec0
[qa] assert_start_raises_init_error (NicolasDorier)
Tree-SHA512: 0fe3ecbd47625b181aed92f15445ac26993e1a8b9843bbc1088c4adcea774e503b870912a18e13dca3f255c22a9964c1c0ca92c758907538143f316c5272ea4a
2019-02-01 10:50:53 -06:00
Wladimir J. van der Laan
4615da99fb
Merge #9576 : [wallet] Remove redundant initialization
...
343ba8f
[wallet] Remove redundant initialization (practicalswift)
Tree-SHA512: 54b94d7703b1735cb1ae0bd7eba61ca9d2f18e20b70e46c94aa3b0653495dce4fdea00cf953ec08215b96b5792eabb8b38c3f9b3cd36e52b82fcb2f1fd8a3540
2019-02-01 00:41:24 -06:00
Wladimir J. van der Laan
8944b5a784
Merge #9905 : [contrib] gh-merge: Move second sha512 check to the end
...
fa7da3f
[contrib] gh-merge: Move second sha512 check to before signing (MarcoFalke)
Tree-SHA512: b3d96f928a013f6fdc416035b8ef5cd7c750ab0922156e1fd712cd27ec75847497109f43a96559b945ba11ad43b5644ed9c1de695590ff608658628fb57b1571
2019-02-01 00:41:21 -06:00
Wladimir J. van der Laan
8dfddf503c
Merge #9910 : Docs: correct and elaborate -rpcbind doc
...
e5b449c
Docs: correct and elaborate -rpcbind doc (Ian Kelling)
Tree-SHA512: e1cdaa32f7248f304d463e3f37d7d5da23ee0e506bd453420b87f4cc9c704cc30214e41c9266294890d65f2ee270f9355f38b542e8c01452637bdbba8273c755
2019-02-01 00:41:18 -06:00
Wladimir J. van der Laan
395b537167
Merge #9774 : Enable host lookups for -proxy and -onion parameters
...
f36bdf0
Enable host lookups for -proxy and -onion parameters (Johnathan Corgan)
Tree-SHA512: 40f5ef3954721333e58d34653874d9f6ac5426c817762d132838f3b6f968ca5ca05aa56d02fd742cb5a8dc040f1a28dad6d54f667342eceba62fb2af18b58fc0
2019-02-01 00:41:16 -06:00
Wladimir J. van der Laan
2c3dde75c2
Merge #9828 : Avoid -Wshadow warnings in wallet_tests
...
09fe346
Avoid -Wshadow warnings in wallet_tests (Russell Yanofsky)
Tree-SHA512: 03a026787438efc9eba94299c2dd7de07a71ec7363b058b4f086d5ff0be844660fff2ef4f40e43d91313ea53de25f3de3c677b080b564d37f0693057498d3233
2019-02-01 00:41:14 -06:00
Wladimir J. van der Laan
3d3443b6a9
Merge #8808 : Do not shadow variables (gcc set)
...
ad1ae7a
Check and enable -Wshadow by default. (Pavel Janík)
9de90bb
Do not shadow variables (gcc set) (Pavel Janík)
Tree-SHA512: 9517feb423dc8ddd63896016b25324673bfbe0bffa97f22996f59d7a3fcbdc2ebf2e43ac02bc067546f54e293e9b2f2514be145f867321e9031f895c063d9fb8
2019-02-01 00:41:12 -06:00
Wladimir J. van der Laan
053b97c945
Merge #9903 : Docs: add details to -rpcclienttimeout doc
...
90a1d9a
Docs: add details to -rpcclienttimeout doc (Ian Kelling)
Tree-SHA512: 7f9524f279a54b4d902674740d92624785abd54865aba82f7261151ceda50b5d51bf4d91c4fc0360168e190f8df890cc141bea5e1a9f4f2e62b8f9effda212cc
2019-02-01 00:41:09 -06:00
UdjinM6
5d1c97da1b
Add getspecialtxes rpc ( #2668 )
...
* Add getspecialtxes rpc
Returns an array of special transactions found in the specified block
* small help text tweak
* add comments
2019-01-30 21:53:22 +03:00
Alexander Block
ca6c8f5471
Add missing default value for SPORK_19_CHAINLOCKS_ENABLED ( #2670 )
2019-01-30 21:53:03 +03:00
Alexander Block
6da341379d
Use smaller LLMQs for ChainLocks on testnet and devnet ( #2669 )
...
* Move llmqChainLocks initialization closer to other LLMQ related assignments
* Use smaller LLMQs for ChainLocks on testnet and devnet
We very often don't have enough MNs on testnet so we should use a smaller
quorum quorum for ChainLocks.
2019-01-30 21:52:41 +03:00
Alexander Block
54f576ea7c
Fix LLMQ related test failures on Travis ( #2666 )
...
* Use fast_dip3_enforcement instead of fast_dip3_activation
DashTestFramework was refactored before ChainLocks got merged, causing tests
to fail now.
* Move updating of DKG debug status into WaitForNextPhase
Otherwise callers of the RPCs might believe that the next phase has already
started and start producing more blocks, which would then cancel the
current session if it happens faster than the phase handler thread can
progress to the next phase.
2019-01-30 14:05:22 +01:00
Alexander Block
6fe479aa12
Don't leak skShare in logs ( #2662 )
2019-01-30 14:05:04 +01:00
Alexander Block
f6828b19b6
Merge pull request #2643 from codablock/pr_llmq_chainlocks
...
Implement LLMQ based ChainLocks
2019-01-29 15:59:05 +01:00
UdjinM6
559bdfc6ef
ProcessSpecialTxsInBlock should respect fJustCheck ( #2653 )
...
* ProcessSpecialTxsInBlock should respect fJustCheck
Also invoke it after subsidy/payee checks
* Drop fJustCheck from CQuorumBlockProcessor
2019-01-29 15:57:30 +01:00
UdjinM6
805aeaa16c
Drop cs_main from UpdatedBlockTip in CDKGSessionManager/CDKGSessionHandler ( #2655 )
2019-01-29 15:55:18 +01:00
UdjinM6
2a4fbb6e48
Bump block stats when adding commitment tx into block ( #2654 )
2019-01-29 15:54:57 +01:00
UdjinM6
25cb14b615
Fix confusion between dip3 activation and enforcement ( #2651 )
...
* Fix confusion between dip3 activation and enforcement
* drop DIP0003ActivationHeight for now
2019-01-29 15:54:38 +01:00
PastaPastaPasta
7caf9394e3
drop dash-docs folder and instead link to dash-docs.github.io in README ( #2650 )
2019-01-29 15:54:21 +01:00
UdjinM6
70a9e905c2
Use helper function to produce help text for params of protx
rpcs ( #2649 )
...
* Adjust help text of `register*` rpc commands
Copy/paste help for various fields of `register`/`register_prepare` instead of referring to `register_fund`
Adjust description of provided functionality and expected results
* Adjust whitespaces to match in different protx commands
* Add missing results descriptions
* Introduce new helper function GetHelpString to concentrate most of param descriptions in rpcevo in one place
* [MOVEONLY] Move GetHelpString out of #ifdef ENABLE_WALLET/#endif
* static const
2019-01-29 15:54:01 +01:00
PastaPastaPasta
f123248f1c
update copyright ( #2648 )
...
* update copyright
* Update copyright in configure.ac and COPYING
2019-01-29 15:53:14 +01:00
Alexander Block
15e1c3b080
Merge pull request #2646 from PastaPastaPasta/backports-0.15-pr4
...
Backports 0.15 pr4
2019-01-29 15:52:03 +01:00
Alexander Block
45391b4f08
Merge pull request #2609 from PastaPastaPasta/backports-0.15-pr3
...
Backports 0.15 pr3
2019-01-29 15:51:15 +01:00
UdjinM6
d398bf0527
reverse order from jsonRequest, strSubCommand
...
Co-Authored-By: PastaPastaPasta <pasta@dashboost.org>
2019-01-28 10:47:36 -06:00
Alexander Block
ad4b3cda30
Instead of asserting signatures once, wait for them to change to the expected state
2019-01-28 14:45:20 +01:00
Alexander Block
3237668b1d
Rename inInvalidate->inEnforceBestChainLock and make it atomic
2019-01-28 12:24:15 +01:00
Alexander Block
5033d5ef4a
Don't check for conflicting ChainLocks when phashBlock is not set
...
Also don't set indexDummy.phashBlock in TestBlockValidity anymore.
2019-01-28 12:24:15 +01:00
Alexander Block
08d915dc2d
Increase waiting time in LLMQ signing tests
2019-01-28 12:24:15 +01:00
Alexander Block
886299a400
Implement llmq-chainlocks.py integration tests
2019-01-28 12:24:15 +01:00
Alexander Block
3413ff917b
Add info about ChainLocks to block and transaction RPCs
2019-01-28 12:24:15 +01:00
Alexander Block
135829dc49
Add SPORK_19_CHAINLOCKS_ENABLED
2019-01-28 12:24:15 +01:00
Alexander Block
29532ba196
Implement and enforce ChainLocks
2019-01-28 12:24:15 +01:00
Alexander Block
2bf6eb1c7c
Track parent->child relations for blocks
...
Allows to cheaply find all possible children of a block.
2019-01-28 12:24:15 +01:00
Alexander Block
04a51c9ef4
Use a block that is 8 blocks in the past for SelectQuorumForSigning
...
Otherwise nodes might already fail to verify sigs when just 1 block away
from the tip.
2019-01-28 12:24:15 +01:00
Alexander Block
cf33efc9e1
Move SelectQuorumForSigning into CSigningManager and make it height based
2019-01-28 12:24:15 +01:00
Alexander Block
4026ea203b
Implement VerifyRecoveredSig to allow verifcation of sigs found in P2P messages
2019-01-28 12:24:15 +01:00
Alexander Block
9f211ef12d
Add listener interface to listen for recovered sigs
2019-01-28 12:24:15 +01:00
Alexander Block
189cee2108
Don't pass poolSize to SelectQuorum and instead use consensus params
2019-01-28 12:24:15 +01:00
Alexander Block
13855674d7
Add missing new-line character in log output
2019-01-28 12:24:15 +01:00
UdjinM6
d31edf66ad
Wait for script checks to finish before messing with txes in Dash-specific way ( #2652 )
...
Benchmark Dash part while at it
2019-01-28 12:23:59 +01:00
UdjinM6
2c477b0d41
Fix no_wallet for rpcmasternode/rpcevo
2019-01-25 15:50:22 -06:00
Pasta
fc00b7baea
add import to rpcevo fixing backport 8775
2019-01-25 07:11:21 -06:00
UdjinM6
30b03863ee
Apply suggestions from code review #2646
...
Co-Authored-By: PastaPastaPasta <pasta@dashboost.org>
2019-01-25 07:06:59 -06:00
Pasta
c70aa60792
change #8775 to keep dash codebase improvement, but still backport #9908
2019-01-24 22:28:32 -06:00
Wladimir J. van der Laan
afdb0a2677
Merge #9908 : Define 7200 second timestamp window constant
...
e57a1fd
Define 7200 second timestamp window constant (Russell Yanofsky)
Tree-SHA512: 449d20e4fd23905cd96be36f717c55a0a2360aba1002aaf55a3699cce4a41f6e94acc2fbe511a93c5cbe8f8e68386995a76cad67620ebb66ba9283e6080ab567
2019-01-24 22:28:29 -06:00
Pasta
c094d4bbe6
fix #8775 backport
2019-01-24 22:28:27 -06:00
Pasta
f9147466f3
remove other rpc references to pwalletMain
2019-01-24 22:28:18 -06:00
Pasta
d7474fd56f
remove all references to pwalletMain in rpc folder
2019-01-24 22:28:16 -06:00