Skip to content

Sync with the main repo #91

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

Merged
merged 493 commits into from
Jan 5, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
493 commits
Select commit Hold shift + click to select a range
aaaa34e
doc: Add missing optional to getblockfrompeer
Dec 8, 2021
fa9aaf8
scripted-diff: Use named args in RPC docs
Dec 8, 2021
577bd51
Merge bitcoin/bitcoin#23702: doc: Add missing optional to getblockfro…
Dec 8, 2021
fa77f95
fuzz: Fix RPC internal bug detection
Dec 8, 2021
eb9a1a2
psbt: Make sighash_type std::optional<int>
achow101 Nov 15, 2021
d399266
psbt: Actually use SIGHASH_DEFAULT
achow101 Jul 21, 2021
c0405ee
rpc: Document that DEFAULT is for Taproot, ALL for everything else
achow101 Nov 19, 2021
926fc2a
Merge bitcoin/bitcoin#23707: fuzz: Fix RPC internal bug detection
Dec 8, 2021
b57bf25
test: interface_bitcoin_cli.py: check specified wallet type availability
theStack Dec 8, 2021
f727d81
Merge bitcoin/bitcoin#23712: test: interface_bitcoin_cli.py: check sp…
Dec 8, 2021
faa0833
doc: Normalize RPC description whitespace
Dec 8, 2021
84bc35d
test: feature_rbf.py: check specified wallet type availability
theStack Dec 8, 2021
ad3e9e1
Add pure Python RIPEMD-160
sipa Dec 8, 2021
5b559dc
Swap out hashlib.ripemd160 for own implementation
sipa Dec 8, 2021
c4ae714
Merge bitcoin/bitcoin#23714: doc: Normalize RPC description whitespace
fanquake Dec 9, 2021
1b76b18
Merge bitcoin/bitcoin#23585: scripted-diff: Drop Darwin version for b…
fanquake Dec 9, 2021
68ca867
Merge bitcoin/bitcoin#23716: test: replace hashlib.ripemd160 with an …
Dec 9, 2021
529ed33
Merge bitcoin/bitcoin#23715: test: feature_rbf.py: check specified wa…
Dec 9, 2021
7908772
Merge bitcoin/bitcoin#23703: scripted-diff: Use named args in RPC docs
fanquake Dec 9, 2021
5493e92
Check descriptors returned by external signers
sstone Nov 29, 2021
7ce8d74
Merge bitcoin/bitcoin#23346: util, refactor: Improve headers for bitc…
Dec 9, 2021
ae017b8
Merge bitcoin/bitcoin#23495: build: Bump Fontconfig version up to 2.12.6
fanquake Dec 9, 2021
7629efc
Merge bitcoin/bitcoin#23603: build: Fix x86_64 <-> arm64 cross-compil…
fanquake Dec 9, 2021
fa1b63c
test: Replace hashlib.new with named constructor
Dec 9, 2021
aab5e48
Merge bitcoin/bitcoin#23658: contrib: add check for wget command in i…
laanwj Dec 9, 2021
09e60df
Merge bitcoin/bitcoin#23723: test: Replace hashlib.new with named con…
Dec 9, 2021
50b044a
test: fix test feature_coinstatsindex.py for descriptor wallets
theStack Dec 9, 2021
61fb410
test: add feature_coinstatsindex.py --descriptors to test_runner.py
theStack Dec 9, 2021
c840ab0
Merge bitcoin/bitcoin#22019: wallet: Introduce SelectionResult for en…
laanwj Dec 9, 2021
2f26d8e
Merge bitcoin/bitcoin#23725: test: fix `feature_coinstatsindex.py --d…
Dec 9, 2021
efde111
Use the imperative mood in example subject line
tcharding Dec 10, 2021
09ad512
Merge bitcoin/bitcoin#23628: Check descriptors returned by external s…
fanquake Dec 10, 2021
ef77549
build: Include native_X.mk before X.mk
hebasto Jul 26, 2021
6cd1e0f
Merge bitcoin/bitcoin#23728: Use the imperative mood in example subje…
Dec 10, 2021
d5724b8
Merge bitcoin/bitcoin#23682: ci: Make macOS native task sqlite only
Dec 10, 2021
9f7661c
Merge bitcoin/bitcoin#19499: p2p: Make timeout mockable and type safe…
Dec 10, 2021
011d6e4
Merge bitcoin/bitcoin#22514: psbt: Actually use SIGHASH_DEFAULT for P…
Dec 10, 2021
65b49f6
Merge bitcoin/bitcoin#23673: build: Include native_X.mk before X.mk
fanquake Dec 10, 2021
fa72dd3
fuzz: Move ISO8601 to one place
Dec 10, 2021
3235847
Types are compact size uints
achow101 Oct 2, 2019
c3eb416
Implement PSBT versions
achow101 Oct 2, 2019
df84fa9
Add GetVersion helper to PSBT
achow101 Jan 4, 2021
10ba0b5
Output psbt version in decodepsbt
achow101 Jan 25, 2021
aebe758
Implement PSBT proprietary type
achow101 Oct 2, 2019
a4cf810
Output proprietary type info in decodepsbt
achow101 Oct 2, 2019
94065cc
Test for proprietary field
achow101 Oct 2, 2019
5fdaf6a
moveonly: Move (Un)Serialize(To/From)Vector, (De)SerializeHDKeypaths …
achow101 Jul 25, 2019
a69332f
Store version bytes and be able to serialize them in CExtPubKey
achow101 Jul 25, 2019
d3dbb16
Separate individual HD Keypath serialization into separate functions
achow101 Jul 25, 2019
c5c63b8
Implement operator< for KeyOriginInfo and CExtPubKey
achow101 Jul 25, 2019
9038485
Implement serializations for PSBT_GLOBAL_XPUB
achow101 Jul 25, 2019
35670df
Add global_xpubs to decodepsbt
achow101 Jul 25, 2019
d8043dd
Add global xpub test vectors from BIP
achow101 Jul 25, 2019
8152117
Merge global xpubs in joinpsbts and combinepsbts
achow101 Jul 31, 2019
a063647
Merge bitcoin/bitcoin#23280: init: Coalesce Chainstate loading sequen…
Dec 10, 2021
41b9f7d
test: Use byte unit 'M' for -maxuploadtarget functional test
dougEfresh Dec 2, 2021
2f97c11
doc: Remove TODO 'exclude peers with download permission'
dougEfresh Sep 29, 2021
271252c
validation, log: extract FlushSnapshotToDisk() function
jonatack Dec 10, 2021
8e37fa8
validation, log: improve logging in FlushSnapshotToDisk()
jonatack Dec 10, 2021
50c502f
Merge bitcoin/bitcoin#17034: [BIP 174] PSBT version, proprietary, and…
laanwj Dec 10, 2021
0bfb920
test: fix test failures in test/functional/p2p_timeouts.py
jonatack Dec 11, 2021
65ef932
[fuzz] Add D. J. Bernstein's implementation of ChaCha20
stratospher Aug 7, 2021
4d0ac72
[fuzz] Add fuzzing harness to compare both implementations of ChaCha20
stratospher Aug 7, 2021
66a20a5
build, qt: Drop support for `i686-linux-android` host
hebasto Dec 4, 2021
7d746bd
Merge bitcoin/bitcoin#23733: fuzz: Move ISO8601 to one place
Dec 11, 2021
faea4c9
Merge bitcoin/bitcoin#23128: doc: Remove TODO 'exclude peers with dow…
Dec 11, 2021
90deb9f
Merge bitcoin/bitcoin#23740: test: fix test failures in test/function…
Dec 11, 2021
ac92ab6
Merge bitcoin/bitcoin#23113: Add warnings to createmultisig and addmu…
Dec 11, 2021
50209a4
validation, doc: remove TODO comment
jonatack Dec 11, 2021
4d6b532
psbt: implement hash preimages fields
darosior Dec 5, 2021
a9256dc
rpc: output all hash preimages in 'decodepsbt'
darosior Dec 5, 2021
a2a9231
rpc: Add warning to user about newkeypool command
meshcollider Dec 8, 2021
65efbba
rpcwallet: mention labels are deactivated for ranged descriptors
darosior Dec 12, 2021
e5a81e6
build, refactor: Re-use `qt_lib_suffix` variable
hebasto Dec 4, 2021
3b8f4e3
build, qt: Drop unused CROSS_COMPILE variable for Android builds
hebasto Dec 4, 2021
ef81c51
build: Use config_opts instead of passing a compiler flag directly
hebasto Dec 4, 2021
1ef2c03
Add multisig tutorial
lsilva01 Aug 28, 2021
83f8e6e
Merge bitcoin/bitcoin#23675: build: Post-pr23489 small cleanups
fanquake Dec 13, 2021
eb63b8f
Merge bitcoin/bitcoin#23718: PSBT: hash preimages fields
Dec 13, 2021
fad6761
Fix implicit integer sign changes in strencodings
Dec 13, 2021
fa5865a
Reduce size of strencodings decode tables
Dec 13, 2021
fad7ead
refactor: Use type-safe std::chrono in net
Dec 13, 2021
fa663a4
Use mockable time for peer connection time
Dec 13, 2021
fad9438
scripted-diff: Rename touched member variables
Dec 13, 2021
bf66e25
Merge bitcoin/bitcoin#23365: index: Fix backwards search for bestblock
Dec 13, 2021
e9440ae
build: use __SIZEOF_INT128__ for checking __int128 availability
fanquake Dec 13, 2021
fa26c55
wallet: Replace Assume with Assert where needed in coinselection
Dec 13, 2021
826e12b
test: call VerifyLoadedChainstate during ChainTestingSetup
jamesob Dec 3, 2021
767c012
Merge bitcoin/bitcoin#23738: validation, log: improve logging of Chai…
Dec 13, 2021
fa24a3d
rpc: Quote user supplied strings in error messages
Dec 13, 2021
c8fac37
Merge bitcoin/bitcoin#23648: test: Use byte unit 'M' for -maxuploadt…
Dec 13, 2021
4279674
Merge bitcoin/bitcoin#23761: build: use __SIZEOF_INT128__ for checkin…
Dec 13, 2021
5dd28e5
Merge bitcoin/bitcoin#23755: rpc: Quote user supplied strings in erro…
Dec 13, 2021
6fc5c77
build, qt: use static QAndroidPlatformIntegrationPlugin
icota Dec 12, 2021
27f353d
build, android: Fix Android GUI not loading on Qt 5.15
icota Dec 12, 2021
d0c6e61
validation: don't modify genesis during snapshot load
jamesob Oct 28, 2021
0fd599a
validation: have LoadBlockIndex account for snapshot use
jamesob Oct 28, 2021
2283b9c
test: add tests for LoadBlockIndex when using multiple chainstates
jamesob Nov 10, 2021
ab879d9
Merge bitcoin/bitcoin#23762: wallet: Replace Assume with Assert where…
fanquake Dec 14, 2021
eca159c
refactor: remove unneeded calls to strprintf()
fanquake Dec 14, 2021
87ce2d6
Merge bitcoin/bitcoin#22822: doc: Add multisig tutorial
Dec 14, 2021
6c04b50
Merge bitcoin/bitcoin#23471: doc: Improve ZMQ documentation
Dec 14, 2021
aaaceb7
Merge bitcoin/bitcoin#23766: refactor: remove unneeded calls to strpr…
Dec 14, 2021
fada66f
Disallow copies of CChain
Dec 14, 2021
faf2614
style: Use 4 spaces for indendation, not 5
Dec 14, 2021
498fe4b
Merge bitcoin/bitcoin#23575: fuzz: Rework FillNode
fanquake Dec 14, 2021
207f1c8
refactor: make AddrMan::Good return bool
josibake Dec 10, 2021
f961c47
refactor: check Good() in tried_collisions test
josibake Dec 10, 2021
caac999
refactor: remove dependence on AddrManTest
josibake Dec 10, 2021
9635760
Merge bitcoin/bitcoin#22777: net processing: don't request tx relay o…
Dec 14, 2021
fa1dc9b
p2p: Always serialize local timestamp for version msg
Dec 7, 2021
efa115a
tests: Add missing assert_equal import to p2p_add_connections.py
achow101 Dec 14, 2021
9015d11
Merge bitcoin/bitcoin#23774: tests: Add missing assert_equal import t…
Dec 14, 2021
faa6c3d
net: Drop only invalid entries when reading banlist.json
Jun 28, 2021
71d3338
qt: prevent negative values of progressPerHour
HiLivin Dec 13, 2021
4807f73
refactor: Implement restorewallet() logic in the wallet section
w0xlt Dec 14, 2021
40fdb9e
Merge bitcoin/bitcoin#23713: refactor, test: refactor addrman_tried_c…
Dec 15, 2021
7006496
Merge bitcoin/bitcoin#23756: refactor: Fix implicit integer sign chan…
Dec 15, 2021
e4a8d56
doc: add explanations for assert in index and magic numbers in test
mzumsande Dec 14, 2021
b67115d
Merge bitcoin/bitcoin#23174: validation: have LoadBlockIndex account …
Dec 15, 2021
965ffe2
Merge bitcoin/bitcoin#23757: [build] Android: fix GUI not loading on …
fanquake Dec 15, 2021
2d0bdb2
Merge bitcoin/bitcoin#22362: Drop only invalid entries when reading b…
laanwj Dec 15, 2021
60b5795
Merge bitcoin/bitcoin#23758: net: Use type-safe mockable time for pee…
Dec 15, 2021
507c009
test: Fix "echo" subtest in the system_tests for Windows
hebasto Dec 15, 2021
0aad33d
test: Fix "false" subtest in system_tests for Windows
hebasto Dec 15, 2021
fb1b059
test: Fix "non-zero exit code" subtest in system_tests for Windows
hebasto Dec 15, 2021
edd0313
test: Improve "invalid_command" subtest in system_tests for Windows
hebasto Dec 15, 2021
8bdd924
refactor: addrman_selecttriedcollisions test
josibake Dec 14, 2021
e281fcc
refactor: addrman_noevict test
josibake Dec 14, 2021
5a64dc0
refactor: addrman_evictionworks test
josibake Dec 14, 2021
bf4f817
refactor: addrman_select test
josibake Dec 14, 2021
71115a5
test: include two more interruptions points
seaona Dec 15, 2021
b8cc754
Merge bitcoin-core/gui#508: Prevent negative values of progressPerHour
hebasto Dec 15, 2021
86dbc4d
Squashed 'src/secp256k1/' changes from be8d9c262f..0559fc6e41
sipa Dec 15, 2021
dff0596
Update secp256k1 subtree to latest upstream master
sipa Dec 15, 2021
a1f76cd
Remove --disable-openssl-tests for libsecp256k1 configure
sipa Oct 28, 2021
314195c
Remove unnecessary cast in CKey::SignSchnorr
sipa Oct 28, 2021
c09b41d
Merge bitcoin/bitcoin#23769: Disallow copies of CChain
Dec 15, 2021
618f4d2
test: re-organized array according to order of logs and included 2 mo…
seaona Dec 15, 2021
fa3d62c
Move FindForkInGlobalIndex from BlockManager to CChainState
Nov 23, 2021
fa47b5c
Move AcceptBlockHeader to ChainstateManager
Nov 23, 2021
facd213
Move m_failed_blocks to ChainstateManager
Nov 23, 2021
fab6d6b
Move pindexBestInvalid to ChainstateManager
Nov 23, 2021
216f4ca
Merge bitcoin/bitcoin#22674: validation: mempool validation and submi…
laanwj Dec 15, 2021
fee16b1
Merge bitcoin/bitcoin#23744: build, qt: Drop support for i686-linux-a…
laanwj Dec 15, 2021
abbb7ec
refactor: Move restorewallet() RPC logic to the wallet section
w0xlt Dec 14, 2021
62fa61f
refactor: remove the wallet folder if the restore fails
w0xlt Dec 14, 2021
98c362a
Merge bitcoin/bitcoin#23782: test: include two more interruptions points
Dec 16, 2021
a306429
Merge bitcoin/bitcoin#23721: wallet, refactor: Move restorewallet() l…
Dec 16, 2021
ce463cf
Merge bitcoin/bitcoin#23750: rpcwallet: mention labels are disabled f…
Dec 16, 2021
df6e961
Merge bitcoin/bitcoin#23777: doc: follow-ups from #23365 (index backw…
Dec 16, 2021
aeeccd9
test: Fix intermittent issue in p2p_addr_relay.py
mzumsande Dec 8, 2021
261dddb
test: Combine addr generation helper functions
mzumsande Dec 8, 2021
6b212cb
Merge bitcoin/bitcoin#23720: test: Refactor addr_relay.py addr genera…
Dec 16, 2021
8c0bd87
Merge bitcoin/bitcoin#23785: refactor: Move stuff to ChainstateManager
Dec 16, 2021
140a49c
test: check that pruneblockchain RPC fails for future block or timestamp
theStack Dec 16, 2021
919ae8b
[doc] current rbf policy
glozow Dec 8, 2021
1fd49eb
[doc] clarify RBF difference from BIP125
glozow Dec 8, 2021
82858ba
[doc] CPFP carve out and single-conflict RBF exemption
glozow Dec 8, 2021
33b5112
contrib: add achow101 to trusted keys
achow101 Dec 16, 2021
fada6c6
wallet: Strictly match tx change type to improve privacy
Dec 9, 2021
4ad5904
Merge bitcoin/bitcoin#22704: fuzz: Differential fuzzing to compare Bi…
laanwj Dec 17, 2021
fa6a548
ci: Disable s390x gui tests for now
Dec 17, 2021
8f79831
Refactor the chacha20 differential fuzz test
stratospher Dec 17, 2021
784a21d
Merge bitcoin/bitcoin#22283: build: Replace $(AT) with .SILENT
laanwj Dec 17, 2021
14ba286
Merge bitcoin/bitcoin#23695: p2p: Always serialize local timestamp fo…
laanwj Dec 17, 2021
97b2fc0
Merge bitcoin/bitcoin#23803: ci: Disable s390x gui tests for now
fanquake Dec 18, 2021
feee308
scripts: match on exe type over str in security-check.py
fanquake Dec 18, 2021
d1711a4
scripts: match on exe type over str in symbol-check.py
fanquake Dec 18, 2021
c06cda3
Merge bitcoin/bitcoin#23383: Update libsecp256k1 subtree to current m…
fanquake Dec 18, 2021
98a2ddc
Merge bitcoin/bitcoin#23806: fuzz: follow up for #22704
Dec 18, 2021
0a1b6fa
test: fix intermittent timeouts in p2p_timeouts.py
mzumsande Dec 18, 2021
836d027
ci: Bump the macOS image to the latest Monterey
hebasto Dec 18, 2021
34fd25e
ci: Use system sqlite in native macOS task
hebasto Dec 18, 2021
1220af5
Merge bitcoin/bitcoin#23781: test: Fix `system_tests/run_command` on …
laanwj Dec 18, 2021
cb27d60
Merge bitcoin/bitcoin#23814: ci: Bump the macOS image to the latest M…
Dec 18, 2021
c006ab2
Merge bitcoin/bitcoin#23219: p2p, refactor: tidy up LookupSubNet()
laanwj Dec 18, 2021
cfeb194
ci: Use Cirrus "greedy" flag to use idle CPU time when available
luke-jr Dec 16, 2021
d05be15
Merge bitcoin/bitcoin#23811: scripts: match on `EXE_FORMATS` rather t…
fanquake Dec 19, 2021
92082ea
Change time variable type to std::chrono::seconds in src/net_processi…
shaavan Dec 17, 2021
8eeb4e9
Merge bitcoin/bitcoin#23798: contrib: add achow101 to trusted keys
fanquake Dec 20, 2021
70d6a09
Merge bitcoin/bitcoin#17631: Expose block filters over REST
Dec 20, 2021
1c41fb9
Merge bitcoin/bitcoin#23812: test: fix intermittent failures in p2p_t…
Dec 20, 2021
d1dc6b8
Merge bitcoin/bitcoin#23780: refactor, test: update `addrman_tests.cp…
Dec 20, 2021
23afc5f
Merge bitcoin/bitcoin#23711: docs: RBF policy and mempool limit exemp…
Dec 20, 2021
3ec8f9f
Merge bitcoin/bitcoin#23801: Refactor: Change time variable type from…
Dec 20, 2021
20aea49
Merge bitcoin/bitcoin#23797: ci: Use Cirrus "greedy" flag to use idle…
Dec 20, 2021
9ac064d
Merge bitcoin/bitcoin#23796: test: check that pruneblockchain RPC fai…
Dec 20, 2021
3ac3805
Merge bitcoin/bitcoin#23789: wallet: Strictly match tx change type to…
achow101 Dec 20, 2021
887796a
Merge bitcoin/bitcoin#23341: RPC: Better safety with newkeypool comma…
achow101 Dec 20, 2021
56113da
wallet: add taprootEnabled() to interface
Sjors Oct 29, 2021
c9a77e2
gui: address type dropdown, add bech32m
Sjors Dec 8, 2021
63b5dfa
Merge bitcoin-core/gui#459: Address type dropdown, add Taproot (Recei…
Dec 22, 2021
ff5f6de
scripted-diff: Rename interfaces::WalletClient to interfaces::WalletL…
ryanofsky Dec 22, 2021
c27bba9
test: check for invalid listtransactions RPC parameters
theStack Dec 21, 2021
2da97b2
ci: use GCC 8 when building packages in native_qt5 CI
fanquake Dec 23, 2021
f5c678e
Merge bitcoin/bitcoin#23736: test: call VerifyLoadedChainstate during…
fanquake Dec 23, 2021
f7367b8
Merge bitcoin/bitcoin#23842: scripted-diff: Rename interfaces::Wallet…
Dec 23, 2021
7551ae8
Merge bitcoin/bitcoin#23845: ci: use GCC 8 when building packages in …
Dec 23, 2021
7b481f0
Fix Racy ParseOpCode function initialization
JeremyRubin Sep 3, 2021
dada92f
Merge bitcoin/bitcoin#22875: util: Fix Racy ParseOpCode function init…
Dec 24, 2021
f516100
Revert "qml: Demo ProgressIndicator control"
hebasto Dec 19, 2021
45fc3c5
Revert "doc: Drop unneeded runtime dependencies"
hebasto Dec 19, 2021
aff0519
Revert "qml: Show ConnectionOptions"
hebasto Dec 19, 2021
4f8d763
Revert "qml: Use ColumnLayout in application window"
hebasto Dec 19, 2021
671fa9a
Revert "qml: Drop import qualifier BitcoinCoreComponents"
hebasto Dec 19, 2021
4921665
Revert "qml: Set tab focus behavior"
hebasto Dec 19, 2021
2a0fc0e
Revert "ci: Prefix artifacts names with insecure_ as CI cannot be tru…
hebasto Dec 20, 2021
dd5032c
Revert "multiprocess: add new bitcoin-qt init implementation to qml-gui"
hebasto Dec 20, 2021
19e4520
Revert "qml: Drop erroneous `#include <QStringLiteral>`"
hebasto Dec 20, 2021
3aa2ee9
Revert "qml, build, doc: Allow import QtQuick.Layouts"
hebasto Dec 20, 2021
0ad3086
Revert "qml: Add qInstallMessageHandler"
hebasto Dec 20, 2021
29ae873
Revert "build, qt: Apply workaround for Qt build system bug for riscv64"
hebasto Dec 20, 2021
246bb23
Revert "build, qt: Add RISC-V detection"
hebasto Dec 20, 2021
421da00
Revert "build, qml: Add qtquickcontrols2 module"
hebasto Dec 20, 2021
fdeb39a
Revert "build, qml: Add qtdeclarative module"
hebasto Dec 20, 2021
3699786
Merge bitcoin/bitcoin#23835: test: check for invalid listtransactions…
Dec 24, 2021
a54240f
Revert "ci, qml: Add required Qt Quick dev packages"
hebasto Dec 24, 2021
9cd8d05
Revert "build: Add --with-qml configure option"
hebasto Dec 24, 2021
67d9f71
Revert "ci: Add artifacts instruction to macOS task"
hebasto Dec 24, 2021
5a0045e
Revert "Avoid applying of a patch with fuzz 1"
hebasto Dec 24, 2021
1fc2269
Revert "build, qml: Fix compiling with GCC 11"
hebasto Dec 24, 2021
2b13410
Revert "build: Disable QWidget-based GUI test binary for QML builds"
hebasto Dec 24, 2021
fea00df
Revert "qt: Move static QPA plugin imports into main.cpp"
hebasto Dec 24, 2021
7245bc7
Merge commit '369978686e156ad34df703f1e60bd90aeaa8f2d6'
hebasto Dec 24, 2021
5a50ac5
build: Add --with-qml configure option
hebasto Jun 13, 2021
bc17ead
qt: Move static QPA plugin imports into main.cpp
hebasto Aug 27, 2021
d3dc7ca
build, qml: Add qtdeclarative module
hebasto Aug 27, 2021
9a1f924
build, qml: Add qtquickcontrols2 module
hebasto Aug 27, 2021
29a34f8
build: Disable QWidget-based GUI test binary for QML builds
hebasto Aug 27, 2021
e850e51
build, qt: Apply workaround for Qt build system bug for riscv64
hebasto Aug 28, 2021
96dd04d
qml: Add qInstallMessageHandler
hebasto Oct 2, 2021
56c2ae3
qml, doc: Add import QtQuick.Layouts
hebasto Oct 3, 2021
651dd65
build, qml: Fix compiling with GCC 11
hebasto Oct 10, 2021
08cb175
qml: Drop erroneous `#include <QStringLiteral>`
hebasto Oct 10, 2021
6cb9fed
ci, qml: Add required Qt Quick dev packages
hebasto Oct 10, 2021
93799b1
qml: Set tab focus behavior
promag Oct 21, 2021
97e36b1
multiprocess: add new bitcoin-qt init implementation to qml-gui
jarolrod Oct 27, 2021
b331287
ci: Add artifacts instruction to macOS task
hebasto Oct 27, 2021
53c09eb
ci: Prefix artifacts names with insecure_ as CI cannot be trusted
hebasto Oct 28, 2021
5163f94
doc: Drop unneeded runtime dependencies
hebasto Oct 30, 2021
7ede84d
qml: Drop import qualifier BitcoinCoreComponents
promag Oct 21, 2021
6aa6d09
qml: Use ColumnLayout in application window
promag Oct 22, 2021
37e0569
qml: Show ConnectionOptions
promag Oct 22, 2021
3bfb4ac
qml: Demo ProgressIndicator control
promag Oct 22, 2021
e311e72
scripted-diff: Bump Qt Quick module versions
hebasto Dec 24, 2021
9670935
qml, doc: Update minimum required Qt version
hebasto Dec 24, 2021
743e9cf
Revert "ci: Run self-hosted ci"
hebasto Dec 24, 2021
ea4f68a
ci: Replace bionic with hirsute for system Qt 5.15.2
hebasto Dec 24, 2021
c8f4e03
qml, build: Update PE_ALLOWED_LIBRARIES for Qt 5.15.2
hebasto Dec 24, 2021
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
  •  
  •  
  •  
33 changes: 17 additions & 16 deletions .cirrus.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
env: # Global defaults
PACKAGE_MANAGER_INSTALL: "apt-get update && apt-get install -y"
MAKEJOBS: "-j4"
MAKEJOBS: "-j10"
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"
Expand Down Expand Up @@ -38,6 +38,7 @@ main_template: &MAIN_TEMPLATE
# 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
greedy: true
memory: 8G # Set to 8GB to avoid OOM. https://cirrus-ci.org/guide/linux/#linux-containers
ccache_cache:
folder: "/tmp/ccache_dir"
Expand Down Expand Up @@ -84,9 +85,9 @@ task:
CI_VCPKG_TAG: '2021.05.12'
VCPKG_DOWNLOADS: 'C:\Users\ContainerAdministrator\AppData\Local\vcpkg\downloads'
VCPKG_DEFAULT_BINARY_CACHE: 'C:\Users\ContainerAdministrator\AppData\Local\vcpkg\archives'
QT_DOWNLOAD_URL: 'https://download.qt.io/official_releases/qt/5.12/5.12.11/single/qt-everywhere-src-5.12.11.zip'
QT_LOCAL_PATH: 'C:\qt-everywhere-src-5.12.11.zip'
QT_SOURCE_DIR: 'C:\qt-everywhere-src-5.12.11'
QT_DOWNLOAD_URL: 'https://download.qt.io/official_releases/qt/5.15/5.15.2/single/qt-everywhere-src-5.15.2.zip'
QT_LOCAL_PATH: 'C:\qt-everywhere-src-5.15.2.zip'
QT_SOURCE_DIR: 'C:\qt-everywhere-src-5.15.2'
QTBASEDIR: 'C:\Qt_static'
x64_NATIVE_TOOLS: '"C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Auxiliary\Build\vcvars64.bat"'
IgnoreWarnIntDirInTempDetected: 'true'
Expand Down Expand Up @@ -115,7 +116,7 @@ task:
- cd %QT_SOURCE_DIR%
- mkdir build
- cd build
- ..\configure -release -silent -opensource -confirm-license -opengl desktop -no-shared -static -static-runtime -mp -qt-zlib -qt-pcre -qt-libpng -no-libjpeg -nomake examples -nomake tests -nomake tools -no-dbus -no-libudev -no-icu -no-gtk -no-opengles3 -no-angle -no-sql-sqlite -no-sql-odbc -no-sqlite -no-libudev -no-vulkan -skip qt3d -skip qtactiveqt -skip qtandroidextras -skip qtcanvas3d -skip qtcharts -skip qtconnectivity -skip qtdatavis3d -skip qtdeclarative -skip qtdoc -skip qtgamepad -skip qtgraphicaleffects -skip qtimageformats -skip qtlocation -skip qtmacextras -skip qtmultimedia -skip qtnetworkauth -skip qtpurchasing -skip qtquickcontrols -skip qtquickcontrols2 -skip qtscript -skip qtscxml -skip qtsensors -skip qtserialbus -skip qtserialport -skip qtspeech -skip qtvirtualkeyboard -skip qtwayland -skip qtwebchannel -skip qtwebengine -skip qtwebsockets -skip qtwebview -skip qtx11extras -skip qtxmlpatterns -no-openssl -no-feature-sql -no-feature-sqlmodel -prefix %QTBASEDIR%
- ..\configure -release -silent -opensource -confirm-license -opengl desktop -static -static-runtime -mp -qt-zlib -qt-pcre -qt-libpng -nomake examples -nomake tests -nomake tools -no-angle -no-dbus -no-gif -no-gtk -no-ico -no-icu -no-libjpeg -no-libudev -no-sql-sqlite -no-sql-odbc -no-sqlite -no-vulkan -skip qt3d -skip qtactiveqt -skip qtandroidextras -skip qtcharts -skip qtconnectivity -skip qtdatavis3d -skip qtdeclarative -skip doc -skip qtdoc -skip qtgamepad -skip qtgraphicaleffects -skip qtimageformats -skip qtlocation -skip qtlottie -skip qtmacextras -skip qtmultimedia -skip qtnetworkauth -skip qtpurchasing -skip qtquick3d -skip qtquickcontrols -skip qtquickcontrols2 -skip qtquicktimeline -skip qtremoteobjects -skip qtscript -skip qtscxml -skip qtsensors -skip qtserialbus -skip qtserialport -skip qtspeech -skip qtsvg -skip qtvirtualkeyboard -skip qtwayland -skip qtwebchannel -skip qtwebengine -skip qtwebglplugin -skip qtwebsockets -skip qtwebview -skip qtx11extras -skip qtxmlpatterns -no-openssl -no-feature-bearermanagement -no-feature-printdialog -no-feature-printer -no-feature-printpreviewdialog -no-feature-printpreviewwidget -no-feature-sql -no-feature-sqlmodel -no-feature-textbrowser -no-feature-textmarkdownwriter -no-feature-textodfwriter -no-feature-xml -prefix %QTBASEDIR%
- jom
- jom install
vcpkg_tools_cache:
Expand Down Expand Up @@ -199,13 +200,14 @@ task:
# 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]'
name: '[previous releases, uses qt5 dev package and some depends packages, DEBUG] [unsigned char] [hirsute]'
previous_releases_cache:
folder: "releases"
<< : *GLOBAL_TASK_TEMPLATE
<< : *PERSISTENT_WORKER_TEMPLATE
container:
image: ubuntu:hirsute
env:
<< : *PERSISTENT_WORKER_TEMPLATE_ENV
<< : *CIRRUS_EPHEMERAL_WORKER_TEMPLATE_ENV
FILE_ENV: "./ci/test/00_setup_env_native_qt5.sh"

task:
Expand All @@ -217,7 +219,6 @@ task:
memory: 24G
env:
<< : *CIRRUS_EPHEMERAL_WORKER_TEMPLATE_ENV
MAKEJOBS: "-j8"
FILE_ENV: "./ci/test/00_setup_env_native_tsan.sh"

task:
Expand All @@ -228,6 +229,7 @@ task:
env:
<< : *CIRRUS_EPHEMERAL_WORKER_TEMPLATE_ENV
FILE_ENV: "./ci/test/00_setup_env_native_msan.sh"
MAKEJOBS: "-j4" # Avoid excessive memory use due to MSan

task:
name: '[ASan + LSan + UBSan + integer, no depends] [jammy]'
Expand All @@ -237,6 +239,7 @@ task:
env:
<< : *CIRRUS_EPHEMERAL_WORKER_TEMPLATE_ENV
FILE_ENV: "./ci/test/00_setup_env_native_asan.sh"
MAKEJOBS: "-j4" # Avoid excessive memory use

task:
name: '[fuzzer,address,undefined,integer, no depends] [focal]'
Expand All @@ -248,7 +251,6 @@ task:
memory: 16G
env:
<< : *CIRRUS_EPHEMERAL_WORKER_TEMPLATE_ENV
MAKEJOBS: "-j8"
FILE_ENV: "./ci/test/00_setup_env_native_fuzz.sh"

task:
Expand All @@ -260,7 +262,6 @@ task:
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_i686_multiprocess.sh"

task:
Expand All @@ -287,20 +288,20 @@ task:
<< : *CIRRUS_EPHEMERAL_WORKER_TEMPLATE_ENV
FILE_ENV: "./ci/test/00_setup_env_mac.sh"
copy_artifacts_script:
- cp ci/scratch/build/bitcoin-x86_64-apple-darwin19/src/qt/bitcoin-qt insecure_mac_gui
- cp ci/scratch/build/bitcoin-x86_64-apple-darwin/src/qt/bitcoin-qt insecure_mac_gui
- tar -czf insecure_mac_gui.tar.gz insecure_mac_gui
insecure_mac_gui_artifacts:
path: "insecure_mac_gui.tar.gz"
type: "application/gzip"

task:
name: 'macOS 11 native [gui] [no depends]'
name: 'macOS 12 native [gui, system sqlite only] [no depends]'
brew_install_script:
- brew install boost libevent berkeley-db@4 qt@5 miniupnpc libnatpmp ccache zeromq qrencode sqlite libtool automake pkg-config gnu-getopt
- 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: big-sur-xcode-12.5 # https://cirrus-ci.org/guide/macOS
image: monterey-xcode-13.2 # https://cirrus-ci.org/guide/macOS
env:
<< : *CIRRUS_EPHEMERAL_WORKER_TEMPLATE_ENV
CI_USE_APT_INSTALL: "no"
Expand All @@ -312,7 +313,7 @@ task:
<< : *BASE_TEMPLATE
android_sdk_cache:
folder: "depends/SDKs/android"
fingerprint_key: "ANDROID_API_LEVEL=28 ANDROID_BUILD_TOOLS_VERSION=28.0.3 ANDROID_NDK_VERSION=22.1.7171670"
fingerprint_key: "ANDROID_API_LEVEL=28 ANDROID_BUILD_TOOLS_VERSION=28.0.3 ANDROID_NDK_VERSION=23.1.7779620"
depends_sources_cache:
folder: "depends/sources"
fingerprint_script: git rev-list -1 HEAD ./depends
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ own without warnings, errors, regressions, or test failures.

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
paragraph(s), unless the title alone is self-explanatory (like "Correct 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](https://chris.beams.io/posts/git-commit/).
Expand Down
29 changes: 22 additions & 7 deletions build-aux/m4/ax_pthread.m4
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,24 @@
# flags that are needed. (The user can also force certain compiler
# flags/libs to be tested by setting these environment variables.)
#
# Also sets PTHREAD_CC to any special C compiler that is needed for
# multi-threaded programs (defaults to the value of CC otherwise). (This
# is necessary on AIX to use the special cc_r compiler alias.)
# Also sets PTHREAD_CC and PTHREAD_CXX to any special C compiler that is
# needed for multi-threaded programs (defaults to the value of CC
# respectively CXX otherwise). (This is necessary on e.g. AIX to use the
# special cc_r/CC_r compiler alias.)
#
# NOTE: You are assumed to not only compile your program with these flags,
# but also to link with them as well. For example, you might link with
# $PTHREAD_CC $CFLAGS $PTHREAD_CFLAGS $LDFLAGS ... $PTHREAD_LIBS $LIBS
# $PTHREAD_CXX $CXXFLAGS $PTHREAD_CFLAGS $LDFLAGS ... $PTHREAD_LIBS $LIBS
#
# If you are only building threaded programs, you may wish to use these
# variables in your default LIBS, CFLAGS, and CC:
#
# LIBS="$PTHREAD_LIBS $LIBS"
# CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
# CXXFLAGS="$CXXFLAGS $PTHREAD_CFLAGS"
# CC="$PTHREAD_CC"
# CXX="$PTHREAD_CXX"
#
# In addition, if the PTHREAD_CREATE_JOINABLE thread-attribute constant
# has a nonstandard name, this macro defines PTHREAD_CREATE_JOINABLE to
Expand Down Expand Up @@ -83,7 +87,7 @@
# modified version of the Autoconf Macro, you may extend this special
# exception to the GPL to apply to your modified version as well.

#serial 27
#serial 31

AU_ALIAS([ACX_PTHREAD], [AX_PTHREAD])
AC_DEFUN([AX_PTHREAD], [
Expand All @@ -105,6 +109,7 @@ if test "x$PTHREAD_CFLAGS$PTHREAD_LIBS" != "x"; then
ax_pthread_save_CFLAGS="$CFLAGS"
ax_pthread_save_LIBS="$LIBS"
AS_IF([test "x$PTHREAD_CC" != "x"], [CC="$PTHREAD_CC"])
AS_IF([test "x$PTHREAD_CXX" != "x"], [CXX="$PTHREAD_CXX"])
CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
LIBS="$PTHREAD_LIBS $LIBS"
AC_MSG_CHECKING([for pthread_join using $CC $PTHREAD_CFLAGS $PTHREAD_LIBS])
Expand Down Expand Up @@ -386,7 +391,7 @@ if test "x$ax_pthread_clang" = "xyes"; then
# step
ax_pthread_save_ac_link="$ac_link"
ax_pthread_sed='s/conftest\.\$ac_ext/conftest.$ac_objext/g'
ax_pthread_link_step=`$as_echo "$ac_link" | sed "$ax_pthread_sed"`
ax_pthread_link_step=`AS_ECHO(["$ac_link"]) | sed "$ax_pthread_sed"`
ax_pthread_2step_ac_link="($ac_compile) && (echo ==== >&5) && ($ax_pthread_link_step)"
ax_pthread_save_CFLAGS="$CFLAGS"
for ax_pthread_try in '' -Qunused-arguments -Wno-unused-command-line-argument unknown; do
Expand Down Expand Up @@ -482,18 +487,28 @@ if test "x$ax_pthread_ok" = "xyes"; then
[#handle absolute path differently from PATH based program lookup
AS_CASE(["x$CC"],
[x/*],
[AS_IF([AS_EXECUTABLE_P([${CC}_r])],[PTHREAD_CC="${CC}_r"])],
[AC_CHECK_PROGS([PTHREAD_CC],[${CC}_r],[$CC])])])
[
AS_IF([AS_EXECUTABLE_P([${CC}_r])],[PTHREAD_CC="${CC}_r"])
AS_IF([test "x${CXX}" != "x"], [AS_IF([AS_EXECUTABLE_P([${CXX}_r])],[PTHREAD_CXX="${CXX}_r"])])
],
[
AC_CHECK_PROGS([PTHREAD_CC],[${CC}_r],[$CC])
AS_IF([test "x${CXX}" != "x"], [AC_CHECK_PROGS([PTHREAD_CXX],[${CXX}_r],[$CXX])])
]
)
])
;;
esac
fi
fi

test -n "$PTHREAD_CC" || PTHREAD_CC="$CC"
test -n "$PTHREAD_CXX" || PTHREAD_CXX="$CXX"

AC_SUBST([PTHREAD_LIBS])
AC_SUBST([PTHREAD_CFLAGS])
AC_SUBST([PTHREAD_CC])
AC_SUBST([PTHREAD_CXX])

# Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
if test "x$ax_pthread_ok" = "xyes"; then
Expand Down
18 changes: 9 additions & 9 deletions build-aux/m4/bitcoin_find_bdb48.m4
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ AC_DEFUN([BITCOIN_FIND_BDB48],[
AC_ARG_VAR([BDB_CFLAGS], [C compiler flags for BerkeleyDB, bypasses autodetection])
AC_ARG_VAR([BDB_LIBS], [Linker flags for BerkeleyDB, bypasses autodetection])

if test "x$use_bdb" = "xno"; then
if test "$use_bdb" = "no"; then
use_bdb=no
elif test "x$BDB_CFLAGS" = "x"; then
elif test "$BDB_CFLAGS" = ""; then
AC_MSG_CHECKING([for Berkeley DB C++ headers])
BDB_CPPFLAGS=
bdbpath=X
Expand All @@ -28,7 +28,7 @@ AC_DEFUN([BITCOIN_FIND_BDB48],[
#error "failed to find bdb 4.8+"
#endif
]])],[
if test "x$bdbpath" = "xX"; then
if test "$bdbpath" = "X"; then
bdbpath="${searchpath}"
fi
],[
Expand All @@ -45,13 +45,13 @@ AC_DEFUN([BITCOIN_FIND_BDB48],[
break
],[])
done
if test "x$bdbpath" = "xX"; then
if test "$bdbpath" = "X"; then
use_bdb=no
AC_MSG_RESULT([no])
AC_MSG_WARN([libdb_cxx headers missing])
AC_MSG_WARN(AC_PACKAGE_NAME[ requires this library for BDB (legacy) wallet support])
AC_MSG_WARN([Passing --without-bdb will suppress this warning])
elif test "x$bdb48path" = "xX"; then
elif test "$bdb48path" = "X"; then
BITCOIN_SUBDIR_TO_INCLUDE(BDB_CPPFLAGS,[${bdbpath}],db_cxx)
AC_ARG_WITH([incompatible-bdb],[AS_HELP_STRING([--with-incompatible-bdb], [allow using a bdb version other than 4.8])],[
AC_MSG_WARN([Found Berkeley DB other than 4.8])
Expand All @@ -74,23 +74,23 @@ AC_DEFUN([BITCOIN_FIND_BDB48],[
fi
AC_SUBST(BDB_CPPFLAGS)

if test "x$use_bdb" = "xno"; then
if test "$use_bdb" = "no"; then
use_bdb=no
elif test "x$BDB_LIBS" = "x"; then
elif test "$BDB_LIBS" = ""; then
# TODO: Ideally this could find the library version and make sure it matches the headers being used
for searchlib in db_cxx-4.8 db_cxx db4_cxx; do
AC_CHECK_LIB([$searchlib],[main],[
BDB_LIBS="-l${searchlib}"
break
])
done
if test "x$BDB_LIBS" = "x"; then
if test "$BDB_LIBS" = ""; then
AC_MSG_WARN([libdb_cxx headers missing])
AC_MSG_WARN(AC_PACKAGE_NAME[ requires this library for BDB (legacy) wallet support])
AC_MSG_WARN([Passing --without-bdb will suppress this warning])
fi
fi
if test "x$use_bdb" != "xno"; then
if test "$use_bdb" != "no"; then
AC_SUBST(BDB_LIBS)
AC_DEFINE([USE_BDB], [1], [Define if BDB support should be compiled in])
use_bdb=yes
Expand Down
Loading