Wladimir J. van der Laan
21e00e9050
Merge #9821 : util: Specific GetOSRandom for Linux/FreeBSD/OpenBSD
...
7e6dcd9 random: Add fallback if getrandom syscall not available (Wladimir J. van der Laan)
7cad849 sanity: Move OS random to sanity check function (Wladimir J. van der Laan)
aa09ccb squashme: comment that NUM_OS_RANDOM_BYTES should not be changed lightly (Wladimir J. van der Laan)
224e6eb util: Specific GetOSRandom for Linux/FreeBSD/OpenBSD (Wladimir J. van der Laan)
Tree-SHA512: 9fd408b1316c69de86674f342339b2f89192fd317c8c036b5df4320f828fa263c7966146bfc1904c51137ee4a26e4cb0f560b2cd05e18cde4d808b9b92ad15c4
2019-01-22 22:57:09 -06:00
Pasta
f9c585776b
manual fixes on #9868
2019-01-22 22:57:04 -06:00
Wladimir J. van der Laan
3ddf3dc62b
Merge #9868 : Abstract out the command line options for block assembly
...
277b472 Run miner_tests with fixed options (Pieter Wuille)
48faf0b Abstract out BlockAssembler options (Pieter Wuille)
Tree-SHA512: 8e910904864c8653fb0358d820a4181d0496bdcbc3454c17a742af7505bfb59f7078c6d0faa9c753bdaf23b6d93d228a09913cc867fbddccd515483ebe7bfad0
2019-01-22 22:56:54 -06:00
Wladimir J. van der Laan
3977923553
Merge #9861 : Trivial: Debug log ambiguity fix for peer addrs
...
6d37ee8 Trivial: Debug log ambiguity fix for peer addrs (keystrike)
Tree-SHA512: 9605f12bffd067427a206655c29b0b42689e9b28c313d1f6d6b0ef71351277b98b40f2e2a2ec0ac83c095a9f6f54e7a87762da400a56d2a833f8c2d14e5ac8d5
2019-01-22 22:56:05 -06:00
Wladimir J. van der Laan
3d1a0b3abc
Merge #9871 : Add a tree sha512 hash to merge commits
...
fa89670 Add SHA512 tree hash to merge commits (Pieter Wuille)
Tree-SHA512: 72321597336d3c4957719c8b907f258814b01499a82d2bc1e8c678b8825461d95f23b42ff6868a25725f4bfc3da24f7b12c058b45cbc7a7dfbf668888b68274e
2019-01-22 22:56:01 -06:00
Wladimir J. van der Laan
8264e15cd4
Merge #9822 : Remove block file location upgrade code
...
4b183d3 Remove block file location upgrade code (Marko Bencun)
Tree-SHA512: fac1fce95341e0df645c08c7e794195b22b54df08826aa8728f2f97aede1e42f724f8133781b97f836d4a392d044d08c846bce471a6b478582014f8be501a712
2019-01-22 22:55:58 -06:00
Wladimir J. van der Laan
f51d2e0947
Merge #9732 : [Trivial] Remove nonsense #undef foreach
...
467df39 Remove nonsense #undef foreach (John Newbery)
Tree-SHA512: b8c3c6654eb8a9e5008a1923bee46f7ef9f8216c8f4f1b4662d82c26410ca8d8afe41e24e48a3e2e8b2a25c81c33795a4073dabfe357caf0aa820519d4fffc71
2019-01-22 22:55:54 -06:00
Wladimir J. van der Laan
3e10ff63f8
Merge #9867 : Replace remaining sprintf with snprintf
...
19cafc6 test: Replace remaining sprintf with snprintf (Wladimir J. van der Laan)
0a17714 uint256: replace sprintf with HexStr and reverse-iterator (Wladimir J. van der Laan)
Tree-SHA512: 2ba1dd4d25e1cbfff4d67b2f483448aa7c34ab5c799cddd48ba5826e5fa6df425abe35e244aaf4c52db9fccfb4d2a25a14bb4597bf9d1fce95991f270da6bb26
2019-01-22 22:55:48 -06:00
MarcoFalke
0d38c16e79
Merge #9350 : [Trivial] Adding label for amount inside of tx_valid/tx_invalid.json
...
988ce2d Adding 'amount' label to tx_valid/tx_invalid.json files (Chris Stewart)
Tree-SHA512: 11c216c6565ecaa5ff4eb6122f87d3b28f89db52d1e473c0678f61c240e133698adb05e717bfb9d3db36409dfb230b902dca4029a58633be36c9f85e0db3d973
2019-01-22 22:55:43 -06:00
UdjinM6
d2ddc2a008
A couple of fixes/refactorings for CDKGSessionHandler ( #2637 )
...
* Fix confusion: `quorumHash` is both a class member and an argument of a function
Rename `height` too while at it
* Make sure height and hash we pass to InitNewQuorum are related
* Don't update expectedQuorumHash, make it const
This also streamlines logic a bit
* Compact phase calculation
* Decouple invCs and cs_vPendingMasternodes
Not an issue atm but we'd better avoid any potential interlocking if possible
* wrap `%` in `()`
Co-Authored-By: UdjinM6 <UdjinM6@users.noreply.github.com>
2019-01-22 16:33:42 +03:00
UdjinM6
b2b97f258f
Fix some strings, docs and cmd-line/rpc help messages ( #2632 )
...
* No need to translate "Dash"
* Fix missing dashification
* Update docs
* Fix cmd-line params help
- `bool` should have no `=<smth>`
- non-`bool` should have proper `<smth>`
* Fix `quorum dkgstatus` help
* add llmq/ into files.md
2019-01-22 16:33:20 +03:00
Alexander Block
e7981e468d
Remove fLLMQAllowDummyCommitments from consensus params ( #2636 )
...
This should have been removed together with removal of the dummy DKG
2019-01-22 14:16:30 +03:00
UdjinM6
fdcc765e0a
Merge pull request #2634 from codablock/pr_llmq_signing
...
Implement LLMQ signing requests/sessions
2019-01-22 14:16:01 +03:00
UdjinM6
8cd7287ba6
Fix missing lupdate in depends ( #2633 )
2019-01-22 14:15:26 +03:00
Alexander Block
b0ad1425e2
Review fixes (mostly if/else related but no change in logic)
2019-01-22 05:32:56 +01:00
Alexander Block
c905f1fe10
Initialize g_connman before initializing the LLMQ system
...
Background threads of the LLMQ system use g_connman, so it should be
initialized before.
2019-01-21 15:22:38 +01:00
UdjinM6
b8d069bcdd
fix/cleanup qt rpcnestedtests
2019-01-21 14:42:08 +01:00
Alexander Block
b970c20a96
Avoid using immature coinbase UTXOs for dummy TXins
2019-01-21 14:42:08 +01:00
Alexander Block
4d25148c03
Add llmq-signing.py tests
2019-01-21 14:42:08 +01:00
Alexander Block
d020ffa00d
Add wait_for_sporks_same and mine_quorum to DashTestFramework
2019-01-21 14:42:08 +01:00
Alexander Block
0cc1cf2798
Add receivedFinalCommitment flag to CDKGDebugSessionStatus
2019-01-21 14:42:08 +01:00
Alexander Block
23d7ed80d5
Implement "quorum sign/hasrecsig/isconflicting" RPCs
2019-01-21 14:42:08 +01:00
Alexander Block
316b6bf0de
Faster re-requesting of recovered sigs
...
These are quite important and waiting for 2 minutes when the first peer
did not send it is not acceptable.
2019-01-21 14:42:08 +01:00
Alexander Block
c38f889e77
Implement processing, verifcation and propagation of signature shares
2019-01-21 14:42:08 +01:00
Alexander Block
43fd1b352f
Implement CSigningManager to process and propagage recovered signatures
2019-01-21 14:42:08 +01:00
Alexander Block
56ee83a766
Add ReadDataStream to CDBWrapper to allow manual deserialization
2019-01-18 11:58:58 +01:00
Alexander Block
b6346a2f68
Implement CBLSInsecureBatchVerifier for convenient batch verification
2019-01-18 11:57:40 +01:00
Alexander Block
dd8f245888
Implement IsBanned to allow checking for banned nodes outside of net_processing.cpp
2019-01-17 18:51:48 +01:00
Alexander Block
49de417265
Implement CFixedVarIntsBitSet and CAutoBitSet
2019-01-17 18:51:48 +01:00
Alexander Block
76a58f5a48
Add src/bls/*.h and .cpp to CMakeLists.txt
2019-01-17 18:51:47 +01:00
Alexander Block
5425e2e351
Merge pull request #2631 from codablock/pr_llmq_quorummgr
...
Implement CQuorum and CQuorumManager
2019-01-17 18:48:41 +01:00
Alexander Block
b627528cef
Use void as return type for WriteContributions
2019-01-17 15:25:43 +01:00
Alexander Block
edac100f5c
Fix "quorum" RPCs help and unify logic in the sub-commands RPC entry point
2019-01-16 11:38:44 +01:00
Alexander Block
217f3941d5
Skip starting of cache populator thread in case we don't have a valid vvec
2019-01-16 10:07:47 +01:00
Alexander Block
679a9895b6
Add comments about why it's ok to ignore some failures
2019-01-16 10:07:47 +01:00
Alexander Block
15c34ccbd8
Implement CQuorum and CQuorumManager
2019-01-15 15:47:24 +01:00
UdjinM6
8e4fe3660e
[PrivateSend] Fallback to less participants if possible, fix too long timeouts on server side ( #2616 )
...
* Fallback to less participants on timeouts if possible
* Only bump nTimeLastSuccessfulStep when state is changed
* Consistency: always set state first before relaying smth to clients
2019-01-15 16:05:26 +03:00
UdjinM6
ee808d819a
Add checkbox to show only masternodes the wallet has keys for ( #2627 )
2019-01-15 15:46:02 +03:00
UdjinM6
000fabfcc6
Merge pull request #2630 from UdjinM6/mergemastertodevelop
...
Merge `master` into `develop`
2019-01-15 15:45:33 +03:00
UdjinM6
4671c989d3
Merge pull request #2617 from codablock/pr_llmq_dkg
...
Implement LLMQ DKG
2019-01-15 15:44:34 +03:00
UdjinM6
fff50af3c6
Revert "Set CLIENT_VERSION_IS_RELEASE to true ( #2591 )"
...
This reverts commit b5670c4753
.
2019-01-14 20:36:57 +03:00
UdjinM6
2c88ba78d1
Merge branch 'master' into develop
2019-01-14 20:31:59 +03:00
UdjinM6
942838e937
Merge pull request #2629 from UdjinM6/v0.13.0.x
...
Merge branch 'master' into `v0.13.0.x`
2019-01-14 20:19:44 +03:00
UdjinM6
811b87e83c
Merge branch 'master' into v0.13.0.x
2019-01-14 19:35:18 +03:00
UdjinM6
a68d1e3b82
[0.13.0.x] Add notes about changes in mining ( #2628 )
...
* Add `Mining` section to `Notable changes`, mention P2SH and `script` in `getblocktemplate`
* Also mention `coinbase_payload`
2019-01-14 13:39:00 +03:00
UdjinM6
e24c0e8acd
Update 0.13.0.0 release notes ( #2621 )
...
* Update 0.13.0.0 release notes
* Apply suggestions from code review
Co-Authored-By: UdjinM6 <UdjinM6@users.noreply.github.com>
* add latest commits
2019-01-14 12:06:05 +03:00
Alexander Block
b5670c4753
Set CLIENT_VERSION_IS_RELEASE to true ( #2591 )
2019-01-14 11:56:13 +03:00
UdjinM6
a05eeb21ea
Update immer to c89819df92191d6969a6a22c88c72943b8e25016 ( #2626 )
2019-01-14 11:52:19 +03:00
Alexander Block
a22f1bffed
Remove support for "0" as an alternative to "" when the default is requested ( #2622 ) ( #2624 )
...
* Remove support for "0" as an alternative to "" when the default is requested
* Update src/rpc/rpcevo.cpp
Co-Authored-By: codablock <ablock84@gmail.com>
2019-01-14 08:45:40 +01:00
Alexander Block
fed4716c0a
Remove support for "0" as an alternative to "" when the default is requested ( #2622 )
...
* Remove support for "0" as an alternative to "" when the default is requested
* Update src/rpc/rpcevo.cpp
Co-Authored-By: codablock <ablock84@gmail.com>
2019-01-12 14:17:16 +01:00