Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backports and updates for v15 #26

Open
wants to merge 1,045 commits into
base: v15.0.1
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1045 commits
Select commit Hold shift + click to select a range
1d3ac9a
Merge #11440: Fix validationinterface build on super old boost/clang
laanwj Oct 4, 2017
9e3cb75
Merge #9937: rpc: Prevent `dumpwallet` from overwriting files
laanwj Oct 4, 2017
08513bf
Merge #11437: [Docs] Update Windows build instructions for using WSL …
laanwj Oct 5, 2017
1313ee3
Merge #11397: net: Improve and document SOCKS code
jonasschnelli Sep 28, 2017
f8f55c2
Merge #11465: rpc: Update named args documentation for importprivkey
Oct 9, 2017
f616989
Merge #11483: Fix importmulti bug when importing an already imported key
Oct 17, 2017
1c65e08
Fix "os" import in wallet-dump.py
codablock Sep 25, 2019
4770830
Drop accidently added lines in release-notes.md
codablock Sep 26, 2019
f76d53d
Dashify a few strings in tests
codablock Sep 26, 2019
297e9a0
Remove more SegWit related tests from script_standard_tests.cpp
codablock Sep 27, 2019
22ac6ba
Make sure chainlocks and blocks are propagated in llmq-is-cl-conflict…
UdjinM6 Sep 27, 2019
43b7c31
Wait for the actual best block chainlock in llmq-chainlocks.py (#3109)
UdjinM6 Sep 27, 2019
c5da938
A couple of minor improvements in IS code (#3114)
PastaPastaPasta Sep 27, 2019
3ac583c
docs: Add packages for building in Alpine Linux (#3115)
nmarley Sep 27, 2019
ed82988
Merge pull request #3110 from codablock/pr_backports_v15_v16_2
UdjinM6 Sep 27, 2019
3712f8d
Merge pull request #3111 from codablock/pr_backports_v15_v16_3
UdjinM6 Sep 27, 2019
3602d31
[tests] remove direct testing on JSONRPCException from individual tes…
jnewbery Jul 12, 2017
58a946c
[tests] do not allow assert_raises_message to be called with JSONRPCE…
jnewbery Jul 12, 2017
fa57eaf
scripted-diff: rename assert_raises_jsonrpc to assert_raises_rpc error
codablock Sep 25, 2019
b6116b2
Merge #11376: Ensure backupwallet fails when attempting to backup to …
Nov 1, 2017
d05801c
Merge #11492: [wallet] Fix leak in CDB constructor
laanwj Oct 18, 2017
b155130
Merge #11476: Avoid opening copied wallet databases simultaneously
laanwj Oct 19, 2017
f18fa57
Merge #11472: qa: Make tmpdir option an absolute path, misc cleanup
laanwj Oct 18, 2017
9938dd8
Merge #10357: Allow setting nMinimumChainWork on command line
laanwj Sep 6, 2017
35d60de
Merge #11458: Don't process unrequested, low-work blocks
laanwj Oct 21, 2017
f8c310a
Merge #11456: Replace relevant services logic with a function suite.
sipa Oct 13, 2017
2edc29e
Merge #10756: net processing: swap out signals for an interface class
laanwj Sep 7, 2017
bf74852
More "connman." to "connman->" changes
codablock Sep 25, 2019
38a45a5
Make CDBEnv::IsMock() const
codablock Sep 25, 2019
c35aa66
Merge #11326: Fix crash on shutdown with invalid wallet
Sep 14, 2017
b451094
Merge #11490: Disconnect from outbound peers with bad headers chains
laanwj Oct 26, 2017
2e98001
Merge #11568: Disconnect outbound peers on invalid chains
sipa Oct 28, 2017
c743111
Merge #11578: net: Add missing lock in ProcessHeadersMessage(...)
laanwj Oct 31, 2017
7d21a78
Merge #11531: Check that new headers are not a descendant of an inval…
laanwj Nov 1, 2017
859b962
Move DEFAULT_BLOCK_RECONSTRUCTION_EXTRA_TXN up
codablock Sep 25, 2019
58cb7e3
Merge #11560: Connect to a new outbound peer if our tip is stale
laanwj Nov 2, 2017
3e89623
Merge #11593: rpc: work-around an upstream libevent bug
laanwj Nov 2, 2017
9a96c06
Remove uses of NODE_WITNESS
codablock Sep 25, 2019
438a972
Fix minchainwork.py
codablock Sep 25, 2019
71d39e6
Don't disconnect masternodes just because they were slow in block ann…
codablock Sep 26, 2019
60ef97c
Adjust STALE_CHECK_INTERVAL to be 2.5 minutes instead of 10 minutes
codablock Sep 26, 2019
424ed32
Few assert_raises_jsonrpc -> assert_raises_rpc_error fixes
codablock Sep 29, 2019
b2c6b48
Merge pull request #3113 from codablock/pr_backports_v15_v16_5
codablock Sep 30, 2019
f8aca18
Merge #11521: travis: move back to the minimal image
laanwj Oct 19, 2017
c6c3371
Merge #11530: Add share/rpcuser to dist. source code archive
laanwj Oct 26, 2017
4096433
Update OpenBSD build docs as in bitcoin#11442
codablock Sep 25, 2019
46373f5
Merge #11565: Make listsinceblock refuse unknown block hash
laanwj Nov 1, 2017
55550b8
Add missing comment
codablock Sep 25, 2019
7919c96
Merge #11539: [verify-commits] Allow revoked keys to expire
laanwj Oct 21, 2017
569a11f
Merge #11554: Sanity-check script sizes in bitcoin-tx
Nov 7, 2017
18f104b
Merge #11590: [Wallet] always show help-line of wallet encryption calls
Nov 2, 2017
d7119e6
Merge #11277: Fix uninitialized URI in batch RPC requests
laanwj Oct 12, 2017
617c886
Merge #11289: Add wallet backup text to import* and add* RPCs
laanwj Nov 8, 2017
f38caa9
Merge #11676: contrib/init: Update openrc-run filename
Nov 13, 2017
e2b4b20
Remove now redundant and actually erroneous throwing of "Invalid bloc…
codablock Sep 26, 2019
746b5f8
Remove commented out code (#3117)
PastaPastaPasta Sep 30, 2019
a8fa5cf
Make orphan TX map limiting dependent on total TX size instead of TX …
codablock Sep 30, 2019
2ca2138
Whitelist nodes in llmq-dkgerrors.py (#3112)
codablock Oct 1, 2019
a2fa9bb
Ignore recent rejects filter for locked txes (#3124)
UdjinM6 Oct 1, 2019
7ba50d9
Merge pull request #3116 from codablock/pr_backports_v15_v16_4
UdjinM6 Oct 1, 2019
82ebba1
Few fixes for `wait_for_instantlock` (#3123)
UdjinM6 Oct 1, 2019
bad3243
Bump mocktime before generating new blocks and generate a few blocks …
UdjinM6 Oct 1, 2019
d9e98e3
Fix scripted diff check condition (#3128)
UdjinM6 Oct 1, 2019
b4aefb5
Also consider txindex for transactions in AlreadyHave() (#3126)
codablock Oct 1, 2019
ad55048
Merge #11176: build: Rename --enable-experimental-asm to --enable-asm…
laanwj Sep 5, 2017
5a23934
Merge #13191: Specialized double-SHA256 with 64 byte inputs with SSE4…
laanwj Jun 4, 2018
adfd2e1
Merge #13408: crypto: cleanup sha256 build
laanwj Jun 11, 2018
e44b6c7
Merge #13438: Improve coverage of SHA256 SelfTest code
laanwj Jun 18, 2018
d07f54b
Merge #13471: For AVX2 code, also check for AVX, XSAVE, and OS support
laanwj Jun 24, 2018
1df17c0
Merge #13393: Enable double-SHA256-for-64-byte code on 32-bit x86
laanwj Jun 12, 2018
1b2252c
Merge #13386: SHA256 implementations based on Intel SHA Extensions
laanwj Jul 9, 2018
4bfc6ab
Merge #13788: Fix --disable-asm for newer assembly checks/code
Apr 26, 2019
f7b71f6
Merge #13611: [bugfix] Use __cpuid_count for gnu C to avoid gitian bu…
laanwj Jul 9, 2018
a1bd147
Dashify
codablock Oct 1, 2019
737ac96
Refactor some Dash-specific `wait_for*` functions in tests (#3122)
UdjinM6 Oct 2, 2019
e06c116
Actually pass extra_args to nodes in assumevalid.py (#3131)
codablock Oct 2, 2019
cd6c5b4
Multiple fixes for ChainLock tests (#3129)
codablock Oct 2, 2019
595826a
Merge #12549: Make prevector::resize() and other prevector operations…
laanwj Mar 1, 2018
2be67c7
Merge #12324: speed up Unserialize_impl for prevector
laanwj Jun 18, 2019
bdfc303
Temporarily remove arguments to BENCHMARK
codablock Oct 1, 2019
d49ee61
Add more logging to DashTestFramework (#3130)
codablock Oct 3, 2019
52ded45
Merge pull request #3132 from codablock/pr_backport_prevector_stuff
UdjinM6 Oct 3, 2019
33a9f46
Merge pull request #3133 from codablock/pr_backport_sha256_stuff
UdjinM6 Oct 3, 2019
7c163b1
Merge #11182: [tests] Add P2P interface to TestNode
Nov 8, 2017
6e6e950
Merge #11641: qa: Only allow disconnecting all NodeConns
laanwj Nov 14, 2017
f4ea836
Merge #11849: [tests] Assert that only one NetworkThread exists
laanwj Dec 12, 2017
01c138e
Merge #11771: [tests] Change invalidtxrequest to use BitcoinTestFrame…
laanwj Feb 13, 2018
573d1da
Use NodeConnCB as base for P2PDataStore
codablock Sep 30, 2019
3e72a09
Merge #11772: [tests] Change invalidblockrequest to use BitcoinTestFr…
Mar 13, 2018
f8e238c
[Trivial] RPC help updates (#3134)
thephez Oct 3, 2019
ed65d51
Merge #13003: qa: Add test for orphan handling
laanwj Apr 26, 2018
8bcba5d
Merge #8498: Near-Bugfix: Optimization: Minimize the number of times …
laanwj Oct 11, 2017
30767ff
Remove unnecessary time imports
codablock Oct 1, 2019
47c7f42
Merge pull request #3127 from codablock/pr_backport_orphantx_tests
UdjinM6 Oct 7, 2019
079f22a
Simplify orphan processing in preparation for interruptibility
sipa Mar 20, 2019
306d236
[MOVEONLY] Move processing of orphan queue to ProcessOrphanTx
sipa Mar 20, 2019
e89844d
Interrupt orphan processing after every transaction
sipa Mar 20, 2019
7e257a4
Remove RBF related code
codablock Sep 30, 2019
e762070
Also handle/resolve orphan TXs when parents appear in a block
codablock Sep 30, 2019
a12b03e
Run orphan TX handling tests twice, once by resolving via mempool and…
codablock Oct 4, 2019
eb87ad2
Merge pull request #3139 from codablock/pr_orphanhandling
codablock Oct 9, 2019
e0c5624
Fixes and refactorings related to using mnsync in tests (#3136)
UdjinM6 Oct 9, 2019
152c10b
Various fixes for mixing queues (#3138)
UdjinM6 Oct 9, 2019
4112414
Introduce getprivatesendinfo and deprecate getpoolinfo (#3140)
UdjinM6 Oct 9, 2019
dcdf1f3
Some refactoring for spork related functionality in tests (#3137)
UdjinM6 Oct 10, 2019
1cbe280
Qt: Remove old themes (#3141)
nmarley Oct 10, 2019
00cbfac
Merge #12366: http: Join worker threads before deleting work queue
laanwj Feb 8, 2018
a8e49d3
Merge #11006: Improve shutdown process
laanwj Oct 18, 2017
fefe070
Merge #14670: http: Fix HTTP server shutdown
laanwj Dec 6, 2018
17151da
Fix compilation
codablock Oct 14, 2019
b4e19f8
Merge pull request #3153 from codablock/pr_rpc_stop
codablock Oct 15, 2019
24fee30
Add support for Gitlab CI (#3149)
codablock Oct 16, 2019
efd8d2c
Avoid propagating InstantSend related old recovered sigs (#3145)
codablock Oct 16, 2019
a13a918
Add missing "notfound" and "getsporks" to messagemap (#3146)
codablock Oct 16, 2019
be127bc
Replace vecAskFor with a priority queue (#3147)
codablock Oct 16, 2019
859d60f
Don't use $CACHE_DIR in after_script (#3159)
codablock Oct 16, 2019
4b6af8f
Few fixes related to SelectCoinsGroupedByAddresses (#3144)
UdjinM6 Oct 17, 2019
e9ed354
Partially revert 3061 (#3150)
UdjinM6 Oct 17, 2019
4db91c6
Fix Gitlab cache issues (#3160)
codablock Oct 17, 2019
21d33dd
Merge #14413: tests: Allow closed rpc handler in assert_start_raises_…
codablock Oct 17, 2019
3c6b5f9
Use wallet UTXOs whenever possible to avoid looping through all walle…
UdjinM6 Oct 17, 2019
0f7d8f8
Merge #17118: build: depends macOS: point --sysroot to SDK
laanwj Oct 17, 2019
da2f503
Fix largest part of GUI lockups with large wallets (#3155)
codablock Oct 19, 2019
40ef0f7
Merge #17118: build: depends macOS: point --sysroot to SDK (#3161)
UdjinM6 Oct 19, 2019
33d04eb
Disable move ctor/operator for CKeyHolder (#3162)
UdjinM6 Oct 19, 2019
001c433
Improved messaging for ip address errors (#3163)
QuantumExplorer Oct 19, 2019
8cbd63d
Make HD wallet warning a bit more natural (#3164)
nmarley Oct 22, 2019
df3dbe8
Wait for sporks to propagate in llmq-chainlocks.py before mining new …
UdjinM6 Oct 22, 2019
1d8eb90
Merge #12545: test: Use wait_until to ensure ping goes out
Mar 13, 2018
cf63202
Merge #12804: [tests] Fix intermittent rpc_net.py failure.
Mar 30, 2018
3c818e9
Only track last seen time instead of first and last seen time (#3165)
codablock Oct 23, 2019
dfd6ee4
Actually update spent index on DisconnectBlock (#3167)
UdjinM6 Oct 23, 2019
589c892
Fix 2 more bottlenecks causing GUI lockups (#3169)
codablock Oct 23, 2019
0d1a049
Don't show individual messages for each TX when too many come in at o…
codablock Oct 23, 2019
5107582
Merge #11252: [P2P] When clearing addrman clear mapInfo and mapAddr. …
codablock Oct 23, 2019
a7492c1
Handle coin type via CCoinControl (#3172)
UdjinM6 Oct 23, 2019
883fcbe
Always run extended tests in Gitlab CI (#3173)
codablock Oct 23, 2019
10dd3c1
Merge pull request #3174 from codablock/pr_netpy_fixes
codablock Oct 23, 2019
3c21d25
Slightly adjust some README.md files (#3175)
PastaPastaPasta Oct 29, 2019
64a913d
Allow empty strings in `protx update_registrar` as an option to re-us…
UdjinM6 Oct 29, 2019
bbd9b10
Refactor nonLockedTxsByInputs (#3178)
UdjinM6 Oct 29, 2019
9bc699f
Update activemn if protx info changed (#3176)
nmarley Oct 30, 2019
d3ce096
Add Qt GUI refresh w/branding updates (#3000)
nmarley Oct 31, 2019
e078109
A couple of fixes for additional indexes (#3181)
UdjinM6 Oct 31, 2019
372389d
Disable styling for scrollbars on macos (#3182)
UdjinM6 Oct 31, 2019
1bbe1ad
Add a simple test for payoutAddress reuse in `protx update_registrar`…
UdjinM6 Oct 31, 2019
1ef70ac
Merge #12607: depends: Remove ccache
Mar 8, 2018
df04cdc
Fix Dash specific docs and scripts
codablock Nov 4, 2019
ff1869d
Merge pull request #3187 from codablock/pr_remove_ccache
UdjinM6 Nov 4, 2019
a55624b
Fix 3182: Append scrollbar styles (#3186)
UdjinM6 Nov 4, 2019
251fb5e
Slightly optimize ApproximateBestSubset and its usage for PS txes (#3…
UdjinM6 Nov 4, 2019
1091ab3
Translations201909 (#3107)
UdjinM6 Nov 11, 2019
70b320b
Detect masternode mode from masternodeblsprivkey arg (#3188)
nmarley Nov 11, 2019
e9235b9
trivial: Rename txid paramater for gobject voteraw (#3191)
nmarley Nov 11, 2019
d5cc88f
Should mark tx as a PS one regardless of change calculations in Creat…
UdjinM6 Nov 13, 2019
f829636
Two trivial fixes for logs (#3195)
UdjinM6 Nov 13, 2019
b2fed38
A few trivial fixes for RPCs (#3196)
UdjinM6 Nov 13, 2019
415b81e
Refactor some pow functions (#3198)
UdjinM6 Nov 13, 2019
460e0f4
Fix locking of funds for mixing (#3194)
UdjinM6 Nov 13, 2019
fd50c1c
Hold cs_main/cs_wallet in main MakeCollateralAmounts (#3197)
UdjinM6 Nov 13, 2019
7aa9c43
Few Qt tweaks (#3199)
UdjinM6 Nov 15, 2019
63cc22d
More Qt tweaks (#3200)
UdjinM6 Nov 18, 2019
7677b55
Actually apply CSS styling to RPC console (#3201)
UdjinM6 Nov 18, 2019
1e94e33
Fix styling for disabled buttons (#3205)
UdjinM6 Nov 21, 2019
df372ec
Fix off-by-one error for coinbase txes confirmation icons (#3206)
UdjinM6 Nov 21, 2019
d475f17
Fix styles for progress dialogs, shutdown window and text selection (…
UdjinM6 Nov 21, 2019
9de9949
Compliance changes to terminology (#3211)
strophy Nov 21, 2019
37f96f5
Bump version to 0.15 and update few const-s/chainparams (#3204)
UdjinM6 Nov 21, 2019
d9741fc
Merge #16254: qt: Set AA_EnableHighDpiScaling attribute early
Jun 24, 2019
8c17c81
Remove light-hires theme as it's not required anymore
codablock Nov 22, 2019
482a549
Add collateral, owner and voting addresses to masternode list table (…
UdjinM6 Nov 22, 2019
05ac4db
Dashify few strings (#3214)
UdjinM6 Nov 22, 2019
bb7a32d
Add Dark theme (#3216)
UdjinM6 Nov 22, 2019
ef55e48
Merge pull request #3217 from codablock/pr_backport_hidpi_fix
UdjinM6 Nov 22, 2019
9dad603
Tweak "Send" popup and refactor related code a bit (#3218)
UdjinM6 Nov 27, 2019
08f447a
Tests: Allow specifying different cmd-line params for each masternode…
UdjinM6 Dec 5, 2019
dfe99c9
Decouple cs_mnauth/cs_main (#3220)
UdjinM6 Dec 5, 2019
b4b9d34
Tests: Fix the way nodes are connected to each other in setup_network…
UdjinM6 Dec 5, 2019
4c00d98
Allow re-signing of IS locks when performing retroactive signing (#3219)
codablock Dec 6, 2019
fdb0586
Don't join thread in CQuorum::~CQuorum when called from within the th…
codablock Dec 6, 2019
2b587f0
Slightly refactor CDKGSessionHandler::SleepBeforePhase (#3224)
UdjinM6 Dec 6, 2019
697d289
Merge #12392: Fix ignoring tx data requests when fPauseSend is set on…
codablock Dec 6, 2019
91a996e
Make sure mempool txes are properly processed by CChainLocksHandler d…
UdjinM6 Dec 7, 2019
097491a
Merge branch 'master' into mergemaster_0.14.0.5
UdjinM6 Dec 8, 2019
9378c27
Modify makesseeds.py to work with "protx list valid 1" instead of "ma…
codablock Dec 10, 2019
f0549c4
Merge pull request #3231 from UdjinM6/mergemaster_0.14.0.5
codablock Dec 11, 2019
dad1026
Update static and dns seeds for mainnet and testnet (#3234)
UdjinM6 Dec 11, 2019
7331d4e
Bump wait_for_chainlocked_block_all_nodes timeout in llmq-is-retroact…
UdjinM6 Dec 12, 2019
6520683
Fix menu bar text color in Dark theme (#3236)
UdjinM6 Dec 12, 2019
0c9c27c
Add ccache to gitian packages lists (#3237)
UdjinM6 Dec 12, 2019
416d85b
Tolerate parent cache with empty cache-artifact directory (#3240)
codablock Dec 13, 2019
db6ea1d
Fix log output in CDKGPendingMessages::PushPendingMessage (#3244)
UdjinM6 Dec 24, 2019
c42b200
Try to avoid being marked as a bad quorum member when we sleep for to…
UdjinM6 Dec 31, 2019
fd94e9c
Streamline, refactor and unify PS checks for mixing entries and final…
UdjinM6 Jan 1, 2020
3b0f8ff
Skip mnsync restrictions for whitelisted and manually added nodes (#3…
UdjinM6 Dec 31, 2019
474f25b
Push islock invs when syncing mempool (#3250)
UdjinM6 Jan 1, 2020
8e054f3
Sync mempool from other nodes on start (#3251)
UdjinM6 Jan 1, 2020
cecbbab
move privatesend rpc methods from rpc/masternode.cpp to new rpc/priva…
PastaPastaPasta Dec 31, 2019
31afa9c
Don't disconnect masternode connections when we have less then the de…
codablock Jan 1, 2020
1a1cec2
Fix pull request detection in .gitlab-ci.yml (#3256)
codablock Dec 31, 2019
cbf9c54
Backport osslsigncode 2.0 - bitcoin#16669 and bitcoin#17671 (#3258)
charlesrocket Jan 1, 2020
6e50a7b
Fix params.size() check in "protx list wallet" RPC (#3259)
codablock Jan 1, 2020
1df3c67
A few fixes for integration tests (#3263)
codablock Jan 2, 2020
d30eeb6
Use -Wno-psabi for arm builds on Travis/Gitlab (#3264)
codablock Jan 2, 2020
42e1049
Tweak few more strings re mixing and balances (#3265)
UdjinM6 Jan 4, 2020
817cd9a
AppInitMain should quit early and return `false` if shutdown was requ…
UdjinM6 Jan 4, 2020
ebf529e
Drop new connection instead of old one when duplicate MNAUTH is recei…
codablock Jan 4, 2020
ce92427
Don't load caches when blocks/chainstate was deleted and also delete …
codablock Jan 10, 2020
9d48227
Merge pull request #3282 from UdjinM6/bprc2
UdjinM6 Jan 11, 2020
617c588
v0.15 release notes draft (#3283)
UdjinM6 Jan 14, 2020
1c885bb
Only load valid themes, fallback to "Light" theme otherwise (#3285)
UdjinM6 Jan 14, 2020
b84482a
Let regtest have its own qt settings (#3286)
UdjinM6 Jan 14, 2020
1d203b4
Bump PROTOCOL_VERSION to 70216 (#3287)
UdjinM6 Jan 14, 2020
e875d49
Define defaultTheme and darkThemePrefix as constants and use them ins…
UdjinM6 Jan 16, 2020
203cc90
trivial: adding SVG and high contrast icons (#3209)
taw00 Jan 17, 2020
35d28c7
Update man pages (#3291)
UdjinM6 Jan 17, 2020
3c54f65
Bump copyright year to 2020 (#3290)
UdjinM6 Jan 17, 2020
8fd486c
Translations 2020-01 (#3192)
UdjinM6 Jan 17, 2020
1d9adbe
Replace generic CScopedDBTransaction with specialized CEvoDBScopedCom…
codablock Jan 17, 2020
2c26bdf
Update release-notes.md
codablock Jan 17, 2020
6127f30
Merge pull request #3293 from codablock/pr_v15_backports
UdjinM6 Jan 20, 2020
a8213ca
Various fixes for DSTX-es (#3295)
UdjinM6 Jan 22, 2020
6b5d3ed
Fix dip4-coinbasemerkleroots.py race condition (#3297)
UdjinM6 Jan 22, 2020
87e54c8
Update translations 2020-01-23 (#3302)
UdjinM6 Jan 24, 2020
8b143dd
Drop unused `invSet` in `CDKGSession` (#3303)
UdjinM6 Jan 24, 2020
39d124d
Fix CActiveMasternodeManager::GetLocalAddress to prefer IPv4 if multi…
UdjinM6 Jan 24, 2020
058872d
Update release-notes.md
UdjinM6 Jan 24, 2020
863057d
Merge pull request #3301 from UdjinM6/bp15rc2_3
UdjinM6 Jan 24, 2020
fd0f243
[Trivial] Release note update (#3308)
thephez Jan 29, 2020
dbbc511
Add `automake` package to dash-win-signer's packages list (#3307)
UdjinM6 Jan 29, 2020
e5e3572
Merge #13946: p2p: Clarify control flow in ProcessMessage
laanwj Aug 25, 2018
9e711be
More of 13946
UdjinM6 Jan 28, 2020
8d5fc6e
Merge #13162: [net] Don't incorrectly log that REJECT messages are un…
laanwj May 7, 2018
c0a671e
Fix node protection logic false positives (#3314)
UdjinM6 Feb 1, 2020
829bde8
Fix dark text on dark background in combobox dropdowns on windows (#3…
UdjinM6 Feb 1, 2020
a956065
Only sync mempool from v0.15+ (proto 70216+) nodes (#3321)
UdjinM6 Feb 3, 2020
5da5a6b
Update translations 2020-02-03 (#3322)
UdjinM6 Feb 3, 2020
2bbf78c
Update release-notes.md
UdjinM6 Feb 3, 2020
1d507c9
Merge pull request #3323 from UdjinM6/bp20200203
UdjinM6 Feb 4, 2020
2c30818
Add pubKeyOperator to `quorum info` rpc response (#3327)
Cofresi Feb 11, 2020
15c6df5
Bring back "about" menu icon (#3329)
UdjinM6 Feb 11, 2020
b57f1da
Update release notes
UdjinM6 Feb 11, 2020
e1a2337
Merge pull request #3330 from UdjinM6/bp20200211
UdjinM6 Feb 12, 2020
f23e722
Switch CLIENT_VERSION_IS_RELEASE to `true` for v0.15 (#3306)
UdjinM6 Feb 12, 2020
9d5c3d1
Try to actually accept newly created dstx-es into masternode's mempoo…
UdjinM6 Feb 13, 2020
818e7a6
Update release notes
UdjinM6 Feb 13, 2020
87b6383
Merge pull request #3333 from UdjinM6/bp20200213
codablock Feb 13, 2020
3c055bf
Bump nMinimumChainWork and defaultAssumeValid (#3336)
codablock Feb 18, 2020
f5b08c2
Update release-notes
codablock Feb 18, 2020
351fbf6
Merge pull request #3337 from codablock/pr_v15_assumevalid
UdjinM6 Feb 18, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
7 changes: 3 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ src/dashd
src/dash-cli
src/dash-tx
src/test/test_dash
src/test/test_dash_fuzzy
src/qt/test/test_dash-qt
src/bench/bench_dash

Expand Down Expand Up @@ -88,7 +89,6 @@ Dash-Qt.app
# Unit-tests
Makefile.test
dash-qt_test
src/test/buildenv.py

# Resources cpp
qrc_*.cpp
Expand All @@ -109,9 +109,8 @@ coverage_percent.txt
linux-coverage-build
linux-build
win32-build
qa/pull-tester/tests_config.py
qa/pull-tester/tests_config.ini
qa/cache/*
test/config.ini
test/cache/*

!src/leveldb*/Makefile

Expand Down
159 changes: 159 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,159 @@
image: "ubuntu:bionic"

variables:
DOCKER_DRIVER: overlay2

cache:
# Cache by branch/tag and job name
# Gitlab can't use caches from parent pipelines when doing the first build in a PR, so we use artifacts to copy
# caches into PRs
key: ${CI_COMMIT_REF_SLUG}-${CI_JOB_NAME}${CI_EXTERNAL_PULL_REQUEST_IID}
paths:
- $CI_PROJECT_DIR/cache

stages:
- build

.build_template: &build_template
stage: build
before_script:
- export BUILD_TARGET="$CI_JOB_NAME"
- echo BUILD_TARGET=$BUILD_TARGET
- source ./ci/matrix.sh

# The ubuntu base image has apt configured to delete caches after each invocation, which is something that is not desirable for us
- rm /etc/apt/apt.conf.d/docker-clean
- apt-get update
- apt-get install -y wget unzip

# Init cache
- export CACHE_DIR=$CI_PROJECT_DIR/cache
- mkdir -p $CACHE_DIR
- |
if [ "$CI_COMMIT_REF_SLUG" != "develop" -a "$CI_COMMIT_TAG" == "" ]; then
if [ ! -d $CACHE_DIR/ccache ]; then
echo "Downloading cache from develop branch"
mkdir cache-artifact
cd cache-artifact
if wget --quiet -O cache-artifact.zip https://gitlab.com/$CI_PROJECT_NAMESPACE/$CI_PROJECT_NAME/-/jobs/artifacts/develop/download?job=$CI_JOB_NAME; then
unzip -q cache-artifact.zip
rm cache-artifact.zip
mv cache-artifact/* $CACHE_DIR/ || true
else
echo "Failed to download cache"
fi
cd ..
rm -rf cache-artifact
else
echo "Not touching cache (was initialized from previous build)"
fi
else
echo "Not touching cache (building develop branch or tag)"
fi
# Create missing cache dirs
- mkdir -p $CACHE_DIR/ccache && mkdir -p $CACHE_DIR/depends && mkdir -p $CACHE_DIR/sdk-sources && mkdir -p $CACHE_DIR/apt
# Keep this as it makes caching related debugging easier
- ls -lah $CACHE_DIR && ls -lah $CACHE_DIR/depends && ls -lah $CACHE_DIR/ccache && ls -lah $CACHE_DIR/apt
- mv $CACHE_DIR/apt/* /var/cache/apt/archives/ || true

# Install base packages
- apt-get dist-upgrade -y
- apt-get install -y git g++ autotools-dev libtool m4 automake autoconf pkg-config zlib1g-dev libssl1.0-dev curl ccache bsdmainutils cmake
- apt-get install -y python3 python3-dev python3-pip

# jinja2 is needed for combine_logs.py
- pip3 install jinja2

# Setup some environment variables
- |
if [ "$CI_EXTERNAL_PULL_REQUEST_IID" != "" ]; then
export PULL_REQUEST="true"
else
# CI_EXTERNAL_PULL_REQUEST_IID is false every time until https://gitlab.com/gitlab-org/gitlab/issues/5667 is done
# Until then, we're using https://github.com/brndnmtthws/labhub atm to mirror Github pull requests as branches into Gitlab,
# which allows us to use Gitlab CI for Github. The following check detects such mirrored branches.
if [[ $CI_COMMIT_REF_NAME =~ ^pr-[^/]*/[^/]*/[^/]*/[^/]*$ ]]; then
export PULL_REQUEST="true"
# CI_COMMIT_BEFORE_SHA is also invalid until #5667 is implemented, so we need to figure it out by ourself
git fetch origin develop
export CI_COMMIT_BEFORE_SHA="$(git merge-base origin/develop HEAD)"
else
export PULL_REQUEST="false"
fi
fi
- export COMMIT_RANGE="$CI_COMMIT_BEFORE_SHA..$CI_COMMIT_SHA"
- export JOB_NUMBER="$CI_JOB_ID"
- export HOST_SRC_DIR=$CI_PROJECT_DIR
- echo PULL_REQUEST=$PULL_REQUEST COMMIT_RANGE=$COMMIT_RANGE HOST_SRC_DIR=$HOST_SRC_DIR CACHE_DIR=$CACHE_DIR
- echo "Commit log:" && git log --format=fuller -1

# Build dash_hash
- git clone https://github.com/dashpay/dash_hash
- cd dash_hash && python3 setup.py install

# Install build target specific packages
- echo PACKAGES=$PACKAGES
- if [ -n "$DPKG_ADD_ARCH" ]; then dpkg --add-architecture "$DPKG_ADD_ARCH" ; fi
- if [ -n "$PACKAGES" ]; then apt-get update && apt-get install -y --no-install-recommends --no-upgrade $PACKAGES; fi

# Move apt packages into cache
- mv /var/cache/apt/archives/* $CACHE_DIR/apt/ || true

# Make mingw use correct threading libraries
- update-alternatives --set i686-w64-mingw32-gcc /usr/bin/i686-w64-mingw32-gcc-posix || true
- update-alternatives --set i686-w64-mingw32-g++ /usr/bin/i686-w64-mingw32-g++-posix || true
- update-alternatives --set x86_64-w64-mingw32-gcc /usr/bin/x86_64-w64-mingw32-gcc-posix || true
- update-alternatives --set x86_64-w64-mingw32-g++ /usr/bin/x86_64-w64-mingw32-g++-posix || true

script:
- export BUILD_TARGET="$CI_JOB_NAME"
- cd $CI_PROJECT_DIR
- ./ci/build_depends.sh
- ./ci/build_src.sh
- ./ci/test_unittests.sh
- ./ci/test_integrationtests.sh --extended --exclude pruning,dbcrash

after_script:
# Copy all cache files into cache-artifact so that they get uploaded. We only do this for develop so that artifacts
# stay minimal for PRs and branches (we never need them)
- mkdir -p $CI_PROJECT_DIR/cache-artifact
- mkdir -p $CI_PROJECT_DIR/testlogs
- |
if [ "$CI_COMMIT_REF_SLUG" = "develop" ]; then
cp -ra $CI_PROJECT_DIR/cache/* $CI_PROJECT_DIR/cache-artifact/
fi

# We're actually only interested in the develop branch creating the cache artifact, but there is no way to control this
# until https://gitlab.com/gitlab-org/gitlab-foss/issues/25478 gets implemented. Until then, we use an expiration time of
# 3 days and rely on daily builds to refresh the cache artifacts. We also keep non-develop artifacts at minimum size
artifacts:
name: cache-artifact
when: always
paths:
- $CI_PROJECT_DIR/cache-artifact
- $CI_PROJECT_DIR/testlogs
expire_in: 3 days

arm-linux:
<<: *build_template

win32:
<<: *build_template

win64:
<<: *build_template

linux32:
<<: *build_template

linux64:
<<: *build_template

linux64_nowallet:
<<: *build_template

linux64_release:
<<: *build_template

mac:
<<: *build_template
7 changes: 5 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ sudo: required
dist: trusty

os: linux
language: generic
language: minimal

services:
- docker
Expand Down Expand Up @@ -47,7 +47,8 @@ runtests: &runtests
- $DOCKER_RUN_IN_BUILDER ./ci/build_depends.sh
- $DOCKER_RUN_IN_BUILDER ./ci/build_src.sh
- $DOCKER_RUN_IN_BUILDER ./ci/test_unittests.sh
- $DOCKER_RUN_IN_BUILDER ./ci/test_integrationtests.sh --jobs=3
- if [ "$TRAVIS_EVENT_TYPE" = "cron" ]; then extended="--extended --exclude pruning,dbcrash"; fi
- $DOCKER_RUN_IN_BUILDER ./ci/test_integrationtests.sh --jobs=3 ${extended}

builddocker: &builddocker
stage: build docker
Expand Down Expand Up @@ -119,10 +120,12 @@ before_install:
install:
# Our scripts try to be Travis agnostic
- export PULL_REQUEST="$TRAVIS_PULL_REQUEST"
- export COMMIT_RANGE="$TRAVIS_COMMIT_RANGE"
- export JOB_NUMBER="$TRAVIS_JOB_NUMBER"
- export HOST_SRC_DIR=$TRAVIS_BUILD_DIR
- export HOST_CACHE_DIR=$HOME/cache
- export TRAVIS_COMMIT_LOG=`git log --format=fuller -1`
- export PYTHON_DEBUG=1
- source ./ci/matrix.sh
- mkdir -p $HOST_CACHE_DIR/docker && mkdir -p $HOST_CACHE_DIR/ccache && mkdir -p $HOST_CACHE_DIR/depends && mkdir -p $HOST_CACHE_DIR/sdk-sources
# Keep this as it makes caching related debugging easier
Expand Down
31 changes: 18 additions & 13 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,32 +33,45 @@ if(DEFINED DEPENDS_PREFIX)
endif()

add_definitions(
-DENABLE_CRASH_HOOKS=1
-DENABLE_WALLET=1
)

file(GLOB SOURCE_FILES
src/*.cpp
src/*.h
src/bench/*.cpp
src/bench/*.h
src/bls/*.cpp
src/bls/*.h
src/compat/*.cpp
src/compat/*.h
src/consensus/*.h
src/consensus/*.cpp
src/consensus/*.h
src/crypto/*.c
src/crypto/*.h
src/crypto/*.cpp
src/crypto/*.h
src/evo/*.cpp
src/evo/*.h
src/leveldb/db/*.cc
src/leveldb/db/*.h
src/leveldb/include/*.h
src/llmq/*.cpp
src/llmq/*.h
src/masternode/*.cpp
src/masternode/*.h
src/policy/*.cpp
src/policy/*.h
src/primitives/*.cpp
src/primitives/*.h
src/qt/test/*.cpp
src/qt/test/*.h
src/privatesend/*.cpp
src/privatesend/*.h
src/qt/*.cpp
src/qt/*.h
src/qt/test/*.cpp
src/qt/test/*.h
src/rpc/*.cpp
src/rpc/*.h
src/script/*.cpp
src/script/*.h
src/secp256k1/include/*.h
Expand All @@ -67,19 +80,11 @@ file(GLOB SOURCE_FILES
src/univalue/include/*.h
src/univalue/lib/*.cpp
src/univalue/lib/*.h
src/wallet/test/*.cpp
src/wallet/*.cpp
src/wallet/*.h
src/wallet/test/*.cpp
src/zmq/*.cpp
src/zmq/*.h
src/*.cpp
src/*.h
src/evo/*.h
src/evo/*.cpp
src/llmq/*.h
src/llmq/*.cpp
src/rpc/*.cpp
src/rpc/*.h
)

add_executable(dash ${SOURCE_FILES})
46 changes: 38 additions & 8 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ fixes or code moves with actual code changes.

Commit messages should be verbose by default consisting of a short subject line
(50 chars max), a blank line and detailed explanatory text as separate
paragraph(s); unless the title alone is self-explanatory (like "Corrected typo
in init.cpp") then a single title line is sufficient. Commit messages should be
paragraph(s), unless the title alone is self-explanatory (like "Corrected typo
in init.cpp") in which case a single title line is sufficient. Commit messages should be
helpful to people reading your code in the future, so explain the reasoning for
your decisions. Further explanation [here](http://chris.beams.io/posts/git-commit/).

Expand Down Expand Up @@ -170,13 +170,13 @@ judge the general consensus of contributors.

In general, all pull requests must:

- have a clear use case, fix a demonstrable bug or serve the greater good of
- Have a clear use case, fix a demonstrable bug or serve the greater good of
the project (for example refactoring for modularisation);
- be well peer reviewed;
- have unit tests and functional tests where appropriate;
- follow [code style guidelines](/doc/developer-notes.md);
- not break the existing test suite;
- where bugs are fixed, where possible, there should be unit tests
- Be well peer reviewed;
- Have unit tests and functional tests where appropriate;
- Follow [code style guidelines](/doc/developer-notes.md);
- Not break the existing test suite;
- Where bugs are fixed, where possible, there should be unit tests
demonstrating the bug and also proving the fix. This helps prevent regression.

Patches that change Dash consensus rules are considerably more involved than
Expand Down Expand Up @@ -225,6 +225,36 @@ discussed extensively on the mailing list and IRC, be accompanied by a widely
discussed BIP and have a generally widely perceived technical consensus of being
a worthwhile change based on the judgement of the maintainers.

### Finding Reviewers

The review process is normally fairly responsive on the Dash Core repository, however
this might not always be the case. If you find that you've been waiting
for a pull request to be given attention for several months, there may be a number
of reasons for this, some of which you can do something about:

- It may be because of a feature freeze due to an upcoming release. During this time,
only bug fixes are taken into consideration. If your pull request is a new feature,
it will not be prioritized until the release is over. Wait for release.
- It may be because the changes you are suggesting do not appeal to people. Rather than
nits and critique, which require effort and means they care enough to spend time on your
contribution, thundering silence is a good sign of widespread (mild) dislike of a given change
(because people don't assume *others* won't actually like the proposal). Don't take
that personally, though! Instead, take another critical look at what you are suggesting
and see if it: changes too much, is too broad, doesn't adhere to the
[developer notes](doc/developer-notes.md), is dangerous or insecure, is messily written, etc.
Identify and address any of the issues you find. Then ask e.g. on the forum or on a community
discord if someone could give their opinion on the concept itself.
- It may be because your code is too complex for all but a few people. And those people
may not have realized your pull request even exists. A great way to find people who
are qualified and care about the code you are touching is the
[Git Blame feature](https://help.github.com/articles/tracing-changes-in-a-file/). Simply
find the person touching the code you are touching before you and see if you can find
them and give them a nudge. Don't be incessant about the nudging though.
- Finally, if all else fails, ask on discord or elsewhere for someone to give your pull request
a look. If you think you've been waiting an unreasonably long amount of time (month+) for
no particular reason (few lines changed, etc), this is totally fine. Try to return the favor
when someone else is asking for feedback on their code, and universe balances out.


Release Policy
--------------
Expand Down
5 changes: 3 additions & 2 deletions COPYING
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
The MIT License (MIT)

Copyright (c) 2009-2019 The Bitcoin Core developers
Copyright (c) 2014-2019 The Dash Core developers
Copyright (c) 2009-2020 The Bitcoin Core developers
Copyright (c) 2009-2020 Bitcoin Developers
Copyright (c) 2014-2020 The Dash Core developers

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
Loading