Skip to content

uvhw:patch-4 #124

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

Open
wants to merge 10,000 commits into
base: lows
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
10000 commits
Select commit Hold shift + click to select a range
18f304d
build: Improve error message when pkg-config is not installed
hebasto Jan 12, 2022
290ff5e
Merge bitcoin/bitcoin#24041: util: Restore GetIntArg saturating behavior
Jan 12, 2022
31db3dd
Merge bitcoin/bitcoin#24048: build: Improve error message when pkg-co…
laanwj Jan 13, 2022
9e64d69
[move] Move PoissonNextSend to src/random and update comment
jnewbery Dec 14, 2021
03cfa1b
[refactor] Use uint64_t and std namespace in PoissonNextSend
jnewbery May 8, 2020
bb06074
scripted-diff: replace PoissonNextSend with GetExponentialRand
jnewbery Apr 15, 2020
ea99f5d
[net processing] Move PoissonNextSendInbound to PeerManager
jnewbery Dec 14, 2021
9b8dcb2
[net processing] Rename PoissonNextSendInbound to NextInvToInbounds
jnewbery Dec 14, 2021
fa99e10
Fix implicit-integer-sign-change in arith_uint256
Jan 13, 2022
aa8a65e
test: use MiniWallet for mempool_accept.py
theStack Jan 11, 2022
767ee2e
Merge bitcoin/bitcoin#23607: rpc: Pass const char* to evhttp_connecti…
laanwj Jan 13, 2022
807169e
Merge bitcoin/bitcoin#24035: test: use MiniWallet for mempool_accept.py
Jan 13, 2022
bd52684
test: rest /tx with an invalid/unknown txid
brunoerg Jan 13, 2022
dddd05e
qt: Treat unconfirmed txs as unconfirmed
Jan 14, 2022
888841e
interfaces: Remove unused is_final
Jan 14, 2022
fa9377c
doc: move-only release note snippets
Jan 14, 2022
fa4c72e
doc: Rework 14707 release notes
Jan 14, 2022
3aa2581
scripted-diff: rename `m_cs_callbacks_pending` -> `m_callbacks_mutex`
theStack Jan 14, 2022
5574e6e
refactor: replace RecursiveMutex `m_callbacks_mutex` with Mutex
theStack Jan 14, 2022
fd82613
rpc: move softfork info from getblockchaininfo to getdeploymentinfo
ajtowns Dec 1, 2021
7f15c18
rpc: getdeploymentinfo: allow specifying a blockhash other than tip
ajtowns Nov 11, 2021
a7469bc
rpc: getdeploymentinfo: change stats to always refer to current period
ajtowns Nov 13, 2021
376c0c6
rpc: getdeploymentinfo: include block hash/height
ajtowns Nov 13, 2021
240cad0
rpc: getdeploymentinfo: include signalling info
ajtowns Nov 11, 2021
a380922
Release notes for getdeploymentinfo rpc
ajtowns Dec 13, 2021
e2ab9f8
build: disable external signer on Windows
fanquake Jan 13, 2022
3073a99
scripted-diff: Rename CNetMessage::m_command with CNetMessage::m_type
hebasto Jan 15, 2022
224d878
net, refactor: Drop tautological local variables
hebasto Jan 15, 2022
0639aba
scripted-diff: rename `cs_SubVer` -> `m_subver_mutex`
theStack Jan 16, 2022
30927cb
refactor: replace RecursiveMutex `m_subver_mutex` with Mutex
theStack Jan 16, 2022
4a06250
Merge bitcoin/bitcoin#24068: doc: Rework 14707 release notes
fanquake Jan 17, 2022
7de2cf9
Merge bitcoin/bitcoin#23992: fuzz: Limit fuzzed time to years 2000-2100
Jan 17, 2022
dfe1341
Merge bitcoin/bitcoin#24033: log: Remove GetAdjustedTime from IBD hea…
Jan 17, 2022
92a71f6
Merge bitcoin/bitcoin#24059: Fix implicit-integer-sign-change in arit…
Jan 17, 2022
dbf81a7
Merge bitcoin/bitcoin#24079: refactor: replace RecursiveMutex `cs_Sub…
Jan 17, 2022
427e9c9
Merge bitcoin/bitcoin#24069: refactor: replace RecursiveMutex `m_cs_c…
Jan 17, 2022
3b98bf9
Revert "Add to spends only transcations from me"
S3RK Jan 17, 2022
d0bf9bb
Merge bitcoin/bitcoin#23373: test: Parse command line arguments from …
Jan 17, 2022
83d4fb7
[packages] return DIFFERENT_WITNESS for same-txid-different-witness tx
glozow Dec 17, 2021
9ad211c
[doc] more detailed explanation for deduplication
glozow Dec 17, 2021
2db77cd
[unit test] different witness in package submission
glozow Dec 17, 2021
9d88853
AcceptPackage fixups
glozow Jan 7, 2022
de075a9
[validation] better handle errors in SubmitPackage
glozow Jan 7, 2022
3cd7f69
[unit test] package parents are a mix
glozow Jan 17, 2022
bf044ef
build: specify hosts for qrencode package
fanquake Jan 18, 2022
c7cd98c
document and clean up MaybeUpdateMempoolForReorg
glozow Dec 3, 2021
e177fca
Replace `struct update_lock_points` with lambda
glozow Jan 17, 2022
f251141
util: Fix mis-swapped `prettyIndent` and `indentLevel` arguments
hebasto Jan 18, 2022
f7a19ef
qt,refactor: Use std::chrono in TrafficGraphWidget class
shaavan Jan 12, 2022
b24aa9c
Merge bitcoin/bitcoin#24095: util: Fix mis-swapped `prettyIndent` and…
Jan 18, 2022
869c6e2
Merge bitcoin/bitcoin#22317: doc: Highlight DNS requests part in tor.md
achow101 Jan 18, 2022
5c3bfee
Merge bitcoin/bitcoin#24054: test: rest /tx with an invalid/unknown txid
Jan 19, 2022
a7da140
scripted-diff: rename cs_mapLocalHost -> g_maplocalhost_mutex
w0xlt Jan 19, 2022
5e7e4c9
refactor: replace RecursiveMutex g_maplocalhost_mutex with Mutex
w0xlt Jan 19, 2022
2d7ffce
Merge bitcoin/bitcoin#24093: build: specify hosts for qrencode package
fanquake Jan 19, 2022
ae9175f
build: add FreeBSD support to depends
fanquake Jan 3, 2022
06b6369
Merge bitcoin/bitcoin#23976: document and clean up MaybeUpdateMempool…
Jan 19, 2022
fa2bcc4
Run coin.IsSpent only once in a row
Jan 19, 2022
1dfd31b
scripted-diff: rename m_cs_chainstate -> m_chainstate_mutex
w0xlt Jan 19, 2022
dc5d6b0
fs: Make compatible with boost 1.78
achow101 Jan 19, 2022
cfa5752
Optimize CHECKSIGADD Script Validation
JeremyRubin Jan 19, 2022
7102f7d
Merge bitcoin/bitcoin#23956: build: use zeromq 4.3.4 in depends & fix…
fanquake Jan 20, 2022
a541e5d
Merge bitcoin/bitcoin#24104: fs: Make compatible with boost 1.78
fanquake Jan 20, 2022
63fc2f5
Merge bitcoin/bitcoin#24065: build: explicitly disable support for ex…
fanquake Jan 20, 2022
e8a6c88
build: point to latest commit on the master branch
fanquake Jan 13, 2022
8588591
guix: ignore additioanl failing certvalidator test
fanquake Jan 20, 2022
c4a31ca
scripted-diff: rename cs_addrLocal -> m_addr_local_mutex
w0xlt Jan 20, 2022
3ee6d07
test: add more wallet conflicts assertions
S3RK Jan 20, 2022
b3ccf26
build: force CRCCheck in Windows installer
fanquake Feb 12, 2020
1824644
Merge bitcoin/bitcoin#24099: Replace `RecursiveMutex cs_mapLocalHost`…
Jan 20, 2022
faedb11
refactor tests to fix ubsan suppressions
Jan 2, 2022
b60c477
Merge bitcoin/bitcoin#23629: refactor tests to fix ubsan suppressions
Jan 20, 2022
e3ce019
Merge bitcoin/bitcoin#23171: qa: test descriptors with mixed xpubs an…
achow101 Jan 20, 2022
449dffc
test, bugfix: fix intermittent failure in getrawtransaction_tests
jonatack Jan 20, 2022
93609c1
p2p: add assertions and negative TS annotations for m_addr_local_mutex
w0xlt Jan 20, 2022
dec787d
refactor: replace RecursiveMutex `m_addr_local_mutex` with Mutex
w0xlt Jan 20, 2022
d8dfc40
script: redirecting stderr to stdout before pipelining into grep
anouarkappitou Jan 22, 2022
c73415b
build: Fix xargs warnings for Guix builds
hebasto Jan 22, 2022
6d859cb
Merge bitcoin/bitcoin#24021: Rename and move PoissonNextSend functions
fanquake Jan 23, 2022
d67fc78
doc: Update the used Qt version
hebasto Jan 23, 2022
973c390
Merge bitcoin/bitcoin#24078: net, refactor: Rename CNetMessage::m_com…
Jan 24, 2022
a465a66
gui: add "Address Relay" (m_addr_relay_enabled) to peer details
jonatack Jan 20, 2022
19623d3
gui: add "Addresses Processed" (m_addr_processed) to peer details
jonatack Jan 20, 2022
6cd132d
gui: add "Addresses Rate-Limited" (m_addr_rate_limited) to peer details
jonatack Jan 20, 2022
9fbd1bb
gui: use available space to display "Last Transaction" in peer details
jonatack Jan 20, 2022
b3122e1
Merge bitcoin/bitcoin#23543: test: Prevent non-compatible sed binary …
Jan 24, 2022
b32f0d3
Merge bitcoin/bitcoin#24108: Replace RecursiveMutex `cs_addrLocal` wi…
Jan 24, 2022
e3de7cb
Merge bitcoin/bitcoin#24102: mempool: Run coin.IsSpent only once in a…
Jan 24, 2022
faa75fa
Avoid unsigned integer overflow in bitcoin-tx
Jan 24, 2022
ddeefee
refactor: add negative TS annotations for `m_chainstate_mutex`
w0xlt Jan 19, 2022
020acea
refactor: replace RecursiveMutex m_chainstate_mutex with Mutex
w0xlt Jan 19, 2022
4060c50
wallet: add input weights to CCoinControl
achow101 Oct 5, 2021
808068e
wallet: Allow user specified input size to override
achow101 Oct 5, 2021
6fa762a
rpc, wallet: Allow users to specify input weights
achow101 Oct 5, 2021
3866272
tests: Test specifying input weights
achow101 Oct 5, 2021
9ec3991
Merge bitcoin/bitcoin#24057: guix: point to recent commit on the mast…
Jan 24, 2022
417e750
Merge bitcoin/bitcoin#23804: validation: followups for de-duplication…
fanquake Jan 25, 2022
0147278
Merge bitcoin/bitcoin#21464: Mempool Update Cut-Through Optimization
fanquake Jan 25, 2022
69ef0a1
Merge bitcoin/bitcoin#24130: doc: Update the used Qt version
fanquake Jan 25, 2022
bd482b3
Merge bitcoin/bitcoin#24105: Optimize CHECKSIGADD Script Validation
Jan 25, 2022
fa272ea
wallet: Avoid dropping confirmed coins
Jan 14, 2022
fac8165
Remove unused checkFinalTx
Jan 14, 2022
fa83210
Avoid integer sanitizer warnings in chain.o
Jan 25, 2022
7789999
build: Update netbsd_kevent_void.patch
hebasto Jan 23, 2022
b970f03
build: Disable libbsd when building zeromq package in depends
hebasto Jan 25, 2022
f13e642
build: Disable valgrind when building zeromq package in depends
hebasto Jan 25, 2022
792d0d8
Merge bitcoin/bitcoin#23839: Linux: build with and test for control f…
laanwj Jan 25, 2022
fa3bdbd
test: remove unused sanitizer suppressions
Jan 25, 2022
75656ad
test: add functional test for `-maxtipage` parameter
theStack Jan 25, 2022
b94d0c7
Merge bitcoin/bitcoin#23201: wallet: Allow users to specify input wei…
laanwj Jan 25, 2022
39d9bbe
Merge bitcoin/bitcoin#23706: rpc: getblockfrompeer followups
Jan 25, 2022
fac8caa
doc: Fix rpc docs
Jan 25, 2022
6fd4341
Require CBlockIndex::GetBlockPos() to hold mutex cs_main
jonatack Sep 9, 2021
2e557ce
Require WriteUndoDataForBlock() to hold mutex cs_main
jonatack Oct 21, 2021
5723934
Require CBlockIndex::GetUndoPos() to hold mutex cs_main
jonatack Sep 9, 2021
8ef457c
Require CBlockIndex::IsAssumedValid() to hold cs_main
vasild Jan 19, 2022
e9f3aa5
Require CBlockIndex::RaiseValidity() to hold cs_main
vasild Jan 19, 2022
ca47b00
Require CBlockIndex::IsValid() to hold cs_main
vasild Jan 19, 2022
eaeeb88
Require IsBlockPruned() to hold mutex cs_main
jonatack Jan 18, 2022
5d59ae0
Remove/inline ReadRawBlockFromDisk(block_data, pindex, message_start)
hebasto Dec 21, 2021
6ea5682
Guard CBlockIndex::nStatus/nFile/nDataPos/nUndoPos by cs_main
jonatack Jan 19, 2022
e30b6ea
Merge bitcoin/bitcoin#24067: wallet: Actually treat (un)confirmed txs…
achow101 Jan 25, 2022
6498ba1
transaction decoding infer output descriptors
instagibbs Sep 3, 2019
01beb46
Merge bitcoin/bitcoin#24153: test: remove unused sanitizer suppressions
fanquake Jan 26, 2022
dd405ad
Merge bitcoin/bitcoin#24154: test: add functional test for `-maxtipag…
Jan 26, 2022
446e73c
build: use macOS 11 SDK (Xcode 12.2)
fanquake May 3, 2021
6fe5516
contrib: support arm64 darwin in security checks
fanquake Jan 11, 2022
ca47f2e
guix: use autoconf 2.71
fanquake Jan 26, 2022
0628815
guix: add arm64-apple-darwin triplet
fanquake Jul 14, 2021
edd70b5
doc: add arm macOS depends platform triplet
jarolrod Mar 11, 2021
2935bd9
Merge bitcoin/bitcoin#24113: test, bugfix: fix intermittent failure i…
Jan 26, 2022
e533242
p2p, contrib: add cjdns hardcoded seeds
jonatack Jan 26, 2022
bcc5676
p2p, contrib: update i2p hardcoded seeds
jonatack Jan 26, 2022
e3699b7
Merge bitcoin/bitcoin#24155: doc: Fix rpc docs
fanquake Jan 26, 2022
21f781a
fs: consistently use fsbridge for {i,o}fstream
fanquake Dec 24, 2021
486261d
fs: add missing <cassert> include
fanquake Dec 24, 2021
5e8975e
fs: consistently use fsbridge for fopen()
fanquake Dec 24, 2021
fa4339e
Extract CTxIn::MAX_SEQUENCE_NONFINAL constant
Jan 10, 2022
3d22371
Merge bitcoin/bitcoin#16795: rpc: have raw transaction decoding infer…
achow101 Jan 26, 2022
4241c19
Merge bitcoin/bitcoin#24134: build: Fix zeromq package when cross-com…
fanquake Jan 27, 2022
d87a37a
Merge bitcoin/bitcoin#24167: fs: consistently use fsbridge:: for ifst…
fanquake Jan 27, 2022
cf5bb04
Merge bitcoin/bitcoin#22932: Add CBlockIndex lock annotations, guard …
laanwj Jan 27, 2022
fa68429
fuzz: Speed up script fuzz target
Jan 27, 2022
196b459
Merge bitcoin/bitcoin#23438: refactor: Use spans of std::byte in seri…
laanwj Jan 27, 2022
c41a116
net: use Sock in CNode
vasild Apr 23, 2021
b683491
scripted-diff: rename CNode::cs_hSocket to CNode::m_sock_mutex
vasild Apr 23, 2021
ef5014d
style: wrap long lines in CNode creation and add some comments
vasild Jan 28, 2022
a4f7c41
Merge bitcoin/bitcoin#21851: release: support cross-compiling for arm…
fanquake Jan 28, 2022
d4e92d8
Merge bitcoin/bitcoin#23508: Add getdeploymentinfo RPC
Jan 28, 2022
faa630a
test: Fix sanitizer suppresions in streams_tests
Jan 28, 2022
1245c62
Merge bitcoin/bitcoin#24139: Avoid unsigned integer overflow in bitco…
Jan 28, 2022
a036358
test: Repair failfast option for test runner
mzumsande Jan 28, 2022
5e20e9e
Prevent possible concurrent CBanDB::Write() calls
hebasto Jan 26, 2022
33bda6a
Fix data race condition in BanMan::DumpBanlist()
hebasto Jan 26, 2022
83c7646
Avoid calling BanMan::SweepBanned() twice in a row
hebasto Jan 18, 2022
99a6b69
Fix race condition for SetBannedSetDirty() calls
hebasto Jan 26, 2022
20276ca
Replace lock with thread safety annotation in CBlockTreeDB::LoadBlock…
jonatack Jan 28, 2022
5b4b8f7
Merge bitcoin-core/gui#526: Add address relay/processed/rate-limited …
hebasto Jan 28, 2022
bad0e7f
doc: Fix typos pointed out by lint-spelling
brunoerg Jan 29, 2022
58ccc88
lint: add creat and ba into ignore-words for lint-spelling
brunoerg Jan 30, 2022
32ee767
Merge bitcoin/bitcoin#24111: build: force CRCCheck in Windows installer
fanquake Jan 31, 2022
5a51815
Merge bitcoin/bitcoin#24129: build: Fix xargs warnings for Guix builds
fanquake Jan 31, 2022
af7b077
Merge bitcoin/bitcoin#24203: doc: Fix typos pointed out by lint-spelling
Jan 31, 2022
4efdbab
Merge bitcoin/bitcoin#24197: Replace lock with thread safety annotati…
Jan 31, 2022
eacc0e8
Merge bitcoin/bitcoin#24168: Fix some race conditions in `BanMan::Dum…
Jan 31, 2022
9237bda
Merge bitcoin/bitcoin#24179: fuzz: Speed up script fuzz target
Jan 31, 2022
b25a752
Merge bitcoin/bitcoin#24146: Avoid integer sanitizer warnings in chain.o
Jan 31, 2022
1111d33
refactor: Make MessageBoxFlags enum underlying type unsigned
Jan 28, 2022
5f4c07b
Merge bitcoin/bitcoin#24136: Extract CTxIn::MAX_SEQUENCE_NONFINAL con…
Jan 31, 2022
fa4595d
test: Remove random line number feature from feature_init.py
Jan 31, 2022
fa7b075
test: Fix feature_init intermittent issues
Jan 28, 2022
ad05e68
Merge bitcoin/bitcoin#24103: Replace RecursiveMutex `m_cs_chainstate`…
Jan 31, 2022
0ff1391
Merge bitcoin/bitcoin#24191: refactor: Make MessageBoxFlags enum unde…
Jan 31, 2022
fadc54b
Fix unsigned integer overflow in tapscript validation weight calculation
Jan 31, 2022
fa2406a
zmq: Fix implicit-integer-sign-change
Jan 31, 2022
fa04187
Fix implicit-integer-sign-change in bloom
Jan 31, 2022
8f137e6
Merge bitcoin/bitcoin#24192: test: Fix feature_init intermittent issues
Jan 31, 2022
11b9684
test: use MiniWallet for rest_interface.py
theStack Jan 31, 2022
438e6f4
test: speedup interface_rest.py by whitelisting peers (immediate tx r…
theStack Jan 31, 2022
148b33c
build: Replace `which` command with `command -v`
hebasto Jan 25, 2022
fcac16f
Merge bitcoin/bitcoin#24190: test: Fix sanitizer suppresions in strea…
Feb 1, 2022
fa5457e
ci: Bump CentOS 8 image
Jan 31, 2022
fa33236
scripted-diff: Rename DOCKER_EXEC to CI_EXEC
Jan 31, 2022
fafc55a
ci: Use dash when building depends in centos build
Feb 1, 2022
36f8e99
Merge bitcoin/bitcoin#24218: zmq: Fix implicit-integer-sign-change
Feb 1, 2022
fad84a2
refactor: Fixup uint64_t-cast style in touched line
Feb 1, 2022
133f73e
Merge bitcoin/bitcoin#24212: ci: Bump CentOS 8 image
Feb 1, 2022
fadcd03
Fix unsigned integer overflow in LoadMempool
Feb 1, 2022
02e1d8d
Merge bitcoin/bitcoin#24083: Revert "Add to spends only transcations …
achow101 Feb 1, 2022
a41976a
Merge bitcoin/bitcoin#24223: test: use MiniWallet for interface_rest.py
Feb 2, 2022
99de806
validation: use stronger EXCLUSIVE_LOCKS_REQUIRED()
vasild Feb 2, 2022
219d728
Merge bitcoin/bitcoin#24219: Fix implicit-integer-sign-change in bloom
Feb 2, 2022
fad8154
test: Avoid testing negative block heights
Feb 2, 2022
01d1845
build, qt: Specify QMAKE_CXX explicitly
hebasto Jan 23, 2022
0bbae23
ci: Drop no longer needed `update-alternatives`
hebasto Jan 23, 2022
9796dca
doc: Install only "-posix" MinGW compiler when possible
hebasto Jan 23, 2022
01e121d
depends: fix capnp's descriptor for make download
theuni Feb 2, 2022
56a0fbf
Merge bitcoin/bitcoin#24156: build: Replace `which` command with `com…
laanwj Feb 2, 2022
df66923
Merge bitcoin/bitcoin#24166: p2p, contrib: add cjdns hardcoded seeds …
laanwj Feb 2, 2022
c545a7a
Merge bitcoin/bitcoin#23948: build: add support for FreeBSD to depends
laanwj Feb 2, 2022
0f43fb5
Merge bitcoin/bitcoin#24240: depends: fix capnp's descriptor for make…
fanquake Feb 3, 2022
c194293
Merge bitcoin/bitcoin#24131: build, qt: Fix Windows cross-compiling w…
fanquake Feb 3, 2022
ffc89d1
build: add support for std::filesystem
fanquake Jun 28, 2021
41d7166
refactor: replace boost::filesystem with std::filesystem
kiminuo Jun 11, 2020
b87f9c5
build: remove boost::filesystem usage
kiminuo Jun 11, 2020
0726932
build: remove Boost::system usage
fanquake Dec 22, 2020
d570a63
qt: Update transifex resource blob to 23.0
laanwj Feb 3, 2022
cf79c56
init: Remove confusing '(possible integer overflow?)' from error message
laanwj Feb 3, 2022
0425507
qt: Update source translations
laanwj Feb 3, 2022
3ace3a1
Merge bitcoin/bitcoin#20744: Use std::filesystem. Remove Boost Filesy…
Feb 3, 2022
fa71114
test: Inline expected_xor
Feb 3, 2022
faee5f8
test: Create fresh CDataStream each time
Feb 3, 2022
fa1b227
Remove broken and unused CDataStream methods
Feb 3, 2022
e8a3882
Merge bitcoin/bitcoin#23604: Use Sock in CNode
laanwj Feb 4, 2022
5152002
Merge bitcoin/bitcoin#24250: Update translations for 0.23 string freeze
laanwj Feb 4, 2022
5c6b3d5
Merge bitcoin-core/gui#524: Replace int with std::chrono in for the t…
hebasto Feb 4, 2022
a5edd19
Merge bitcoin/bitcoin#22151: build: Follow Transifex docs to prepare …
laanwj Feb 4, 2022
80cd64e
Re-enable util_datadir check disabled in #20744
ryanofsky Feb 4, 2022
d216bc8
Re-enable walletinit_verify_walletdir_no_trailing2 test disabled in #…
ryanofsky Feb 4, 2022
824e1ff
bench: Represents paths with fs::path instead of std::string
ryanofsky Feb 3, 2022
8fcb19f
Squashed 'src/minisketch/' changes from 89629eb2c7..7eeb778fef
fanquake Feb 4, 2022
4382d09
Update minisketch subtree to latest upstream
fanquake Feb 4, 2022
b2a8371
Merge bitcoin/bitcoin#24262: upstream: Update minisketch subtree
Feb 4, 2022
fa086d8
test: Properly skip feature_syscall_sandbox in valgrind
Feb 4, 2022
faccb2d
test: Exclude broken feature_init for now
Feb 4, 2022
fa4b619
test: Remove unused valgrind suppressions
Feb 4, 2022
372cb6c
Merge bitcoin/bitcoin#24252: bench: Represent paths with fs::path ins…
fanquake Feb 5, 2022
d570f26
Add bitcoin_config.h to build_msvc/.gitignore
hebasto Feb 5, 2022
b23e037
Merge bitcoin/bitcoin#24268: Add bitcoin_config.h to build_msvc/.giti…
fanquake Feb 5, 2022
1e7564e
Merge bitcoin/bitcoin#24251: Re-enable windows path tests disabled by…
fanquake Feb 5, 2022
b9c113a
util: Avoid buggy std::filesystem:::create_directories() call
hebasto Feb 4, 2022
bac30e8
docs: Move explanation of hardened key syntax closer to KEY section
bitcoinhodler Feb 7, 2022
5034b7f
Merge bitcoin/bitcoin#24217: Fix unsigned integer overflow in tapscri…
Feb 7, 2022
fa65f26
Merge bitcoin/bitcoin#24237: test: Avoid testing negative block heights
Feb 7, 2022
f7a3647
Merge bitcoin/bitcoin#24227: Fix unsigned integer overflow in LoadMem…
Feb 7, 2022
fac6205
Fix integer sanitizer suppressions in validation.cpp
Jan 28, 2022
d1fab9d
test: Call ceildiv helper with integer
mzumsande Feb 2, 2022
9392e13
Merge bitcoin/bitcoin#24195: test: Fix failfast option for functional…
Feb 7, 2022
eca694a
Merge bitcoin/bitcoin#24239: test: fix ceildiv division by using inte…
Feb 7, 2022
d644c45
build, refactor: Drop redundant `$(package)_download_file` assignments
hebasto Feb 8, 2022
87b5b00
Merge bitcoin/bitcoin#24259: test: Remove unused valgrind suppressions
fanquake Feb 8, 2022
8afcc89
Merge bitcoin/bitcoin#24282: docs: Move explanation of hardened key s…
fanquake Feb 8, 2022
8edb041
Merge bitcoin/bitcoin#24266: util: Avoid buggy std::filesystem:::crea…
Feb 8, 2022
280a777
Merge bitcoin/bitcoin#24235: validation: use stronger EXCLUSIVE_LOCKS…
Feb 8, 2022
b7942c9
Merge bitcoin-core/gui#404: Fix various edge case bugs in QValidatedL…
hebasto Feb 9, 2022
8ac7997
Merge bitcoin/bitcoin#24196: Fix integer sanitizer suppressions in va…
Feb 9, 2022
6ac637f
Merge bitcoin/bitcoin#24288: build, refactor: Drop redundant `$(packa…
fanquake Feb 9, 2022
5e8e0b3
Merge bitcoin/bitcoin#24253: Remove broken and unused CDataStream met…
laanwj Feb 9, 2022
fd2395f
Rename pkg.m4 to uvhw/pkg.m4
uvhw Feb 9, 2022
57f6f70
Merge branch 'bitcoin:master' into patch-4
uvhw Feb 9, 2022
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
  •  
  •  
  •  
312 changes: 312 additions & 0 deletions .cirrus.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,312 @@
env: # Global defaults
PACKAGE_MANAGER_INSTALL: "apt-get update && apt-get install -y"
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"
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
filter_template: &FILTER_TEMPLATE
skip: $CIRRUS_REPO_FULL_NAME == "bitcoin-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
stateful: false # https://cirrus-ci.org/guide/writing-tasks/#stateful-tasks

base_template: &BASE_TEMPLATE
<< : *FILTER_TEMPLATE
merge_base_script:
# Unconditionally install git (used in fingerprint_script) and set the
# default git author name (used in verify-commits.py)
- bash -c "$PACKAGE_MANAGER_INSTALL git"
- git config --global user.email "[email protected]"
- git config --global user.name "ci"
- if [ "$CIRRUS_PR" = "" ]; then exit 0; fi
- git fetch $CIRRUS_REPO_CLONE_URL $CIRRUS_BASE_BRANCH
- git merge FETCH_HEAD # Merge base to detect silent merge conflicts

main_template: &MAIN_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
greedy: true
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"
fingerprint_script: echo $CIRRUS_TASK_NAME $(git rev-list -1 HEAD ./depends)
ci_script:
- ./ci/test_run_all.sh

global_task_template: &GLOBAL_TASK_TEMPLATE
<< : *BASE_TEMPLATE
<< : *MAIN_TEMPLATE

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 == 'bitcoin/bitcoin' && $CIRRUS_PR != ""

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: "Win64 native [msvc]"
<< : *FILTER_TEMPLATE
windows_container:
cpu: 4
memory: 8G
image: cirrusci/windowsservercore:visualstudio2019
timeout_in: 120m
env:
PATH: 'C:\jom;C:\Python39;C:\Python39\Scripts;C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\Bin;%PATH%'
PYTHONUTF8: 1
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.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'
merge_script:
- git config --global user.email "[email protected]"
- git config --global user.name "ci"
# Windows filesystem loses the executable bit, and all of the executable
# files are considered "modified" now. It will break the following `git merge`
# command. The next two commands make git ignore this issue.
- git config core.filemode false
- git reset --hard
- PowerShell -NoLogo -Command if ($env:CIRRUS_PR -ne $null) { git fetch $env:CIRRUS_REPO_CLONE_URL $env:CIRRUS_BASE_BRANCH; git merge FETCH_HEAD; }
msvc_qt_built_cache:
folder: "%QTBASEDIR%"
reupload_on_changes: false
fingerprint_script:
- echo %QT_DOWNLOAD_URL%
- msbuild -version
populate_script:
- curl -L -o C:\jom.zip http://download.qt.io/official_releases/jom/jom.zip
- mkdir C:\jom
- tar -xf C:\jom.zip -C C:\jom
- curl -L -o %QT_LOCAL_PATH% %QT_DOWNLOAD_URL%
- tar -xf %QT_LOCAL_PATH% -C C:\
- '%x64_NATIVE_TOOLS%'
- cd %QT_SOURCE_DIR%
- mkdir build
- cd build
- ..\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:
folder: '%VCPKG_DOWNLOADS%\tools'
reupload_on_changes: false
fingerprint_script:
- echo %CI_VCPKG_TAG%
- msbuild -version
vcpkg_binary_cache:
folder: '%VCPKG_DEFAULT_BINARY_CACHE%'
reupload_on_changes: true
fingerprint_script:
- echo %CI_VCPKG_TAG%
- msbuild -version
populate_script:
- mkdir %VCPKG_DEFAULT_BINARY_CACHE%
install_python_script:
- choco install --yes --no-progress python3 --version=3.9.6
- pip install zmq
- python -VV
install_vcpkg_script:
- cd ..
- git clone --quiet https://github.com/microsoft/vcpkg.git
- cd vcpkg
- git -c advice.detachedHead=false checkout %CI_VCPKG_TAG%
- .\bootstrap-vcpkg -disableMetrics
- echo set(VCPKG_BUILD_TYPE release) >> triplets\x64-windows-static.cmake
- .\vcpkg integrate install
- .\vcpkg version
build_script:
- cd %CIRRUS_WORKING_DIR%
- python build_msvc\msvc-autogen.py
- msbuild build_msvc\bitcoin.sln -property:Configuration=Release -maxCpuCount -verbosity:minimal -noLogo
unit_tests_script:
- src\test_bitcoin.exe -l test_suite
- src\bench_bitcoin.exe > NUL
- python test\util\test_runner.py
- python test\util\rpcauth-test.py
functional_tests_script:
# Increase the dynamic port range to the maximum allowed value to mitigate "OSError: [WinError 10048] Only one usage of each socket address (protocol/network address/port) is normally permitted".
# See: https://docs.microsoft.com/en-us/biztalk/technical-guides/settings-that-can-be-modified-to-improve-network-performance
- netsh int ipv4 set dynamicport tcp start=1025 num=64511
- netsh int ipv6 set dynamicport tcp start=1025 num=64511
# Exclude feature_dbcrash for now due to timeout
- python test\functional\test_runner.py --nocleanup --ci --quiet --combinedlogslen=4000 --jobs=4 --timeout-factor=8 --extended --exclude feature_dbcrash

task:
name: 'ARM [unit tests, no functional tests] [bullseye]'
<< : *GLOBAL_TASK_TEMPLATE
arm_container:
image: debian:bullseye
cpu: 2
memory: 8G
env:
<< : *CIRRUS_EPHEMERAL_WORKER_TEMPLATE_ENV
FILE_ENV: "./ci/test/00_setup_env_arm.sh"
QEMU_USER_CMD: "" # Disable qemu and run the test natively

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: quay.io/centos/centos:stream8
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: '[TSan, depends, 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
FILE_ENV: "./ci/test/00_setup_env_native_tsan.sh"

task:
name: '[MSan, depends] [focal]'
<< : *GLOBAL_TASK_TEMPLATE
container:
image: ubuntu:focal
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]'
<< : *GLOBAL_TASK_TEMPLATE
container:
image: ubuntu:jammy
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]'
only_if: $CIRRUS_BRANCH == $CIRRUS_DEFAULT_BRANCH || $CIRRUS_BASE_BRANCH == $CIRRUS_DEFAULT_BRANCH
<< : *GLOBAL_TASK_TEMPLATE
container:
image: ubuntu:focal
cpu: 4 # Increase CPU and memory to avoid timeout
memory: 16G
env:
<< : *CIRRUS_EPHEMERAL_WORKER_TEMPLATE_ENV
FILE_ENV: "./ci/test/00_setup_env_native_fuzz.sh"

task:
name: '[multiprocess, i686, 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
FILE_ENV: "./ci/test/00_setup_env_i686_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]'
<< : *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=23.1.7779620"
depends_sources_cache:
folder: "depends/sources"
fingerprint_script: git rev-list -1 HEAD ./depends
<< : *MAIN_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, .fuzzbuzz.yml, etc.
[*.yml]
indent_size = 2

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

# Autoconf scripts
[configure.ac]
indent_size = 2
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1 @@
src/version.cpp export-subst
src/clientversion.cpp export-subst
27 changes: 27 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<!-- This issue tracker is only for technical issues related to Bitcoin Core.

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

For reporting security issues, please read instructions at https://bitcoincore.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!

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

<!-- Describe the issue -->
<!--- What behavior did you expect? -->

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

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

<!-- What version of Bitcoin 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