Skip to content

Sync with the main repo #4

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 439 commits into from
Jul 6, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
439 commits
Select commit Hold shift + click to select a range
551933f
Merge bitcoin/bitcoin#22203: test: Use ConnmanTestMsg from test lib i…
fanquake Jun 11, 2021
ce8276b
Merge bitcoin/bitcoin#22190: Use latest signapple commit
fanquake Jun 11, 2021
6985038
Merge bitcoin/bitcoin#22118: test: check anchors.dat when node starts…
Jun 11, 2021
f66ecea
Merge bitcoin/bitcoin#22216: refactor: Make SetupServerArgs callable …
Jun 11, 2021
fa334b4
refactor: Pass block reference instead of pointer to PeerManagerImpl:…
Jun 11, 2021
1cde800
p2p, refactor: rm redundant erase_size calculation in SelectNodeToEvi…
jonatack Apr 10, 2021
e25ea54
Update msvc and appveyor builds to use Qt5.12.11 binaries.
sipsorcery Jun 11, 2021
d7f3b1a
Fix gui segfault caused by bitcoin/bitcoin#22216
ryanofsky Jun 11, 2021
a8c8dbc
Merge bitcoin-core/gui#361: Fix gui segfault caused by bitcoin/bitcoi…
hebasto Jun 11, 2021
a55904a
Merge bitcoin/bitcoin#21866: [Bundle 7/7] validation: Farewell, globa…
fanquake Jun 12, 2021
9795e8e
Merge bitcoin/bitcoin#22214: refactor: Rearrange fillPSBT arguments
fanquake Jun 12, 2021
1a369f0
Merge bitcoin/bitcoin#18722: addrman: improve performance by using mo…
fanquake Jun 12, 2021
96f828b
Merge bitcoin/bitcoin#22221: refactor: Pass block reference instead o…
fanquake Jun 12, 2021
2ad034a
doc: update release notes with removal of tor v2 support
jonatack Jun 6, 2021
4bff49b
Merge bitcoin/bitcoin#22172: doc: update tor.md, release notes with r…
laanwj Jun 12, 2021
6f3fbc0
Merge bitcoin-core/gui#333: refactor: Signal-slot connections cleanup
hebasto Jun 12, 2021
9edd713
build: Fix MSVC linker /SubSystem option for bitcoin-qt.exe
hebasto Jun 12, 2021
b0e5fbf
Merge bitcoin/bitcoin#22156: Allow tr() import only when Taproot is a…
laanwj Jun 12, 2021
dbb0ce9
Add TaprootSpendData data structure, equivalent to script map for P2[…
sipa Mar 3, 2021
e77a283
Use HandleMissingData also in CheckSchnorrSignature
sipa May 23, 2021
a91d532
Add CKey::SignSchnorr function for BIP 340/341 signing
sipa Feb 8, 2021
e841fb5
Add precomputed txdata support to MutableTransactionSignatureCreator
sipa Feb 18, 2021
ce93531
Permit full precomputation in PrecomputedTransactionData
sipa Feb 28, 2021
5d2e224
Don't nuke witness data when signing fails
sipa Feb 28, 2021
5cb6502
Construct and use PrecomputedTransactionData in SignTransaction
sipa Feb 28, 2021
fd3f689
Construct and use PrecomputedTransactionData in PSBT signing
sipa Mar 4, 2021
49487bc
Make GetInputUTXO safer: verify non-witness UTXO match
sipa Jun 7, 2021
a238012
Basic Taproot signing logic in script/sign.cpp
sipa Feb 28, 2021
c0f0c8e
tests: check spending of P2TR
sipa Feb 28, 2021
458a345
Add support for SIGHASH_DEFAULT in RPCs, and make it default
sipa Mar 4, 2021
02b5263
GUI: Restore keyboard shortcuts for context menu entries
luke-jr Jun 12, 2021
94e7cdd
GUI: Add keyboard shortcuts for other context menus
luke-jr Jun 12, 2021
9c1ec68
Merge bitcoin/bitcoin#22102: Remove `Warning:` from warning message p…
Jun 13, 2021
fa38947
refactor: Remove ::Params() global from inside CChainState member fun…
Apr 27, 2021
fa0d921
refactor: Remove chainparams arg from CChainState member functions
Apr 27, 2021
faf7623
fuzz: Call const member functions in addrman fuzz test only once
May 13, 2021
964d91b
Merge bitcoin/bitcoin#22130: test: refactor: dedup utility function c…
Jun 13, 2021
d75a1df
Merge bitcoin/bitcoin#21941: fuzz: Call const member functions in add…
Jun 13, 2021
519e76b
test: speed up and simplify peer_eviction_test
jonatack Apr 19, 2021
4a19f50
test: add ALL_NETWORKS to test utilities
jonatack May 17, 2021
ec590f1
p2p, refactor: improve constness in ProtectEvictionCandidatesByRatio()
jonatack Jun 10, 2021
7321e6f
p2p, refactor: rename vEvictionCandidates to eviction_candidates
jonatack Jun 10, 2021
4ee7aec
p2p: add m_network to NodeEvictionCandidate struct
jonatack Jun 10, 2021
38a81a8
p2p: add CompareNodeNetworkTime() comparator struct
jonatack May 17, 2021
3f8105c
test: remove combined onion/localhost eviction protection tests
jonatack Jun 2, 2021
ad2ab88
Merge bitcoin/bitcoin#22224: Update msvc and appveyor builds to use Q…
fanquake Jun 14, 2021
de5512e
Merge bitcoin/bitcoin#22230: build: Fix MSVC linker /SubSystem option…
fanquake Jun 14, 2021
e4c916a
Bugfix: GUI: Use a different shortcut for "1 d&ay" banning, due to co…
luke-jr Jun 14, 2021
1e15acf
p2p: make ProtectEvictionCandidatesByRatio() fully ratio-based
jonatack Apr 20, 2021
787d46b
p2p: update ProtectEvictionCandidatesByRatio() doxygen docs
jonatack Apr 20, 2021
9e889e8
p2p: remove unused CompareOnionTimeConnected()
jonatack Jun 11, 2021
310fab4
p2p: remove unused CompareLocalHostTimeConnected()
jonatack Jun 11, 2021
045cb40
p2p: remove unused m_is_onion member from NodeEvictionCandidate struct
jonatack Jun 11, 2021
70bbc62
test: add combined onion/localhost eviction protection coverage
jonatack Apr 22, 2021
ce02dd1
p2p: extend inbound eviction protection by network to I2P peers
jonatack Apr 10, 2021
7c2284e
test: add tests for inbound eviction protection of I2P peers
jonatack Apr 22, 2021
1b1088d
test: add combined I2P/onion/localhost eviction protection tests
jonatack Apr 22, 2021
5c4f0c4
Merge bitcoin/bitcoin#21261: p2p: update inbound eviction protection …
laanwj Jun 14, 2021
2da9554
test: Drop excessive locking in CAddrManTest::SimConnFail
hebasto May 23, 2021
efc6fac
refactor: Avoid recursive locking in CAddrMan::size
hebasto May 23, 2021
0670397
Make CAddrMan::Check private
hebasto May 23, 2021
f77d9c7
refactor: Fix CAddrMan::Check style
hebasto May 23, 2021
187b7d2
refactor: Avoid recursive locking in CAddrMan::Check
hebasto May 23, 2021
f79a664
refactor: Apply consistent pattern for CAddrMan::Check usage
hebasto May 23, 2021
b138973
refactor: Avoid recursive locking in CAddrMan::Clear
hebasto May 23, 2021
5ef1d0b
Add thread safety annotations to CAddrMan public functions
hebasto May 23, 2021
f5d1c7f
Add AssertLockHeld to CAddrMan private functions
hebasto May 23, 2021
ae98aec
refactor: Make CAddrMan::cs non-recursive
hebasto May 23, 2021
3a2c84a
Merge bitcoin/bitcoin#19238: refactor: Make CAddrMan::cs non-recursive
Jun 14, 2021
19e598b
devtools: Fix verneed section parsing in pixie
laanwj Jun 14, 2021
a33381a
devtools: Add xkb version to symbol-check
laanwj Jun 14, 2021
aab7fd0
Switch Appveyor CI to VS2019 stable image
sipsorcery Jun 14, 2021
e2c40a4
guix-attest: Error out if SHA256SUMS is unexpected
dongcarl Jun 14, 2021
3f68f02
Merge bitcoin-core/gui#362: Add keyboard shortcuts to context menus
hebasto Jun 14, 2021
eb63b1d
Merge bitcoin/bitcoin#22247: Switch Appveyor CI to VS2019 stable image
fanquake Jun 15, 2021
451b96f
test: kill process group to avoid dangling processes
S3RK Jun 14, 2021
754e802
test: check rejected future block later accepted
luke-jr Jan 5, 2020
8f7704d
build: improve detection of eBPF support
fanquake Jun 14, 2021
6bc1eca
Merge bitcoin/bitcoin#22144: Randomize message processing peer order
fanquake Jun 16, 2021
fc0eca3
fuzz: fix fuzz binary linking order
Sjors Jun 15, 2021
7d94530
refactor: clean up external_signer.h includes
Sjors May 13, 2021
5be90c9
build: enable external signer by default
Sjors Jun 16, 2020
4455145
refactor: reduce #ifdef ENABLE_EXTERNAL_SIGNER usage
Sjors May 13, 2021
d672404
refactor: make ExternalSigner NetworkArg() and m_chain private
Sjors Jun 15, 2021
2f5bdcb
gui: misc external signer fixes and translation hints
Sjors Jun 15, 2021
1111457
build: Disable deprecated-copy warning only when external warnings ar…
Jun 16, 2021
511a5af
Fixed inconsistencies between code and comments
sanket1729 Jun 16, 2020
5531119
Added new test for future blocks reacceptance
sanket1729 Jun 16, 2020
65c4a36
Merge bitcoin/bitcoin#22258: build: Disable deprecated-copy warning o…
fanquake Jun 17, 2021
7c561be
Merge bitcoin/bitcoin#21935: Enable external signer support by defaul…
fanquake Jun 17, 2021
d503026
Merge bitcoin/bitcoin#22182: guix: Overhaul how guix-{attest,verify} …
fanquake Jun 17, 2021
dd24567
Merge bitcoin/bitcoin#22120: test: p2p_invalid_block: Check that a bl…
Jun 17, 2021
fa483e9
fuzz: Speed up crypto fuzz target
Jun 17, 2021
faf1af5
fuzz: Add Temporary debug assert for oss-fuzz issue
Jun 17, 2021
6eafa81
Merge bitcoin/bitcoin#22267: fuzz: Speed up crypto fuzz target
Jun 17, 2021
922abe8
Merge bitcoin/bitcoin#22268: fuzz: Add temporary debug assert for oss…
Jun 17, 2021
615c1ad
refactor: wrap CCoinsViewCursor in unique_ptr
jamesob Jun 16, 2021
9550dff
fuzz: Assert roundtrip equality for `CPubKey`
theStack Jun 17, 2021
7b45c5e
Merge bitcoin/bitcoin#20516: Well-defined CAddress disk serialization…
laanwj Jun 17, 2021
8cb4307
Merge bitcoin/bitcoin#22271: fuzz: Assert roundtrip equality for `CPu…
Jun 17, 2021
5c2e2af
Merge bitcoin/bitcoin#21365: Basic Taproot signing support for descri…
meshcollider Jun 17, 2021
ad0c8f3
Merge bitcoin/bitcoin#22238: build: improve detection of eBPF support
fanquake Jun 18, 2021
da69d99
Merge bitcoin/bitcoin#21871: scripts: add checks for minimum required…
fanquake Jun 18, 2021
e8cd370
devtools: Integrate ARCH_MIN_GLIBC_VER table into MAX_VERSIONS in sym…
laanwj Jun 14, 2021
0844084
Merge bitcoin/bitcoin#22249: test: kill process group to avoid dangli…
Jun 18, 2021
da1e6d5
Merge bitcoin/bitcoin#14604: tests: Add test and refactor feature_blo…
Jun 18, 2021
0f47e01
Merge bitcoin/bitcoin#20923: signet miner followups
laanwj Jun 18, 2021
fa831e7
build_msvc: Add bitcoin-util.exe
Jun 17, 2021
fa30492
test: Add bitcoin-util tests
Jun 17, 2021
fa3c1ee
Remove unused includes from bitcoin-util
Jun 17, 2021
fa751a4
Remove unused OptionsCategory arg from AddCommand
Jun 17, 2021
fa08bc2
Remove gArgs from AppInitUtil
Jun 17, 2021
fa4017e
refactor: Pass grind args vector as const reference
Jun 17, 2021
0f8a5a4
move-only(ish): don't expose CCoinsViewDBCursor
jamesob Jun 18, 2021
7ad414f
doc: add comment about CCoinsViewDBCursor constructor
jamesob Jun 18, 2021
29e5dd1
consensus refactor: extract ComputeTapleafHash, ComputeTaprootMerkleRoot
sipa Jun 5, 2021
c7388e5
Report address as solvable based on inferred descriptor
sipa Jun 6, 2021
d637a9b
Taproot descriptor inference
sipa Jun 4, 2021
906d791
fuzz: add missing ECCVerifyHandle to base_encode_decode
apoelstra Jun 18, 2021
e172ea8
Merge bitcoin/bitcoin#22210: test: Use MiniWallet in test_no_inherite…
Jun 19, 2021
965e937
Merge bitcoin/bitcoin#22279: fuzz: add missing ECCVerifyHandle to bas…
Jun 19, 2021
a305a68
Merge bitcoin/bitcoin#22244: devtools: Correctly extract symbol versi…
laanwj Jun 21, 2021
f6a25be
Merge bitcoin/bitcoin#22147: p2p: Protect last outbound HB compact bl…
laanwj Jun 21, 2021
6a67366
Merge bitcoin/bitcoin#19033: http: Release work queue after event bas…
laanwj Jun 21, 2021
2ce7b47
test: introduce `tx_from_hex` helper for tx deserialization
theStack Jun 15, 2021
a79396f
test: remove `ToHex` helper, use .serialize().hex() instead
theStack Jun 15, 2021
1914054
scripted-diff: test: rename `FromHex` to `from_hex`
theStack Jun 20, 2021
bdb8b9a
test: doc: improve doc for `from_hex` helper (mention `to_hex` altern…
theStack Jun 17, 2021
d197977
banman: save the banlist in a JSON format on disk
vasild Jan 14, 2021
dd4e957
test: ensure banlist can be read from disk after restart
vasild Jan 11, 2021
24b10eb
doc: fix grammar in doc/files.md
vasild Apr 26, 2021
bb719a0
style: remove () from assert in rpc_setban.py
vasild Apr 26, 2021
6556da7
Merge bitcoin/bitcoin#21056: rpc: Add a `-rpcwaittimeout` parameter t…
laanwj Jun 21, 2021
7401364
Merge bitcoin/bitcoin#22089: test: MiniWallet: fix fee calculation fo…
Jun 21, 2021
fa09fd1
doc: Final merge of release notes snippets
Jun 21, 2021
168b6c3
add dummy file param to fix jupyter
josibake Jun 9, 2021
398dd67
Merge bitcoin/bitcoin#22296: doc: Final merge of release notes snippe…
Jun 21, 2021
09dc073
[test] Allow AddrReceiver to be used more generally
amitiuttarwar Jun 15, 2021
e8c67ea
[test] Add functionality to AddrReceiver
amitiuttarwar Jun 15, 2021
ef2f149
[test] Update GetAddrStore callers to use AddrReceiver
amitiuttarwar Jun 15, 2021
1d8193e
[test] Remove GetAddrStore class
amitiuttarwar Jun 21, 2021
6168eb0
[test] Prevent intermittent issue
amitiuttarwar Jun 21, 2021
672870a
Merge bitcoin/bitcoin#22201: test: Fix TestShell to allow running in …
Jun 22, 2021
fadb550
wallet: Add missing BlockUntilSyncedToCurrentChain
Jun 22, 2021
fa27baa
Revert "test: Add temporary logging to debug #20975"
Jun 22, 2021
fa2d21f
add missing atomic include
Jun 14, 2021
327e269
Merge bitcoin/bitcoin#22309: blockstorage: Add missing atomic include
Jun 22, 2021
facd97a
scripted-diff: Renames
Jun 22, 2021
fa1668b
test: Run pep-8
Jun 22, 2021
faa211f
test: Misc cleanup
Jun 22, 2021
fadddd1
test: Add missing syncwithvalidationinterfacequeue
Jun 22, 2021
fafd916
test: Add missing sync_all to feature_coinstatsindex
Jun 22, 2021
c901d4d
GUI: Enable palette change adaptation on all platforms
luke-jr Jun 22, 2021
9d5bf6b
GUI: Always call parent changeEvent handler
luke-jr Jun 22, 2021
c93e123
Merge bitcoin/bitcoin#22308: wallet: Add missing BlockUntilSyncedToCu…
Jun 22, 2021
177c15d
Limit LegacyScriptPubKeyMan address types
achow101 Jun 4, 2021
0262536
Add OutputType::BECH32M
achow101 Jun 4, 2021
699dfcd
Opportunistically use bech32m change addresses if available
achow101 Jun 4, 2021
6dbe4d1
Use BECH32M for tr() desc, WitV1Taproot, and WitUnknown CTxDests
achow101 Jun 4, 2021
87a0e7a
Disallow bech32m addresses for legacy wallet things
achow101 Jun 4, 2021
754f134
wallet: Add error message to GetReservedDestination
achow101 Jun 13, 2021
03aa59a
Merge bitcoin/bitcoin#22313: test: Add missing sync_all to feature_co…
Jun 23, 2021
2bf2116
build: set minimum required Boost to 1.64.0
fanquake Jun 23, 2021
df2c933
build: remove workaround for Boost and std::atomic
fanquake Jun 23, 2021
957f358
build: remove check for Boost Process header
fanquake Jun 23, 2021
d6e0d78
Merge bitcoin/bitcoin#20966: banman: save the banlist in a JSON forma…
Jun 23, 2021
cad487b
doc: add basic I2P documentation
vasild Jun 15, 2021
78cdab1
doc: sort entries in doc/README.md#Miscellaneous alphabetically
vasild Jun 23, 2021
567670b
Merge bitcoin/bitcoin#22166: Add support for inferring tr() descriptors
meshcollider Jun 23, 2021
184d453
script, doc: spelling update
jonatack Jun 23, 2021
fa34cb8
cli: Avoid truncating -rpcwaittimeout
Jun 23, 2021
c0e3093
Merge bitcoin/bitcoin#22323: doc: spelling update
Jun 23, 2021
7317e14
Merge bitcoin/bitcoin#22263: refactor: wrap CCoinsViewCursor in uniqu…
Jun 23, 2021
a196c89
Merge bitcoin/bitcoin#22270: test: Add bitcoin-util tests (+refactors)
Jun 24, 2021
bfa8858
Merge bitcoin/bitcoin#22306: [test] Improvements to p2p_addr_relay.py
Jun 24, 2021
c31161f
Merge bitcoin/bitcoin#22320: build: set minimum required Boost to 1.64.0
fanquake Jun 24, 2021
d6a5916
Merge bitcoin/bitcoin#22257: test: refactor: various (de)serializatio…
Jun 24, 2021
e59ea87
Merge bitcoin/bitcoin#22311: test: Add missing syncwithvalidationinte…
Jun 24, 2021
b7565c7
Merge bitcoin/bitcoin#22250: doc: add basic I2P documentation
laanwj Jun 24, 2021
0553d75
Merge bitcoin/bitcoin#22154: Add OutputType::BECH32M and related wall…
laanwj Jun 24, 2021
fa485d0
fuzz: Check banman roundtrip
Jun 23, 2021
b2f5c38
Merge bitcoin/bitcoin#22327: cli: Avoid truncating -rpcwaittimeout
Jun 24, 2021
976b53b
Revert "Cache parent xpub inside of BIP32PubkeyProvider"
achow101 Jun 24, 2021
0b4c8ef
Refactor Cache merging and writing
achow101 Apr 22, 2021
cacc391
Move DescriptorCache writing to WalletBatch
achow101 Apr 22, 2021
d87b544
descriptors: Cache last hardened xpub
achow101 Mar 1, 2021
432ba9e
wallet: Store last hardened xpub cache
achow101 Mar 1, 2021
74fede3
wallet: Upgrade existing descriptor caches
achow101 Mar 1, 2021
75530c9
Remove priv option for ToNormalizedString
achow101 Apr 22, 2021
7a26ff1
Change DescriptorImpl::ToStringHelper to use an enum
achow101 Apr 22, 2021
3280704
Pass in DescriptorCache to ToNormalizedString
achow101 Mar 1, 2021
e6cf0ed
wallet, rpc: listdescriptors does not need unlocked
achow101 Mar 1, 2021
246daf1
Merge bitcoin/bitcoin#22322: fuzz: Check banman roundtrip
Jun 25, 2021
3e306ee
Merge bitcoin/bitcoin#19362: rpc/blockchain: Reset scantxoutset progr…
Jun 25, 2021
6cf4ea7
Avoid the use of P0083R3 std::set::merge
sipa Jun 25, 2021
9c3751a
Merge bitcoin/bitcoin#22342: Avoid the use of P0083R3 std::set::merge
Jun 26, 2021
dd49f1b
doc: doc/README.md IRC updates
jonatack Jun 27, 2021
18c2027
doc: Document minimum required libc++ version
hebasto Jun 25, 2021
ac238f7
Merge bitcoin/bitcoin#22339: doc: Document minimum required libc++ ve…
fanquake Jun 28, 2021
8cdf917
Merge bitcoin/bitcoin#22349: doc: repository IRC updates
Jun 28, 2021
057750c
ci: Upgrading pip version in macos environment
singlatushar07 Jun 27, 2021
faf3640
Remove unused wallet pointer from NotifyTransactionChanged signal
Jun 28, 2021
8888cf4
Remove unused wallet pointer from NotifyAddressBookChanged
Jun 28, 2021
fa92e60
refactor: Make httpserver work queue a unique_ptr
Jun 22, 2021
3f56ef7
Merge bitcoin/bitcoin#22146: Reject invalid coin height and output in…
Jun 28, 2021
bf68ebc
wallet: allow to import same descriptor twice
S3RK Jun 28, 2021
f1b7db1
wallet: don't mute exceptions in importdescriptors
S3RK Jun 28, 2021
586f1d5
wallet: maintain SPK consistency on internal flag change
S3RK Jun 28, 2021
6737d96
test: wallet importdescriptors update existing
S3RK Jun 28, 2021
3efaf83
wallet: deactivate descriptor
S3RK Jun 28, 2021
8071ec1
Merge bitcoin/bitcoin#21789: refactor: Remove ::Params() global from …
fanquake Jun 29, 2021
e0face9
Merge bitcoin/bitcoin#22358: Remove unused wallet pointer from wallet…
fanquake Jun 29, 2021
6084d2c
wallet: do not spam about non-existent spk managers
S3RK Jun 24, 2021
a000cb0
Merge bitcoin/bitcoin#22361: refactor: Make httpserver work queue a u…
Jun 29, 2021
36a4ba0
versionbits: correct doxygen comments
ajtowns Mar 4, 2021
eccd736
versionbits: Use dedicated lock instead of cs_main
ajtowns Dec 29, 2020
2b0d291
[refactor] Add deploymentstatus.h
ajtowns Jun 16, 2020
de55304
[refactor] Add versionbits deployments to deploymentstatus.h
ajtowns Jul 2, 2020
c64b2c6
scripted-diff: rename versionbitscache
ajtowns Jun 10, 2021
ea68b3a
[move-only] Rename versionbitsinfo to deploymentinfo
ajtowns Mar 11, 2021
92f48f3
deploymentinfo: Add DeploymentName()
ajtowns Mar 11, 2021
8ee3e0b
[refactor] rpc/blockchain.cpp: SoftForkPushBack
ajtowns Mar 11, 2021
0cfd6c6
[refactor] versionbits: make VersionBitsCache a full class
ajtowns Dec 29, 2020
4a69b4d
[move-only] Move ComputeBlockVersion from validation to versionbits
ajtowns Apr 16, 2021
c5f3672
[refactor] Move ComputeBlockVersion into VersionBitsCache
ajtowns Apr 16, 2021
e48826a
tests: remove ComputeBlockVersion shortcut from versionbits tests
ajtowns Jun 7, 2021
bfd910c
Merge bitcoin/bitcoin#18568: doc: Clarify developer notes about const…
fanquake Jun 30, 2021
1811810
refactor: remove m_internal from DescriptorSPKman
S3RK Jun 29, 2021
e1a13f1
Merge bitcoin/bitcoin#18096: doc: IsFinalTx comment about nSequence &…
Jun 30, 2021
3fc20ab
Merge bitcoin/bitcoin#22353: ci: Upgrading pip version in macos envir…
fanquake Jun 30, 2021
30450a1
Do not clone qa-assets git repository if not necessary
kiminuo Jun 30, 2021
2f23ad2
qt: allow prompt icon to be colorized
jarolrod Jun 30, 2021
722776c
Merge bitcoin/bitcoin#21329: descriptor wallet: Cache last hardened x…
meshcollider Jun 30, 2021
c4ddee6
test: Add test for replacement relay fee check
ariard Jun 22, 2021
045bb06
Merge bitcoin/bitcoin#19651: wallet: importdescriptors update existing
fanquake Jul 1, 2021
5a95c51
Merge bitcoin/bitcoin#20191: wallet, refactor: make DescriptorScriptP…
fanquake Jul 1, 2021
b945a31
wallet: erase spkmans rather than setting to nullptr
achow101 Jul 1, 2021
34f554d
Merge bitcoin-core/gui#366: Dark Mode fixes/portability
hebasto Jul 1, 2021
333ec8b
Merge bitcoin-core/gui#330: Allow prompt icon to be colorized
hebasto Jul 1, 2021
3ef2d40
Merge bitcoin/bitcoin#22376: ci: Do not clone `bitcoin-core/qa-assets…
Jul 1, 2021
67669ab
build: Fix Boost Process compatibility with mingw-w64 compiler
hebasto Jun 27, 2021
fa46e48
Merge bitcoin/bitcoin#22379: wallet: erase spkmans rather than settin…
fanquake Jul 1, 2021
185acdb
Merge bitcoin/bitcoin#22334: wallet: do not spam about non-existent s…
fanquake Jul 1, 2021
2749613
Merge bitcoin/bitcoin#22348: build: Fix cross build for Windows with …
fanquake Jul 1, 2021
c7f74f1
Translations update
hebasto Jul 1, 2021
091d35c
Merge bitcoin-core/gui#377: Translations update
hebasto Jul 1, 2021
a926d6d
Merge bitcoin/bitcoin#22310: test: Add functional test for replacemen…
Jul 1, 2021
ddc6979
Merge bitcoin/bitcoin#19438: Introduce deploymentstatus
Jul 1, 2021
7fc1e14
ci: use Ubuntu 20.04 as the default Docker container
fanquake Jul 2, 2021
7a49fdc
Merge bitcoin/bitcoin#22388: ci: use Ubuntu 20.04 as the default Dock…
Jul 2, 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
  •  
  •  
  •  
6 changes: 3 additions & 3 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ 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/qt51210x64_vs2019_1694/Qt5.12.10_x64_static_vs2019_1694.zip'
QT_DOWNLOAD_HASH: '3035a1307e8302bb3a76eba9bb3102979f945ab4022cc3bc2e1583edd44bdc99'
QT_LOCAL_PATH: 'C:\Qt5.12.10_x64_static_vs2019_1694'
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.
Expand Down
3 changes: 0 additions & 3 deletions REVIEWERS
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,6 @@
/src/util/settings.* @ryanofsky

# Fuzzing
/src/test/fuzz/ @practicalswift
/doc/fuzzing.md @practicalswift

# Tests
/src/test/net_peer_eviction_tests.cpp @jonatack
Expand Down Expand Up @@ -117,7 +115,6 @@
/src/dbwrapper.* @jamesob

# Linter
/test/lint/ @practicalswift
/test/lint/lint-shell.sh @hebasto

# Bech32
Expand Down
2 changes: 1 addition & 1 deletion build-aux/m4/bitcoin_qt.m4
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ AC_DEFUN([BITCOIN_QT_CONFIGURE],[
AC_DEFINE(QT_QPA_PLATFORM_WINDOWS, 1, [Define this symbol if the qt platform is windows])
elif test "x$TARGET_OS" = xlinux; then
dnl workaround for https://bugreports.qt.io/browse/QTBUG-74874
AX_CHECK_LINK_FLAG([-lxcb-shm], [QT_LIBS="-lxcb-shm $QT_LIBS"], [AC_MSG_ERROR([could not link against -lxcb-shm])])
AX_CHECK_LINK_FLAG([-lxcb-shm], [QT_LIBS="$QT_LIBS -lxcb-shm"], [AC_MSG_ERROR([could not link against -lxcb-shm])])
_BITCOIN_QT_CHECK_STATIC_PLUGIN([QXcbIntegrationPlugin], [-lqxcb])
AC_DEFINE(QT_QPA_PLATFORM_XCB, 1, [Define this symbol if the qt platform is xcb])
elif test "x$TARGET_OS" = xdarwin; then
Expand Down
1 change: 1 addition & 0 deletions build_msvc/bitcoin-qt/bitcoin-qt.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
<AdditionalIncludeDirectories>$(QtIncludes);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<AdditionalDependencies>$(QtReleaseLibraries);%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalOptions>/ignore:4206 /LTCG:OFF</AdditionalOptions>
</Link>
Expand Down
37 changes: 37 additions & 0 deletions build_msvc/bitcoin-util/bitcoin-util.vcxproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="..\common.init.vcxproj" />
<PropertyGroup Label="Globals">
<ProjectGuid>{D3022AF6-AD33-4CE3-B358-87CB6A1B29CF}</ProjectGuid>
</PropertyGroup>
<PropertyGroup Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<OutDir>$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
</PropertyGroup>
<ItemGroup>
<ClCompile Include="..\..\src\bitcoin-util.cpp" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\libbitcoinconsensus\libbitcoinconsensus.vcxproj">
<Project>{2b384fa8-9ee1-4544-93cb-0d733c25e8ce}</Project>
</ProjectReference>
<ProjectReference Include="..\libbitcoin_common\libbitcoin_common.vcxproj">
<Project>{7c87e378-df58-482e-aa2f-1bc129bc19ce}</Project>
</ProjectReference>
<ProjectReference Include="..\libbitcoin_crypto\libbitcoin_crypto.vcxproj">
<Project>{6190199c-6cf4-4dad-bfbd-93fa72a760c1}</Project>
</ProjectReference>
<ProjectReference Include="..\libbitcoin_util\libbitcoin_util.vcxproj">
<Project>{b53a5535-ee9d-4c6f-9a26-f79ee3bc3754}</Project>
</ProjectReference>
<ProjectReference Include="..\libunivalue\libunivalue.vcxproj">
<Project>{5724ba7d-a09a-4ba8-800b-c4c1561b3d69}</Project>
</ProjectReference>
<ProjectReference Include="..\libsecp256k1\libsecp256k1.vcxproj">
<Project>{bb493552-3b8c-4a8c-bf69-a6e7a51d2ea6}</Project>
</ProjectReference>
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<Import Project="..\common.vcxproj" />
</Project>
2 changes: 2 additions & 0 deletions build_msvc/bitcoin.sln
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "bench_bitcoin", "bench_bitc
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "bitcoin-tx", "bitcoin-tx\bitcoin-tx.vcxproj", "{D3022AF6-AD33-4CE3-B358-87CB6A1B29CF}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "bitcoin-util", "bitcoin-util\bitcoin-util.vcxproj", "{D3022AF6-AD33-4CE3-B358-87CB6A1B29CF}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "bitcoin-wallet", "bitcoin-wallet\bitcoin-wallet.vcxproj", "{84DE8790-EDE3-4483-81AC-C32F15E861F4}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libbitcoin_wallet_tool", "libbitcoin_wallet_tool\libbitcoin_wallet_tool.vcxproj", "{F91AC55E-6F5E-4C58-9AC5-B40DB7DEEF93}"
Expand Down
2 changes: 1 addition & 1 deletion build_msvc/common.qt.init.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">

<PropertyGroup Label="QtGlobals">
<QtBaseDir>C:\Qt5.12.10_x64_static_vs2019_1694</QtBaseDir>
<QtBaseDir>C:\Qt5.12.11_x64_static_vs2019_16101</QtBaseDir>
<QtPluginsLibraryDir>$(QtBaseDir)\plugins</QtPluginsLibraryDir>
<QtLibraryDir>$(QtBaseDir)\lib</QtLibraryDir>
<QtIncludeDir>$(QtBaseDir)\include</QtIncludeDir>
Expand Down
9 changes: 5 additions & 4 deletions build_msvc/libsecp256k1/libsecp256k1.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,14 @@
<ItemGroup>
<ClCompile Include="..\..\src\secp256k1\src\secp256k1.c" />
</ItemGroup>
<ItemDefinitionGroup>
<ItemDefinitionGroup>
<ClCompile>
<PreprocessorDefinitions>ENABLE_MODULE_ECDH;ENABLE_MODULE_RECOVERY;ENABLE_MODULE_EXTRAKEYS;ENABLE_MODULE_SCHNORRSIG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>..\..\src\secp256k1;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
<AdditionalIncludeDirectories>..\..\src\secp256k1;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<DisableSpecificWarnings>4146;4244;4267;4334</DisableSpecificWarnings>
</ClCompile>
</ItemDefinitionGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<Import Project="..\common.vcxproj" />
</Project>
</Project>
2 changes: 1 addition & 1 deletion ci/test/00_setup_env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export RUN_FUZZ_TESTS=${RUN_FUZZ_TESTS:-false}
export EXPECTED_TESTS_DURATION_IN_SECONDS=${EXPECTED_TESTS_DURATION_IN_SECONDS:-1000}

export CONTAINER_NAME=${CONTAINER_NAME:-ci_unnamed}
export DOCKER_NAME_TAG=${DOCKER_NAME_TAG:-ubuntu:18.04}
export DOCKER_NAME_TAG=${DOCKER_NAME_TAG:-ubuntu:20.04}
# Randomize test order.
# See https://www.boost.org/doc/libs/1_71_0/libs/test/doc/html/boost_test/utf_reference/rt_param_reference/random.html
export BOOST_TEST_RANDOM=${BOOST_TEST_RANDOM:-1}
Expand Down
2 changes: 1 addition & 1 deletion ci/test/00_setup_env_arm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ export RUN_FUNCTIONAL_TESTS=false
export GOAL="install"
# -Wno-psabi is to disable ABI warnings: "note: parameter passing for argument of type ... changed in GCC 7.1"
# This could be removed once the ABI change warning does not show up by default
export BITCOIN_CONFIG="--enable-glibc-back-compat --enable-reduce-exports CXXFLAGS=-Wno-psabi --enable-external-signer"
export BITCOIN_CONFIG="--enable-glibc-back-compat --enable-reduce-exports CXXFLAGS=-Wno-psabi"
2 changes: 1 addition & 1 deletion ci/test/00_setup_env_i686_centos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ export CONTAINER_NAME=ci_i686_centos_8
export DOCKER_NAME_TAG=centos:8
export DOCKER_PACKAGES="gcc-c++ glibc-devel.x86_64 libstdc++-devel.x86_64 glibc-devel.i686 libstdc++-devel.i686 ccache libtool make git python3 python3-zmq which patch lbzip2 dash rsync coreutils bison"
export GOAL="install"
export BITCOIN_CONFIG="--enable-zmq --with-gui=qt5 --enable-reduce-exports --enable-external-signer"
export BITCOIN_CONFIG="--enable-zmq --with-gui=qt5 --enable-reduce-exports"
export CONFIG_SHELL="/bin/dash"
export TEST_RUNNER_ENV="LC_ALL=en_US.UTF-8"
2 changes: 1 addition & 1 deletion ci/test/00_setup_env_mac.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ export XCODE_BUILD_ID=12A7403
export RUN_UNIT_TESTS=false
export RUN_FUNCTIONAL_TESTS=false
export GOAL="deploy"
export BITCOIN_CONFIG="--with-gui --enable-reduce-exports --enable-external-signer"
export BITCOIN_CONFIG="--with-gui --enable-reduce-exports"
2 changes: 1 addition & 1 deletion ci/test/00_setup_env_mac_host.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export LC_ALL=C.UTF-8
export HOST=x86_64-apple-darwin18
export PIP_PACKAGES="zmq lief"
export GOAL="install"
export BITCOIN_CONFIG="--with-gui --enable-reduce-exports --enable-external-signer"
export BITCOIN_CONFIG="--with-gui --enable-reduce-exports"
export CI_OS_NAME="macos"
export NO_DEPENDS=1
export OSX_SDK=""
Expand Down
2 changes: 1 addition & 1 deletion ci/test/00_setup_env_native_asan.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ export PACKAGES="clang llvm python3-zmq qtbase5-dev qttools5-dev-tools libevent-
export DOCKER_NAME_TAG=ubuntu:hirsute
export NO_DEPENDS=1
export GOAL="install"
export BITCOIN_CONFIG="--enable-zmq --with-incompatible-bdb --with-gui=qt5 CPPFLAGS='-DARENA_DEBUG -DDEBUG_LOCKORDER' --with-sanitizers=address,integer,undefined CC=clang CXX=clang++ --enable-external-signer"
export BITCOIN_CONFIG="--enable-zmq --with-incompatible-bdb --with-gui=qt5 CPPFLAGS='-DARENA_DEBUG -DDEBUG_LOCKORDER' --with-sanitizers=address,integer,undefined CC=clang CXX=clang++"
2 changes: 1 addition & 1 deletion ci/test/00_setup_env_native_fuzz.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ export RUN_UNIT_TESTS=false
export RUN_FUNCTIONAL_TESTS=false
export RUN_FUZZ_TESTS=true
export GOAL="install"
export BITCOIN_CONFIG="--enable-fuzz --with-sanitizers=fuzzer,address,undefined,integer CC=clang CXX=clang++ --enable-external-signer"
export BITCOIN_CONFIG="--enable-fuzz --with-sanitizers=fuzzer,address,undefined,integer CC=clang CXX=clang++"
export CCACHE_SIZE=200M
2 changes: 1 addition & 1 deletion ci/test/00_setup_env_native_multiprocess.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export DOCKER_NAME_TAG=ubuntu:20.04
export PACKAGES="cmake python3 python3-pip llvm clang"
export DEP_OPTS="DEBUG=1 MULTIPROCESS=1"
export GOAL="install"
export BITCOIN_CONFIG="--enable-external-signer --enable-debug CC=clang CXX=clang++" # Use clang to avoid OOM
export BITCOIN_CONFIG="--enable-debug CC=clang CXX=clang++" # Use clang to avoid OOM
export TEST_RUNNER_ENV="BITCOIND=bitcoin-node"
export RUN_SECURITY_TESTS="true"
export PIP_PACKAGES="lief"
2 changes: 1 addition & 1 deletion ci/test/00_setup_env_native_nowallet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ export DOCKER_NAME_TAG=ubuntu:18.04 # Use bionic to have one config run the tes
export PACKAGES="python3-zmq clang-5.0 llvm-5.0" # Use clang-5 to test C++17 compatibility, see doc/dependencies.md
export DEP_OPTS="NO_WALLET=1"
export GOAL="install"
export BITCOIN_CONFIG="--enable-glibc-back-compat --enable-reduce-exports CC=clang-5.0 CXX=clang++-5.0 --enable-external-signer"
export BITCOIN_CONFIG="--enable-glibc-back-compat --enable-reduce-exports CC=clang-5.0 CXX=clang++-5.0"
2 changes: 1 addition & 1 deletion ci/test/00_setup_env_native_qt5.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ export RUN_UNIT_TESTS="false"
export GOAL="install"
export PREVIOUS_RELEASES_TO_DOWNLOAD="v0.15.2 v0.16.3 v0.17.2 v0.18.1 v0.19.1"
export BITCOIN_CONFIG="--enable-zmq --with-libs=no --with-gui=qt5 --enable-glibc-back-compat --enable-reduce-exports
--enable-debug --disable-fuzz-binary CFLAGS=\"-g0 -O2 -funsigned-char\" CXXFLAGS=\"-g0 -O2 -funsigned-char\" --enable-external-signer"
--enable-debug --disable-fuzz-binary CFLAGS=\"-g0 -O2 -funsigned-char\" CXXFLAGS=\"-g0 -O2 -funsigned-char\""
2 changes: 1 addition & 1 deletion ci/test/00_setup_env_native_tsan.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ export DOCKER_NAME_TAG=ubuntu:hirsute
export PACKAGES="clang llvm libc++abi-dev libc++-dev python3-zmq"
export DEP_OPTS="CC=clang CXX='clang++ -stdlib=libc++'"
export GOAL="install"
export BITCOIN_CONFIG="--enable-zmq --with-gui=no CPPFLAGS='-DARENA_DEBUG -DDEBUG_LOCKORDER' CXXFLAGS='-g' --with-sanitizers=thread CC=clang CXX='clang++ -stdlib=libc++' --enable-external-signer"
export BITCOIN_CONFIG="--enable-zmq --with-gui=no CPPFLAGS='-DARENA_DEBUG -DDEBUG_LOCKORDER' CXXFLAGS='-g' --with-sanitizers=thread CC=clang CXX='clang++ -stdlib=libc++'"
2 changes: 1 addition & 1 deletion ci/test/00_setup_env_s390x.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ export RUN_UNIT_TESTS=true
export TEST_RUNNER_ENV="LC_ALL=C"
export RUN_FUNCTIONAL_TESTS=true
export GOAL="install"
export BITCOIN_CONFIG="--enable-reduce-exports --with-incompatible-bdb --enable-external-signer"
export BITCOIN_CONFIG="--enable-reduce-exports --with-incompatible-bdb"
12 changes: 8 additions & 4 deletions ci/test/04_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ if [[ $QEMU_USER_CMD == qemu-s390* ]]; then
fi

if [ "$CI_OS_NAME" == "macos" ]; then
sudo -H pip3 install --upgrade pip
IN_GETOPT_BIN="/usr/local/opt/gnu-getopt/bin/getopt" ${CI_RETRY_EXE} pip3 install --user $PIP_PACKAGES
fi

Expand Down Expand Up @@ -83,11 +84,14 @@ fi
DOCKER_EXEC echo "Free disk space:"
DOCKER_EXEC df -h

if [ ! -d ${DIR_QA_ASSETS} ]; then
DOCKER_EXEC git clone --depth=1 https://github.com/bitcoin-core/qa-assets ${DIR_QA_ASSETS}
if [ "$RUN_FUZZ_TESTS" = "true" ] || [ "$RUN_UNIT_TESTS" = "true" ] || [ "$RUN_UNIT_TESTS_SEQUENTIAL" = "true" ]; then
if [ ! -d ${DIR_QA_ASSETS} ]; then
DOCKER_EXEC git clone --depth=1 https://github.com/bitcoin-core/qa-assets ${DIR_QA_ASSETS}
fi

export DIR_FUZZ_IN=${DIR_QA_ASSETS}/fuzz_seed_corpus/
export DIR_UNIT_TEST_DATA=${DIR_QA_ASSETS}/unit_test_data/
fi
export DIR_FUZZ_IN=${DIR_QA_ASSETS}/fuzz_seed_corpus/
export DIR_UNIT_TEST_DATA=${DIR_QA_ASSETS}/unit_test_data/

DOCKER_EXEC mkdir -p "${BASE_SCRATCH_DIR}/sanitizer-output/"

Expand Down
48 changes: 19 additions & 29 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -333,9 +333,9 @@ AC_ARG_ENABLE([werror],
[enable_werror=no])

AC_ARG_ENABLE([external-signer],
[AS_HELP_STRING([--enable-external-signer],[compile external signer support (default is no, requires Boost::Process)])],
[AS_HELP_STRING([--enable-external-signer],[compile external signer support (default is yes, requires Boost::Process)])],
[use_external_signer=$enableval],
[use_external_signer=no])
[use_external_signer=yes])

AC_LANG_PUSH([C++])

Expand Down Expand Up @@ -475,7 +475,9 @@ if test "x$CXXFLAGS_overridden" = "xno"; then
AX_CHECK_COMPILE_FLAG([-Wself-assign],[NOWARN_CXXFLAGS="$NOWARN_CXXFLAGS -Wno-self-assign"],,[[$CXXFLAG_WERROR]])
AX_CHECK_COMPILE_FLAG([-Wunused-local-typedef],[NOWARN_CXXFLAGS="$NOWARN_CXXFLAGS -Wno-unused-local-typedef"],,[[$CXXFLAG_WERROR]])
AX_CHECK_COMPILE_FLAG([-Wimplicit-fallthrough],[NOWARN_CXXFLAGS="$NOWARN_CXXFLAGS -Wno-implicit-fallthrough"],,[[$CXXFLAG_WERROR]])
AX_CHECK_COMPILE_FLAG([-Wdeprecated-copy],[NOWARN_CXXFLAGS="$NOWARN_CXXFLAGS -Wno-deprecated-copy"],,[[$CXXFLAG_WERROR]])
if test x$suppress_external_warnings != xyes ; then
AX_CHECK_COMPILE_FLAG([-Wdeprecated-copy],[NOWARN_CXXFLAGS="$NOWARN_CXXFLAGS -Wno-deprecated-copy"],,[[$CXXFLAG_WERROR]])
fi
fi

dnl Don't allow extended (non-ASCII) symbols in identifiers. This is easier for code review.
Expand Down Expand Up @@ -1357,13 +1359,15 @@ if test x$enable_wallet != xno; then
fi

if test x$use_ebpf != xno; then
AC_CHECK_HEADER([sys/sdt.h], [have_sdt=yes], [have_sdt=no])
else
have_sdt=no
fi

if test x$have_sdt = xyes; then
AC_DEFINE([ENABLE_TRACING], [1], [Define to 1 to enable eBPF user static defined tracepoints])
AC_MSG_CHECKING([whether eBPF tracepoints are supported])
AC_COMPILE_IFELSE([
AC_LANG_PROGRAM(
[#include <sys/sdt.h>],
[DTRACE_PROBE("context", "event");]
)],
[AC_MSG_RESULT(yes); have_sdt=yes; AC_DEFINE([ENABLE_TRACING], [1], [Define to 1 to enable eBPF user static defined tracepoints])],
[AC_MSG_RESULT(no); have_sdt=no;]
)
fi

dnl Check for libminiupnpc (optional)
Expand Down Expand Up @@ -1411,37 +1415,23 @@ fi
if test x$use_boost = xyes; then

dnl Check for Boost headers
AX_BOOST_BASE([1.58.0],[],[AC_MSG_ERROR([Boost is not available!])])
AX_BOOST_BASE([1.64.0],[],[AC_MSG_ERROR([Boost is not available!])])
if test x$want_boost = xno; then
AC_MSG_ERROR([[only libbitcoinconsensus can be built without boost]])
fi
AX_BOOST_SYSTEM
AX_BOOST_FILESYSTEM

dnl Opt-in to Boost Process if external signer support is requested
if test "x$use_external_signer" != xno; then
AC_MSG_CHECKING(for Boost Process)
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <boost/process.hpp>]],
[[ boost::process::child* child = new boost::process::child; delete child; ]])],
[ AC_MSG_RESULT(yes)
AC_DEFINE([ENABLE_EXTERNAL_SIGNER],,[define if external signer support is enabled])
],
[ AC_MSG_ERROR([Boost::Process is required for external signer support, but not available!])]
)
fi

if test x$suppress_external_warnings != xno; then
BOOST_CPPFLAGS=SUPPRESS_WARNINGS($BOOST_CPPFLAGS)
fi

dnl Boost 1.56 through 1.62 allow using std::atomic instead of its own atomic
dnl counter implementations. In 1.63 and later the std::atomic approach is default.
m4_pattern_allow(DBOOST_AC_USE_STD_ATOMIC) dnl otherwise it's treated like a macro
BOOST_CPPFLAGS="-DBOOST_SP_USE_STD_ATOMIC -DBOOST_AC_USE_STD_ATOMIC $BOOST_CPPFLAGS"

BOOST_LIBS="$BOOST_LDFLAGS $BOOST_SYSTEM_LIB $BOOST_FILESYSTEM_LIB"
fi

if test "x$use_external_signer" != xno; then
AC_DEFINE([ENABLE_EXTERNAL_SIGNER],,[define if external signer support is enabled])
fi
AM_CONDITIONAL([ENABLE_EXTERNAL_SIGNER], [test "x$use_external_signer" = "xyes"])

dnl Check for reduced exports
Expand Down Expand Up @@ -1915,7 +1905,7 @@ if test x$need_bundled_univalue = xyes; then
AC_CONFIG_SUBDIRS([src/univalue])
fi

ac_configure_args="${ac_configure_args} --disable-shared --with-pic --enable-benchmark=no --with-bignum=no --enable-module-recovery --enable-module-schnorrsig --enable-experimental"
ac_configure_args="${ac_configure_args} --disable-shared --with-pic --enable-benchmark=no --enable-module-recovery --enable-module-schnorrsig --enable-experimental"
AC_CONFIG_SUBDIRS([src/secp256k1])

AC_OUTPUT
Expand Down
2 changes: 1 addition & 1 deletion contrib/devtools/pixie.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ def _parse_verneed(section: Section, strings: bytes, eh: ELFHeader) -> Dict[int,
result = {}
while True:
verneed = Verneed(data, ofs, eh)
aofs = verneed.vn_aux
aofs = ofs + verneed.vn_aux
while True:
vernaux = Vernaux(data, aofs, eh, strings)
result[vernaux.vna_other] = vernaux.name
Expand Down
Loading