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

release: Prepare RC5 Release #266

Closed
wants to merge 2,902 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2902 commits
Select commit Hold shift + click to select a range
e8247b0
Merge pull request #157 from barrystyle/bugfix/coinbasematurity
ycagel Jan 23, 2024
baa6a6e
Merge branch 'DigiByte-Core:develop' into pr
Jan 23, 2024
2ef2f8f
Update txmempool.cpp
Jan 30, 2024
f28663e
Merge pull request #160 from Jongjan88/pr
gto90 Jan 31, 2024
87f2b23
Update wallet.h
Jan 31, 2024
54f85f6
Merge pull request #165 from Jongjan88/pr
gto90 Jan 31, 2024
7957e65
Update net.cpp
Jan 31, 2024
dc0e918
Update net_tests.cpp
Jan 31, 2024
c4b9470
netbase_tests.cpp
Jan 31, 2024
508d3a2
Update netbase.h
Jan 31, 2024
f7d8caf
Update addrman_tests.cpp
Jan 31, 2024
26938d1
addrman_tests.cpp
Jan 31, 2024
11d6842
net.cpp
Jan 31, 2024
2df7b0a
Merge pull request #166 from Jongjan88/pr
ycagel Feb 1, 2024
7bca026
Delete src/qt/res/icons directory
Feb 1, 2024
eb4aa43
1.txt
Feb 1, 2024
078af84
Add files via upload
Feb 1, 2024
6f484c3
Delete src/qt/res/icons/1.txt
Feb 1, 2024
b5757d5
Delete src/qt/res/icons/digibyte.ico
Feb 2, 2024
a8d011c
Add files via upload
Feb 2, 2024
af6d4e3
Merge pull request #167 from Jongjan88/pr
gto90 Feb 2, 2024
cb349c0
Added icons for RC3 and RC4
saltedlolly Feb 4, 2024
86123e8
Update wallet.h
Feb 4, 2024
1749786
wallet.h
Feb 4, 2024
3c77dec
Merge pull request #170 from saltedlolly/RC3-RC4-icons
JaredTate Feb 5, 2024
ec1c9f0
wallet.h
Feb 6, 2024
9a1bc4a
Merge pull request #171 from Jongjan88/pr
ycagel Feb 7, 2024
f2a74e4
Update fees.h
Feb 20, 2024
72c49e4
CAmount GetFeePerK 100000
Feb 20, 2024
9eb291e
Merge pull request #174 from Jongjan88/policy
ycagel Feb 21, 2024
f66fa2b
Update rpcwallet.cpp
Feb 21, 2024
2f34d61
DEFAULT_MAX_RAW_TX_FEE_RATE{COIN * 100}
Feb 21, 2024
06700a0
m_default_max_tx_fee, 1000000000 > 4294967295
Feb 21, 2024
62e220f
pwallet->m_default_max_tx_fee, 4000000000
Feb 21, 2024
ce211ca
rpcwallet.cpp
Feb 22, 2024
dd95b35
Merge pull request #176 from Jongjan88/MinimumFee
gto90 Feb 23, 2024
c7fb9ba
uint32_t to size_t
Feb 24, 2024
787de14
uint32_t to size_t
Feb 24, 2024
259c4a9
12024 to 8333
Feb 24, 2024
859e7ef
GetFeePerK form 0.01 to 0.1dgb/kb
Feb 24, 2024
ddd1863
uint32_t to int64_t
Feb 24, 2024
169ec64
size_t to uint32_t
Feb 24, 2024
10debff
size_t to uint32_t
Feb 24, 2024
5d03d12
uint32_t
Feb 25, 2024
8ff41df
CFeeRate MAX_MONEY
Feb 25, 2024
28b4639
update
Feb 25, 2024
f24ae2c
Update feerate.cpp
Feb 25, 2024
0273964
GetFeePerK return GetFee original value.
Feb 25, 2024
c84f73c
Update feerate.h
Feb 25, 2024
bb186ef
Update feerate.h
Feb 27, 2024
3904bf5
Update feerate.cpp
Feb 28, 2024
569ec22
Merge pull request #177 from Jongjan88/size
ycagel Feb 28, 2024
c821014
12024 to 8333
Feb 28, 2024
d450dd4
Update wallet_tests.cpp
Feb 28, 2024
74e17f6
Update coincontrol.h
mctrivia Mar 1, 2024
ed95be4
Update coincontrol.h
mctrivia Mar 1, 2024
b2e74a8
Merge pull request #179 from Jongjan88/port
ycagel Mar 4, 2024
879e6d8
Merge pull request #182 from mctrivia/patch-4
ycagel Mar 4, 2024
a06d528
Fix 1st 5 Functional Tests
JaredTate Mar 5, 2024
615bf8e
Update wallet_backup.py
JaredTate Mar 5, 2024
1214cec
Update rpc_fundrawtransaction.py
JaredTate Mar 5, 2024
e0ed879
Merge pull request #183 from JaredTate/develop
ycagel Mar 5, 2024
ce4d3fb
Update minfeefilter
Mar 6, 2024
f8a0796
Update minrelaytxfee
Mar 6, 2024
7161a42
Update COINBASE_MATURITY_2
Mar 6, 2024
ec184e4
Update COINBASE_MATURITY_2
Mar 6, 2024
efb23f6
Update COINBASE_MATURITY
Mar 6, 2024
a15e6ee
Update COINBASE_MATURITY_2
Mar 6, 2024
6a810bc
Update COINBASE_MATURITY_2
Mar 6, 2024
23f2940
Update rpc_net.py
Mar 6, 2024
f5805b1
Return the fee in satoshis for a size of 1000 bytes
Mar 6, 2024
e6bb518
Merge pull request #184 from Jongjan88/python
gto90 Mar 6, 2024
de8ca5c
Merge pull request #185 from Jongjan88/fix
gto90 Mar 7, 2024
36a8c5a
Update rpc_net.py
Mar 7, 2024
6653123
Update fee rates
Mar 7, 2024
5d6edac
Fix 2 Tests
JaredTate Mar 7, 2024
a34fc4b
Update wallet_balance.py
Mar 8, 2024
b3c8f02
Fix 3 Functional Tests
JaredTate Mar 8, 2024
22c8c6e
Merge pull request #186 from JaredTate/develop
gto90 Mar 8, 2024
6723284
Merge pull request #187 from Jongjan88/newpr
gto90 Mar 8, 2024
d5292ca
MIN_BUCKET_FEERATE 1e5 to 1e3
Mar 8, 2024
0d41360
Partial wallet_basic.py Fix
JaredTate Mar 8, 2024
481c062
Fix 3 More Tests
JaredTate Mar 8, 2024
4290b0f
Update rpc_signrawtransaction.py
JaredTate Mar 8, 2024
4547f23
Update wallet_importprunedfunds.py
JaredTate Mar 8, 2024
3fa09d4
Update rpc_packages.py
JaredTate Mar 8, 2024
78e2a00
Update p2p_addr_relay.py
JaredTate Mar 8, 2024
1d6256a
Update feature_coinstatsindex.py
JaredTate Mar 8, 2024
3a2c69e
Update wallet_abandonconflict.py
JaredTate Mar 9, 2024
3f4d2b2
Update wallet_avoidreuse.py
JaredTate Mar 9, 2024
baa8c30
Update wallet_txn_clone.py
JaredTate Mar 9, 2024
84150a0
Merge pull request #188 from Jongjan88/minipr
gto90 Mar 10, 2024
4b70f9e
Merge branch 'DigiByte-Core:develop' into develop
JaredTate Mar 10, 2024
c256f9b
Merge pull request #189 from JaredTate/develop
gto90 Mar 10, 2024
c66852f
Merge branch 'DigiByte-Core:develop' into fix-tests
JaredTate Mar 10, 2024
8a26836
Merge pull request #190 from JaredTate/fix-tests
ycagel Mar 10, 2024
e8f1a34
Update rpc_createmultisig.py
Mar 10, 2024
f79ce55
Update wallet_coinbase_category.py
Mar 11, 2024
3fd7c74
Merge pull request #192 from Jongjan88/minipr2
ycagel Mar 11, 2024
f15bece
Fix p2p_ibd_txrelay.py Test
JaredTate Mar 12, 2024
735de4c
fix: Addes support for Apple silicon
gto90 Mar 12, 2024
0e4eb7f
chore: Remove duplicate line from /depends/README.md
gto90 Mar 12, 2024
8a6cc1e
fix: Reduce C++ standard to c++14 to allow boost compilation on Apple…
gto90 Mar 12, 2024
3808f78
fix: Updated Boost to support Apple Silicon
gto90 Mar 12, 2024
d201d4b
Update wallet_txn_doublespend.py
JaredTate Mar 12, 2024
d4089cc
Merge pull request #193 from JaredTate/develop
ycagel Mar 12, 2024
d486a8d
Merge pull request #194 from DigiByte-Core/feature/appl-silicon-support
ycagel Mar 14, 2024
4484959
Fix mempool_tests Unit Test
JaredTate Mar 14, 2024
7afcc93
Fix miner_tests.cpp
JaredTate Mar 14, 2024
b9e9c4f
Merge pull request #195 from JaredTate/develop
ycagel Mar 14, 2024
be7d680
Update policy_fee_tests.cpp
JaredTate Mar 14, 2024
c98ead0
Update transaction_tests.cpp
JaredTate Mar 14, 2024
0d32157
Merge branch 'develop' of https://github.com/JaredTate/digibyte into …
JaredTate Mar 14, 2024
bdc295e
Merge pull request #196 from JaredTate/develop
ycagel Mar 14, 2024
a5c305f
Merge pull request #180 from Jongjan88/testwallet
ycagel Mar 14, 2024
8943adf
Disable Benchmarks For Default Compiling
JaredTate Mar 14, 2024
7d4666c
Merge pull request #197 from JaredTate/develop
ycagel Mar 15, 2024
a532269
Update amount_tests.cpp
JaredTate Mar 15, 2024
50748be
Merge pull request #201 from JaredTate/develop
gto90 Mar 15, 2024
0992ad7
Update rpc_blockchain.py
JaredTate Mar 15, 2024
75d6236
Merge branch 'develop' of https://github.com/JaredTate/digibyte into …
JaredTate Mar 15, 2024
7d39358
Merge pull request #203 from JaredTate/develop
ycagel Mar 15, 2024
e623baa
Update sqlite.mk
Mar 16, 2024
6c6f827
sqlite 2020 to 2024
Mar 16, 2024
45c3974
Update sha256
Mar 16, 2024
fff3955
Merge pull request #204 from Jongjan88/sql
gto90 Mar 17, 2024
fb5c11b
Update bdb.cpp
Mar 17, 2024
380b701
Update bdb.cpp
Mar 17, 2024
17f403e
Update db.cpp
Mar 17, 2024
17fcaf9
Merge pull request #206 from Jongjan88/pr2
JaredTate Mar 18, 2024
555e943
Update rpc_fundrawtransaction.py
JaredTate Mar 19, 2024
16fdede
Merge pull request #207 from JaredTate/develop
gto90 Mar 19, 2024
a3078a9
Update test_runner.py
JaredTate Mar 19, 2024
76eadfb
Merge pull request #208 from JaredTate/develop
gto90 Mar 20, 2024
0bee81f
Update wallet_abandonconflict.py
JaredTate Mar 20, 2024
183cbfe
Merge pull request #209 from JaredTate/develop
gto90 Mar 20, 2024
751dbe7
memcpy to copy the entire array at once.
Mar 20, 2024
c8563e9
Remove i % 16 == 0 &&
Mar 20, 2024
0a5578f
Update wallet_groups.py
JaredTate Mar 20, 2024
60f5637
Merge branch 'DigiByte-Core:develop' into develop
JaredTate Mar 20, 2024
8a13367
Update validation.cpp
Mar 20, 2024
d956fcd
Merge pull request #210 from JaredTate/develop
gto90 Mar 21, 2024
2d09292
Merge pull request #211 from Jongjan88/fastlaunch
gto90 Mar 21, 2024
ac06e49
Update rpc_rawtransaction.py
JaredTate Mar 21, 2024
97f198a
Update wallet_keypool.py
JaredTate Mar 21, 2024
d0522f8
Merge pull request #212 from JaredTate/develop
ycagel Mar 21, 2024
561bff8
argsman AddArg -legacy
Mar 21, 2024
683be76
Descriptor Wallet checked
Mar 21, 2024
e584373
Update rpcwallet.cpp
Mar 21, 2024
7be47a7
Update rpcwallet.cpp
Mar 21, 2024
f2c8da1
Update wallettool.cpp
Mar 21, 2024
b609b92
Update rpc_psbt.py
JaredTate Mar 22, 2024
24fcbfc
Update tool_wallet.py
Mar 22, 2024
dd93d40
Merge pull request #214 from JaredTate/develop
gto90 Mar 25, 2024
17245d0
Update wallet_importdescriptors.py
JaredTate Mar 25, 2024
992eb73
Update wallet_create_tx.py
JaredTate Mar 25, 2024
e811663
Update wallet_bumpfee.py
JaredTate Mar 25, 2024
e8cfed2
Update wallet_basic.py
JaredTate Mar 25, 2024
5428f71
Merge branch 'develop' of https://github.com/JaredTate/digibyte into …
JaredTate Mar 25, 2024
7382609
Merge pull request #216 from JaredTate/develop
ycagel Mar 25, 2024
b6c9264
Bump to 8.22.0-RC4
JaredTate Mar 25, 2024
0a82000
Merge pull request #217 from JaredTate/develop
gto90 Mar 25, 2024
3f26fd1
Merge pull request #213 from Jongjan88/descriptor
gto90 Mar 25, 2024
cc659a9
warn if a newly created wallet is legacy
Mar 26, 2024
476079d
Merge pull request #221 from Jongjan88/warning
gto90 Mar 27, 2024
57a62e3
Partial Revert "Merge pull request #194 from DigiByte-Core/feature/ap…
JaredTate Apr 1, 2024
527219d
Merge pull request #224 from JaredTate/develop
gto90 Apr 2, 2024
680d58d
Update wallet.cpp
Apr 3, 2024
0940a54
Update createwalletdialog.ui
Apr 3, 2024
9db2d62
Update walletcontroller.cpp
Apr 3, 2024
d9b3123
Update createwalletdialog.cpp
Apr 3, 2024
4a40c15
Update wallet.cpp
Apr 3, 2024
6ba42bd
Update wallet.cpp
Apr 3, 2024
fa8d70a
Rename Satoshi to DigiSatoshi in QT
saltedlolly Apr 4, 2024
252fcf0
Update wiki reference
saltedlolly Apr 4, 2024
99952ef
Update digibyteunits.h
saltedlolly Apr 4, 2024
99ed14a
Merge pull request #227 from Jongjan88/descriptor77
gto90 Apr 5, 2024
961a774
Min Boost 1.84.0
Apr 5, 2024
b5d3dec
sqlite3 >= 3.45.2
Apr 5, 2024
ceef1f4
Update configure.ac
Apr 9, 2024
c84628b
22 >> 22.1
Apr 10, 2024
8725f4d
22 >> 22.1
Apr 10, 2024
1b1d2da
Update 00_setup_env_native_asan.sh
Apr 10, 2024
73e8cba
22 >> 22.1
Apr 10, 2024
15a0e04
Update configure.ac
Apr 10, 2024
eb5072e
22 >> 22.1
Apr 10, 2024
07a845d
22 >> 22.1
Apr 10, 2024
754a3bc
22 >> 22.1
Apr 10, 2024
df3fa74
Update init.cpp
Apr 10, 2024
42c5e1e
22 >> 22.1
Apr 10, 2024
d9c0d9d
22 >> 22.1
Apr 10, 2024
a5d3368
22 >> 22.1
Apr 10, 2024
aa6aee5
22 >> 22.1
Apr 10, 2024
927bfe6
Merge pull request #230 from Jongjan88/min
gto90 Apr 13, 2024
eb94077
Merge pull request #232 from Jongjan88/btc221
ycagel Apr 13, 2024
af395e1
DEFAULT_DANDELION = false
Apr 14, 2024
61a2a3e
Merge pull request #235 from Jongjan88/Dandelion
gto90 Apr 14, 2024
22528bf
Merge pull request #229 from saltedlolly/rename-satoshi-in-qt
ycagel May 21, 2024
166a3a7
Activate Taproot
SogobiNapiasi Jun 12, 2024
e067e4d
Update chainparams.cpp Activation Threshold DGB Birthday
SogobiNapiasi Nov 8, 2024
cca171c
Merge pull request #244 from SogobiNapiasi/develop
gto90 Nov 8, 2024
f800843
wallet: Remove unused descriptor checkbox from wallet creation dialog
gto90 Dec 15, 2024
0bda8ec
tests: Add Taproot soft fork status to getblockchaininfo test
gto90 Dec 15, 2024
698a43a
workspace: Add digibyte.code-workspace for VS Code configuration
gto90 Dec 15, 2024
c336e5d
Merge pull request #254 from DigiByte-Core/bugfix/functional-test-rpc…
ycagel Dec 16, 2024
4da9afa
Merge pull request #253 from DigiByte-Core/bugfix/wallet-Remove-unuse…
ycagel Dec 16, 2024
8067c22
Uncomment & Re-Enable Taproot & Dandelion Tests
JaredTate Dec 16, 2024
410f322
Merge pull request #255 from JaredTate/develop
ycagel Dec 17, 2024
2be32a4
ci: Consolidate GitHub workflows for Qt and test coverage
gto90 Dec 17, 2024
55a7a42
ci: Added missing configure options.
gto90 Dec 17, 2024
7b9372b
ci: Simplify CI workflow configuration and improve documentation form…
gto90 Dec 17, 2024
4b2c7bb
ci: Enhance caching for APT packages, pip, and build dependencies in …
gto90 Dec 17, 2024
b9fa6b0
ci: Refactor CI workflow to separate dependencies installation and bu…
gto90 Dec 17, 2024
9d53a9c
ci: Refactor CI workflow to consolidate build steps and enhance caching
gto90 Dec 17, 2024
aa92cd2
ci: Enhance caching for pip, BerkeleyDB, and build dependencies in CI…
gto90 Dec 17, 2024
e51b43a
ci: Update CI workflow to include python3-zmq dependency and improve …
gto90 Dec 17, 2024
ec5de94
ci: Remove push trigger from CI workflow for Ubuntu Full QT & Tests
gto90 Dec 17, 2024
ca580ff
tests: Fixes wallet_taproot.py functional test
gto90 Dec 18, 2024
c2538c8
tests: Fixes feature_taproot.py functional test
gto90 Dec 18, 2024
f9c5e76
tests: Fixes feature_taproot.py functional test
gto90 Dec 18, 2024
4b7d732
Merge branch 'bugfix/test-feature_taproot' of https://github.com/Digi…
gto90 Dec 18, 2024
2c2d8ae
Merge pull request #256 from DigiByte-Core/bugfix/ci-cd-consolidation
ycagel Dec 18, 2024
aca1459
Merge branch 'develop' into bugfix/test-wallet_taproot
gto90 Dec 18, 2024
5096210
Merge branch 'develop' into bugfix/test-feature_taproot
gto90 Dec 18, 2024
bfb4abc
Merge pull request #257 from DigiByte-Core/bugfix/test-wallet_taproot
ycagel Dec 18, 2024
c8214f8
Merge branch 'develop' into bugfix/test-feature_taproot
gto90 Dec 18, 2024
47ba50a
Merge pull request #258 from DigiByte-Core/bugfix/test-feature_taproot
ycagel Dec 19, 2024
a62802e
Rename CI workflow file and update configuration for improved build a…
gto90 Dec 20, 2024
daa21b5
Update CI workflow to utilize all available CPU cores for test execution
gto90 Dec 20, 2024
b28adfa
fix: Resolved failing dependency build step
gto90 Dec 20, 2024
55d1a92
Year & Version Bump
JaredTate Dec 20, 2024
a772d5a
Merge pull request #260 from JaredTate/develop
ycagel Dec 20, 2024
eac252c
fix: Update CI workflow to trigger on specific branches and correct b…
gto90 Dec 20, 2024
848840e
Merge pull request #259 from DigiByte-Core/feature/ci-cd-improvements
ycagel Dec 20, 2024
8499c4c
Bump to 8.22.0-RC5
beggsdl Dec 20, 2024
293691e
Merge pull request #261 from beggsdl/fix/update-rc5-logo
ycagel Dec 21, 2024
4fda77d
More Fixes
JaredTate Dec 20, 2024
9dcdb7a
Merge branch 'DigiByte-Core:develop' into develop
JaredTate Dec 22, 2024
65e9ed4
ci: Add CodeQL analysis workflow for enhanced security scanning
gto90 Dec 22, 2024
24c748d
fix: Refactor CodeQL workflow for improved readability and add suppor…
gto90 Dec 22, 2024
a317cb5
ci: Update CodeQL workflow schedule to run weekly on Sundays
gto90 Dec 22, 2024
7972368
fix: Change CodeQL workflow build mode for C/C++ from autobuild to ma…
gto90 Dec 22, 2024
6dccde7
ci: Add concurrency configuration to CodeQL workflow and support for …
gto90 Dec 22, 2024
59f5b47
ci: Fix indentation in CI workflow for pull request triggers
gto90 Dec 22, 2024
8be6d4c
ci: Fix formatting in CI workflow for pull request branches and envir…
gto90 Dec 22, 2024
1b34794
fix: Update CodeQL queries to conditionally include security-extended…
gto90 Dec 22, 2024
dfbbbc5
fix: Update CodeQL queries to exclude security-extended for non-actio…
gto90 Dec 22, 2024
b7ed70d
ci: Add paths-ignore to CodeQL workflow and create config file for fi…
gto90 Dec 22, 2024
bc393ec
Merge pull request #262 from JaredTate/develop
ycagel Dec 23, 2024
21698e7
Merge pull request #265 from DigiByte-Core/feature/ci-enabled-codeql-…
ycagel Dec 23, 2024
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
  •  
  •  
  •  
63 changes: 63 additions & 0 deletions .appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
version: '{branch}.{build}'
skip_tags: true
image: Visual Studio 2019
configuration: Release
platform: x64
clone_depth: 5
environment:
PATH: 'C:\Python37-x64;C:\Python37-x64\Scripts;%PATH%'
PYTHONUTF8: 1
QT_DOWNLOAD_URL: 'https://github.com/sipsorcery/qt_win_binary/releases/download/qt51211x64_static_vs2019_16101/Qt5.12.11_x64_static_vs2019_16101.zip'
QT_DOWNLOAD_HASH: 'cf1b58107fadbf0d9a957d14dab16cde6b6eb6936a1908472da1f967dda34a3a'
QT_LOCAL_PATH: 'C:\Qt5.12.11_x64_static_vs2019_16101'
VCPKG_TAG: '75522bb1f2e7d863078bcd06322348f053a9e33f'
install:
# Disable zmq test for now since python zmq library on Windows would cause Access violation sometimes.
# - cmd: pip install zmq
# The powershell block below is to set up vcpkg to install the c++ dependencies. The pseudo code is:
# a. Checkout the vcpkg source (including port files) for the specific checkout and build the vcpkg binary,
# b. Append a setting to the vcpkg cmake config file to only do release builds of dependencies (skipping deubg builds saves ~5 mins).
# Note originally this block also installed the dependencies using 'vcpkg install'. Dependencies are now installed
# as part of the msbuild command using vcpkg mainfests.
- ps: |
cd c:\tools\vcpkg
$env:GIT_REDIRECT_STDERR = '2>&1' # git is writing non-errors to STDERR when doing git pull. Send to STDOUT instead.
git -c advice.detachedHead=false checkout $env:VCPKG_TAG
.\bootstrap-vcpkg.bat > $null
Add-Content "C:\tools\vcpkg\triplets\$env:PLATFORM-windows-static.cmake" "set(VCPKG_BUILD_TYPE release)"
cd "$env:APPVEYOR_BUILD_FOLDER"
before_build:
# Powershell block below is to download and extract the Qt static libraries. The pseudo code is:
# a. Download the zip file with the prebuilt Qt static libraries.
# b. Check that the downloaded file matches the expected hash.
# c. Extract the zip file to the specific destination path expected by the msbuild projects.
- ps: |
Write-Host "Downloading Qt binaries.";
Invoke-WebRequest -Uri $env:QT_DOWNLOAD_URL -Out qtdownload.zip;
Write-Host "Qt binaries successfully downloaded, checking hash against $env:QT_DOWNLOAD_HASH...";
if((Get-FileHash qtdownload.zip).Hash -eq $env:QT_DOWNLOAD_HASH) {
Expand-Archive qtdownload.zip -DestinationPath $env:QT_LOCAL_PATH;
Write-Host "Qt binary download matched the expected hash.";
}
else {
Write-Host "ERROR: Qt binary download did not match the expected hash.";
Exit-AppveyorBuild;
}
- cmd: python build_msvc\msvc-autogen.py
build_script:
- cmd: msbuild /p:TrackFileAccess=false build_msvc\digibyte.sln /m /v:q /nologo
after_build:
#- 7z a digibyte-%APPVEYOR_BUILD_VERSION%.zip %APPVEYOR_BUILD_FOLDER%\build_msvc\%platform%\%configuration%\*.exe
test_script:
- cmd: src\test_digibyte.exe -l test_suite
- cmd: src\bench_digibyte.exe > NUL
- ps: python test\util\digibyte-util-test.py
- cmd: python test\util\rpcauth-test.py
# Fee estimation test failing on appveyor with: WinError 10048] Only one usage of each socket address (protocol/network address/port) is normally permitted.
# functional tests disabled for now. See
# https://github.com/digibyte/digibyte/pull/18626#issuecomment-613396202
# https://github.com/digibyte/digibyte/issues/18623
# - cmd: python test\functional\test_runner.py --ci --quiet --combinedlogslen=4000 --failfast --exclude feature_fee_estimation
artifacts:
#- path: digibyte-%APPVEYOR_BUILD_VERSION%.zip
deploy: off
225 changes: 225 additions & 0 deletions .cirrus.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,225 @@
### Global defaults

env:
PACKAGE_MANAGER_INSTALL: "apt-get update && apt-get install -y"
MAKEJOBS: "-j4"
TEST_RUNNER_PORT_MIN: "14000" # Must be larger than 12321, which is used for the http cache. See https://cirrus-ci.org/guide/writing-tasks/#http-cache
CCACHE_SIZE: "200M"
CCACHE_DIR: "/tmp/ccache_dir"
CCACHE_NOHASHDIR: "1" # Debug info might contain a stale path if the build dir changes, but this is fine

cirrus_ephemeral_worker_template_env: &CIRRUS_EPHEMERAL_WORKER_TEMPLATE_ENV
DANGER_RUN_CI_ON_HOST: "1" # Containers will be discarded after the run, so there is no risk that the ci scripts modify the system

persistent_worker_template_env: &PERSISTENT_WORKER_TEMPLATE_ENV
RESTART_CI_DOCKER_BEFORE_RUN: "1"

persistent_worker_template: &PERSISTENT_WORKER_TEMPLATE
persistent_worker: {} # https://cirrus-ci.org/guide/persistent-workers/

# https://cirrus-ci.org/guide/tips-and-tricks/#sharing-configuration-between-tasks
base_template: &BASE_TEMPLATE
skip: $CIRRUS_REPO_FULL_NAME == "digibyte-core/gui" && $CIRRUS_PR == "" # No need to run on the read-only mirror, unless it is a PR. https://cirrus-ci.org/guide/writing-tasks/#conditional-task-execution
merge_base_script:
- if [ "$CIRRUS_PR" = "" ]; then exit 0; fi
- bash -c "$PACKAGE_MANAGER_INSTALL git"
- git fetch $CIRRUS_REPO_CLONE_URL $CIRRUS_BASE_BRANCH
- git config --global user.email "[email protected]"
- git config --global user.name "ci"
- git merge FETCH_HEAD # Merge base to detect silent merge conflicts
stateful: false # https://cirrus-ci.org/guide/writing-tasks/#stateful-tasks

global_task_template: &GLOBAL_TASK_TEMPLATE
<< : *BASE_TEMPLATE
timeout_in: 120m # https://cirrus-ci.org/faq/#instance-timed-out
container:
# https://cirrus-ci.org/faq/#are-there-any-limits
# Each project has 16 CPU in total, assign 2 to each container, so that 8 tasks run in parallel
cpu: 2
memory: 8G # Set to 8GB to avoid OOM. https://cirrus-ci.org/guide/linux/#linux-containers
ccache_cache:
folder: "/tmp/ccache_dir"
depends_built_cache:
folder: "depends/built"
ci_script:
- ./ci/test_run_all.sh

depends_sdk_cache_template: &DEPENDS_SDK_CACHE_TEMPLATE
depends_sdk_cache:
folder: "depends/sdk-sources"

compute_credits_template: &CREDITS_TEMPLATE
# https://cirrus-ci.org/pricing/#compute-credits
# Only use credits for pull requests to the main repo
use_compute_credits: $CIRRUS_REPO_FULL_NAME == 'digibyte/digibyte' && $CIRRUS_PR != ""

#task:
# name: "Windows"
# windows_container:
# image: cirrusci/windowsservercore:2019
# env:
# CIRRUS_SHELL: powershell
# PATH: 'C:\Python37;C:\Python37\Scripts;%PATH%'
# PYTHONUTF8: 1
# QT_DOWNLOAD_URL: 'https://github.com/sipsorcery/qt_win_binary/releases/download/v1.6/Qt5.9.8_x64_static_vs2019.zip'
# QT_DOWNLOAD_HASH: '9a8c6eb20967873785057fdcd329a657c7f922b0af08c5fde105cc597dd37e21'
# QT_LOCAL_PATH: 'C:\Qt5.9.8_x64_static_vs2019'
# VCPKG_INSTALL_PATH: 'C:\tools\vcpkg\installed'
# VCPKG_COMMIT_ID: 'ed0df8ecc4ed7e755ea03e18aaf285fd9b4b4a74'
# install_script:
# - choco install python --version=3.7.7 -y

task:
name: 'lint [bionic]'
<< : *BASE_TEMPLATE
container:
image: ubuntu:bionic # For python 3.6, oldest supported version according to doc/dependencies.md
cpu: 1
memory: 1G
# For faster CI feedback, immediately schedule the linters
<< : *CREDITS_TEMPLATE
lint_script:
- ./ci/lint_run_all.sh
env:
<< : *CIRRUS_EPHEMERAL_WORKER_TEMPLATE_ENV

task:
name: 'ARM [unit tests, no functional tests] [buster]'
<< : *GLOBAL_TASK_TEMPLATE
container:
image: debian:buster
env:
<< : *CIRRUS_EPHEMERAL_WORKER_TEMPLATE_ENV
FILE_ENV: "./ci/test/00_setup_env_arm.sh"

task:
name: 'Win64 [unit tests, no gui tests, no boost::process, no functional tests] [focal]'
<< : *GLOBAL_TASK_TEMPLATE
container:
image: ubuntu:focal
env:
<< : *CIRRUS_EPHEMERAL_WORKER_TEMPLATE_ENV
FILE_ENV: "./ci/test/00_setup_env_win64.sh"

task:
name: '32-bit + dash [gui] [CentOS 8]'
<< : *GLOBAL_TASK_TEMPLATE
container:
image: centos:8
env:
<< : *CIRRUS_EPHEMERAL_WORKER_TEMPLATE_ENV
PACKAGE_MANAGER_INSTALL: "yum install -y"
FILE_ENV: "./ci/test/00_setup_env_i686_centos.sh"

task:
name: '[previous releases, uses qt5 dev package and some depends packages, DEBUG] [unsigned char] [bionic]'
previous_releases_cache:
folder: "releases"
<< : *GLOBAL_TASK_TEMPLATE
<< : *PERSISTENT_WORKER_TEMPLATE
env:
<< : *PERSISTENT_WORKER_TEMPLATE_ENV
FILE_ENV: "./ci/test/00_setup_env_native_qt5.sh"

task:
name: '[depends, sanitizers: thread (TSan), no gui] [jammy]'
<< : *GLOBAL_TASK_TEMPLATE
container:
image: ubuntu:jammy
cpu: 6 # Increase CPU and Memory to avoid timeout
memory: 24G
env:
<< : *CIRRUS_EPHEMERAL_WORKER_TEMPLATE_ENV
MAKEJOBS: "-j8"
FILE_ENV: "./ci/test/00_setup_env_native_tsan.sh"

task:
name: '[depends, sanitizers: memory (MSan)] [focal]'
<< : *GLOBAL_TASK_TEMPLATE
container:
image: ubuntu:focal
env:
<< : *CIRRUS_EPHEMERAL_WORKER_TEMPLATE_ENV
FILE_ENV: "./ci/test/00_setup_env_native_msan.sh"

task:
name: '[no depends, sanitizers: address/leak (ASan + LSan) + undefined (UBSan) + integer] [jammy]'
<< : *GLOBAL_TASK_TEMPLATE
container:
image: ubuntu:jammy
env:
<< : *CIRRUS_EPHEMERAL_WORKER_TEMPLATE_ENV
FILE_ENV: "./ci/test/00_setup_env_native_asan.sh"

task:
name: '[no depends, sanitizers: fuzzer,address,undefined,integer] [focal]'
<< : *GLOBAL_TASK_TEMPLATE
container:
image: ubuntu:focal
cpu: 4 # Increase CPU and memory to avoid timeout
memory: 16G
env:
<< : *CIRRUS_EPHEMERAL_WORKER_TEMPLATE_ENV
MAKEJOBS: "-j8"
FILE_ENV: "./ci/test/00_setup_env_native_fuzz.sh"

task:
name: '[multiprocess, DEBUG] [focal]'
<< : *GLOBAL_TASK_TEMPLATE
container:
image: ubuntu:focal
cpu: 4
memory: 16G # The default memory is sometimes just a bit too small, so double everything
env:
<< : *CIRRUS_EPHEMERAL_WORKER_TEMPLATE_ENV
MAKEJOBS: "-j8"
FILE_ENV: "./ci/test/00_setup_env_native_multiprocess.sh"

task:
name: '[no wallet] [bionic]'
<< : *GLOBAL_TASK_TEMPLATE
container:
image: ubuntu:bionic
env:
<< : *CIRRUS_EPHEMERAL_WORKER_TEMPLATE_ENV
FILE_ENV: "./ci/test/00_setup_env_native_nowallet.sh"

task:
name: 'macOS 10.15 [gui, no tests] [focal]'
<< : *BASE_TEMPLATE
macos_sdk_cache:
folder: "depends/SDKs/$MACOS_SDK"
fingerprint_key: "$MACOS_SDK"
<< : *MAIN_TEMPLATE
container:
image: ubuntu:focal
env:
MACOS_SDK: "Xcode-12.2-12B45b-extracted-SDK-with-libcxx-headers"
<< : *CIRRUS_EPHEMERAL_WORKER_TEMPLATE_ENV
FILE_ENV: "./ci/test/00_setup_env_mac.sh"

task:
name: 'macOS 12 native [gui, system sqlite only] [no depends]'
brew_install_script:
- brew install boost libevent qt@5 miniupnpc libnatpmp ccache zeromq qrencode libtool automake gnu-getopt
<< : *GLOBAL_TASK_TEMPLATE
osx_instance:
# Use latest image, but hardcode version to avoid silent upgrades (and breaks)
image: monterey-xcode-13.2 # https://cirrus-ci.org/guide/macOS
env:
<< : *CIRRUS_EPHEMERAL_WORKER_TEMPLATE_ENV
CI_USE_APT_INSTALL: "no"
PACKAGE_MANAGER_INSTALL: "echo" # Nothing to do
FILE_ENV: "./ci/test/00_setup_env_mac_host.sh"

task:
name: 'ARM64 Android APK [focal]'
<< : *DEPENDS_SDK_CACHE_TEMPLATE
depends_sources_cache:
folder: "depends/sources"
<< : *GLOBAL_TASK_TEMPLATE
container:
image: ubuntu:focal
env:
<< : *CIRRUS_EPHEMERAL_WORKER_TEMPLATE_ENV
FILE_ENV: "./ci/test/00_setup_env_android.sh"
26 changes: 26 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# This is the top-most EditorConfig file.
root = true

# For all files.
[*]
charset = utf-8
end_of_line = lf
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true

# Source code files
[*.{h,cpp,py,sh}]
indent_size = 4

# .cirrus.yml, .appveyor.yml, .fuzzbuzz.yml, etc.
[*.yml]
indent_size = 2

# Makefiles
[{*.am,Makefile.*.include}]
indent_style = tab

# Autoconf scripts
[configure.ac]
indent_size = 2
10 changes: 8 additions & 2 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,13 @@

General digibyte questions and/or support requests are best directed to the DigiByte StackExchange at https://digibyte.stackexchange.com.

For reporting security issues, please read instructions at https://digibytecore.org/en/contact/.
For reporting security issues, please read instructions at https://digibyte.org/en/contact/.

If the node is "stuck" during sync or giving "block checksum mismatch" errors, please ensure your hardware is stable by running memtest and observe CPU temperature with a load-test tool such as linpack before creating an issue! -->
If the node is "stuck" during sync or giving "block checksum mismatch" errors, please ensure your hardware is stable by running memtest and observe CPU temperature with a load-test tool such as linpack before creating an issue!

Any report, issue or feature request related to the GUI should be reported at
https://github.com/digibyte-core/gui/issues/
-->

<!-- Describe the issue -->
<!--- What behavior did you expect? -->
Expand All @@ -17,5 +21,7 @@ If the node is "stuck" during sync or giving "block checksum mismatch" errors, p

<!-- What type of machine are you observing the error on (OS/CPU and disk type)? -->

<!-- GUI-related issue? What is your operating system and its version? If Linux, what is your desktop environment and graphical shell? -->

<!-- Any extra information that might be useful in the debugging process. -->
<!--- This is normally the contents of a `debug.log` or `config.log` file. Raw text or a link to a pastebin type site are preferred. -->
41 changes: 41 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
---
name: Bug report
about: Create a report to help us improve (use this for suspected bugs only, if not sure, open a regular issue below)
title: ''
labels: Bug
assignees: ''

---

<!-- This issue tracker is only for technical issues related to DigiByte Core.

General digibyte questions and/or support requests are best directed to the DigiByte StackExchange at https://digibyte.stackexchange.com.

For reporting security issues, please read instructions at https://digibyte.org/en/contact/.

If the node is "stuck" during sync or giving "block checksum mismatch" errors, please ensure your hardware is stable by running memtest and observe CPU temperature with a load-test tool such as linpack before creating an issue! -->

<!-- Describe the issue -->

**Expected behavior**

<!--- What behavior did you expect? -->

**Actual behavior**

<!--- What was the actual behavior (provide screenshots if the issue is GUI-related)? -->

**To reproduce**

<!--- How reliably can you reproduce the issue, what are the steps to do so? -->

**System information**

<!-- What version of DigiByte Core are you using, where did you get it (website, self-compiled, etc)? -->

<!-- What type of machine are you observing the error on (OS/CPU and disk type)? -->

<!-- GUI-related issue? What is your operating system and its version? If Linux, what is your desktop environment and graphical shell? -->

<!-- Any extra information that might be useful in the debugging process. -->
<!--- This is normally the contents of a `debug.log` or `config.log` file. Raw text or a link to a pastebin type site are preferred. -->
Loading
Loading