Skip to content
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
3118425
Merge bitcoin/bitcoin#25931: rpc: sort listdescriptors result
achow101 Sep 1, 2022
36e1b52
Merge bitcoin/bitcoin#25951: log: Move validation option logging to L…
Sep 1, 2022
f663b43
QA: rpc_blockchain: Test output of getblock verbosity 0, False, and True
luke-jr Sep 1, 2022
7921026
Merge bitcoin/bitcoin#19602: wallet: Migrate legacy wallets to descri…
achow101 Sep 1, 2022
88e7807
test: fix non-determinism in p2p_headers_sync_with_minchainwork.py
sdaftuar Sep 1, 2022
7281fac
Merge bitcoin/bitcoin#25614: Severity-based logging, step 2
achow101 Sep 1, 2022
ea67232
Merge bitcoin/bitcoin#25962: net: Add CNodeOptions and increase const…
Sep 2, 2022
4296dde
Prevent data race for `pathHandlers`
hebasto Sep 2, 2022
2186608
test: apply fixed feerate to avoid variable dynamic fees
stickies-v Sep 2, 2022
604015a
Merge bitcoin/bitcoin#25914: test: Fix intermittent issue in p2p_leak.py
fanquake Sep 4, 2022
85f0f93
build: sync ax_boost_base from upstream
fanquake Sep 4, 2022
e531e34
build: fix configuring with --without-experimental-kernel-lib
fanquake Sep 4, 2022
df31e46
Merge bitcoin/bitcoin#25861: guix: use --build={arch}-guix-linux-gnu …
fanquake Sep 4, 2022
0ebd4db
Merge bitcoin/bitcoin#25978: test: fix non-determinism in p2p_headers…
fanquake Sep 4, 2022
644772b
message-capture-parser: fix AssertionError on parsing `headers` message
theStack Sep 4, 2022
a7dbf74
test: remove Boost Test from libtest util
fanquake Sep 5, 2022
e864f2e
Merge bitcoin/bitcoin#25976: QA: rpc_blockchain: Test output of getbl…
Sep 5, 2022
5291933
Merge bitcoin/bitcoin#25768: wallet: Properly rebroadcast unconfirmed…
glozow Sep 5, 2022
5182940
RPC: fix sendall docs
ajtowns Sep 5, 2022
fa64228
fuzz: Avoid timeout in bitdeque fuzz target
Sep 5, 2022
2d0b4e4
init: allow startup with -onlynet=onion -listenonion=1
vasild Apr 26, 2022
af2a7c8
guix: consistently use -ffile-prefix-map
fanquake Sep 6, 2022
fa4ba04
fuzz: Remove no-op call to get()
Sep 6, 2022
447f50e
Merge bitcoin/bitcoin#25946: Update chainparams for 24.0 release
Sep 6, 2022
91f0a7f
p2p: add only reachable addresses to addrman
mzumsande Jul 22, 2022
385f5a4
p2p: Don't query DNS seeds when both IPv4 and IPv6 are unreachable
mzumsande Jul 22, 2022
124e75a
Merge bitcoin/bitcoin#26010: RPC: fix sendall docs
achow101 Sep 6, 2022
5f28fc8
qt: Cleanup translation comment
hebasto Sep 7, 2022
8ed2b72
qt: Prevent wrong handling of `%2` token by Transifex
hebasto Sep 7, 2022
fc44d17
Merge bitcoin/bitcoin#25983: Prevent data race for `pathHandlers`
Sep 7, 2022
37095c7
Merge bitcoin/bitcoin#25678: p2p: skip querying dns seeds if `-onlyne…
fanquake Sep 7, 2022
1941ce6
test: Fix `wallet_basic.py` for BDB-only wallets
hebasto Sep 7, 2022
9f3a315
test: Fix `wallet_listsinceblock.py` for BDB-only wallets
hebasto Sep 7, 2022
2557429
Merge bitcoin/bitcoin#26037: test: Fix `wallet_{basic,listsinceblock}…
Sep 8, 2022
0cd7928
guix: use git-minimal over git
fanquake Sep 7, 2022
07b6e74
test: Display skipped tests reason
aureleoules Sep 7, 2022
667401a
[test] only run feature_rbf.py once
glozow Sep 8, 2022
4b1d5a1
test: invalidating an unknown block throws an error
brunoerg Sep 7, 2022
37f5386
Merge bitcoin/bitcoin#26038: test: invalidating an unknown block thro…
Sep 8, 2022
b2215b3
Merge bitcoin/bitcoin#26018: guix: consistently use -ffile-prefix-map
fanquake Sep 8, 2022
ce42570
doc: comment "add only reachable addresses to addrman"
kristapsk Sep 7, 2022
19585ee
Merge bitcoin/bitcoin#25853: net: update testnet torv3 hardcoded seed…
Sep 9, 2022
a9049dd
Merge bitcoin/bitcoin#26002: build: sync ax_boost_base from upstream
fanquake Sep 9, 2022
013924a
Merge bitcoin/bitcoin#26031: test: Display skipped tests reason
Sep 9, 2022
dd3ada6
Merge bitcoin/bitcoin#25990: test: apply fixed feerate to avoid varia…
Sep 9, 2022
3c5fb96
Merge bitcoin/bitcoin#26007: [contrib] message-capture-parser: fix As…
Sep 9, 2022
1b348d2
[mempool] replace update_descendant_state with lambda
glozow Sep 8, 2022
ef5bb74
Merge bitcoin/bitcoin#26040: doc: comment "add only reachable address…
Sep 9, 2022
00eeb31
scripted-diff: rename CChainState -> Chainstate
jamesob Mar 9, 2022
4f67336
test: verify best blockhash after invalidating an unknown block
brunoerg Sep 9, 2022
d26c3cc
wallet: bugfix, load wallet with an unknown descriptor cause fatal error
furszy Sep 6, 2022
e066763
wallet: coverage for loading an unknown descriptor
furszy Sep 7, 2022
8ca51aa
Merge bitcoin/bitcoin#26009: test: remove Boost Test from libtest_util
Sep 10, 2022
bb378b6
Merge bitcoin/bitcoin#26054: test: verify best blockhash after invali…
Sep 10, 2022
55e468f
build: Add `-no-mimetype-database` option to qt package in depends
hebasto Sep 10, 2022
d0433a3
guix: Drop perl package
hebasto Sep 10, 2022
2e34374
Merge bitcoin/bitcoin#26003: build: fix configuring with `--without-e…
fanquake Sep 10, 2022
beb9426
Revert "guix: Build depends/qt with our platform definition"
hebasto Sep 10, 2022
5558d2f
Merge bitcoin/bitcoin#26048: mempool clean up: replace update_* struc…
Sep 12, 2022
8b2891a
i2p: use the same destination type for transient and persistent addre…
vasild Sep 12, 2022
fa2b8ae
util: improve bitcoin-wallet exit codes
Sep 12, 2022
2870a97
RPC: unify arg type error message
furszy Sep 12, 2022
b50a4b7
build: quiet warnings in system headers installed from homebrew
theuni Sep 12, 2022
995fdef
Merge bitcoin/bitcoin#26059: Revert "guix: Build depends/qt with our …
fanquake Sep 13, 2022
e9e943c
Merge bitcoin/bitcoin#26069: rpc: unify arg type error message
fanquake Sep 13, 2022
a361c6c
Merge bitcoin/bitcoin#26047: guix: use git-minimal over git
fanquake Sep 13, 2022
94d1784
Merge bitcoin/bitcoin#24991: init: allow startup with -onlynet=onion …
fanquake Sep 13, 2022
141540a
Merge bitcoin/bitcoin#25222: refactor: Pass reference to LookUpStats
Sep 13, 2022
3a7e0a2
Merge bitcoin/bitcoin#24513: CChainState -> Chainstate
glozow Sep 13, 2022
c856883
Merge bitcoin/bitcoin#26021: wallet: bugfix, load a wallet with an un…
achow101 Sep 13, 2022
29d540b
Merge bitcoin/bitcoin#26070: build: Quiet warnings in symlinked heade…
fanquake Sep 13, 2022
12de8f6
build: extract $(BOOST_CPPFLAGS) from $(BITCOIN_INCLUDES)
fanquake Sep 9, 2022
fa2c72d
rpc: Set RPCArg options with designated initializers
Sep 13, 2022
97f5b20
refactor: use std::string for thread names
stickies-v Aug 31, 2022
200d84d
refactor: use std::string for index names
stickies-v Aug 31, 2022
ddbcfdf
RPC: bugfix, 'add_inputs' default value is true unless 'inputs' are p…
furszy Sep 9, 2022
6f8e381
sendall: check if the maxtxfee has been exceeded
ishaanam Sep 13, 2022
13fd9ee
Merge bitcoin/bitcoin#26056: build: extract $(BOOST_CPPFLAGS) from $(…
fanquake Sep 14, 2022
f839697
build: remove BOOST_CPPFLAGS usage from bitcoin-tx
fanquake Sep 14, 2022
a10df7c
build: prune BOOST_CPPFLAGS from libbitcoin_zmq
fanquake Sep 14, 2022
26cf9ea
scripted-diff: rename pszThread to thread_name
stickies-v Sep 14, 2022
02c9e56
fs: fully initialize _OVERLAPPED for win32
theuni Sep 13, 2022
a8c3590
Merge bitcoin/bitcoin#25831: refactor: Remove trailing semicolon from…
Sep 14, 2022
faa4916
test/doc: Remove unused syncwithvalidationinterfacequeue
Sep 14, 2022
34a2f91
Revert "doc: note that brew installed qt is not supported"
hebasto Sep 13, 2022
c67d6f5
Merge bitcoin/bitcoin#26079: Revert "doc: note that brew installed qt…
fanquake Sep 14, 2022
bc29c4d
Merge bitcoin-core/gui#663: Cleanup translation comment
hebasto Sep 14, 2022
f523df1
Merge bitcoin-core/gui#664: Prevent wrong handling of `%2` token by T…
hebasto Sep 14, 2022
6725030
qt: Update translation source file for string freeze (round 2)
hebasto Sep 14, 2022
b00fc44
test: add coverage for 'add_inputs' dynamic default value
furszy Sep 9, 2022
d190003
Merge bitcoin-core/gui#669: Update translation source file for string…
hebasto Sep 14, 2022
2e3cd26
Merge bitcoin/bitcoin#26053: rpc: bugfix, 'add_inputs' default value …
achow101 Sep 14, 2022
1e78f56
net: add NetEventsInterface::g_msgproc_mutex
ajtowns Sep 7, 2022
bf12abe
net: drop cs_sendProcessing
ajtowns Sep 13, 2022
718304d
Merge bitcoin/bitcoin#26084: sendall: check if the maxtxfee has been …
Sep 15, 2022
fa1ce96
test: Add missing syncwithvalidationinterfacequeue
Sep 14, 2022
afce044
build: remove unused natpmp / upnp cppflags
fanquake Sep 14, 2022
4b656b9
build: remove unused libevent cppflags
fanquake Sep 15, 2022
ff7c81f
build: remove duplicate / unneeded libs from bench_bitcoin
fanquake Sep 15, 2022
cc434cb
wallet: fix sendall creates tx that fails tx-size check
kouloumos Sep 6, 2022
a66a7cc
net_processing: add thread safety annotations for Peer members access…
ajtowns Sep 13, 2022
0ae7987
net_processing: add thread safety annotations for PeerManagerImpl mem…
ajtowns Sep 13, 2022
d575a67
net_processing: add thread safety annotation for m_highest_fast_announce
ajtowns Sep 7, 2022
8f2010d
Bump codespell version to 2.2.1
jonatack Sep 15, 2022
b6a6556
Fix issues identified by codespell 2.2.1 and update ignored words
jonatack Sep 14, 2022
5556663
rpc: treat univalue type check error as RPC_TYPE_ERROR, not RPC_MISC_…
furszy Sep 14, 2022
e68d380
rpc: remove unneeded RPCTypeCheckArgument checks
furszy Jul 29, 2022
20f03a5
Merge bitcoin/bitcoin#26089: build: remove unused cppflags
fanquake Sep 15, 2022
f332c4f
Merge bitcoin/bitcoin#26090: fs: fully initialize `_OVERLAPPED` for w…
fanquake Sep 15, 2022
b0349a7
doc: consolidate & remove release-note fragments
fanquake Sep 14, 2022
96f1b2d
Merge bitcoin/bitcoin#26091: test: Fix syncwithvalidationinterfaceque…
achow101 Sep 15, 2022
a56876e
Merge bitcoin/bitcoin#26024: wallet: fix sendall creates tx that fail…
achow101 Sep 15, 2022
04fee75
Use ReadLE64 in uint256::GetUint64() instead of duplicating logic
sipa Sep 15, 2022
27351fb
Merge bitcoin/bitcoin#26093: doc: consolidate release-note fragments …
Sep 16, 2022
19526d9
Merge bitcoin/bitcoin#26065: i2p: use the same destination type for t…
fanquake Sep 16, 2022
2530a24
Merge bitcoin/bitcoin#26105: Use ReadLE64 in uint256::GetUint64 inste…
fanquake Sep 16, 2022
1d6c605
Merge bitcoin/bitcoin#26057: build, guix: Get rid of perl dependency
fanquake Sep 16, 2022
08785aa
Merge bitcoin/bitcoin#25499: Use steady clock for all millis bench lo…
fanquake Sep 16, 2022
5eb9781
Merge bitcoin/bitcoin#25971: refactor: Use std::string for thread and…
Sep 16, 2022
5a724d1
Merge bitcoin/bitcoin#25918: build: prune event2 compat headers
fanquake Sep 16, 2022
3d892d8
Merge bitcoin/bitcoin#26086: build: remove BOOST_CPPFLAGS usage from …
fanquake Sep 16, 2022
9fefd00
Merge bitcoin/bitcoin#26107: [test] only run feature_rbf.py once
Sep 16, 2022
a688ff9
Merge bitcoin/bitcoin#26087: build: prune BOOST_CPPFLAGS from libbitc…
fanquake Sep 16, 2022
c36afe3
contrib: remove 32bit linux code from release scripts
fanquake Sep 13, 2022
656f9b0
contrib: remove outdated comment from symbol-check script
fanquake Sep 16, 2022
335ff98
Bugfix: Wallet: Wrap RestoreWallet content in a try block to ensure e…
luke-jr Sep 4, 2022
c3e5365
Bugfix: Wallet: Return util::Error rather than non-error nullptr when…
luke-jr Sep 4, 2022
4cb8f9a
Permit delaying duplicate key check in miniscript::Node construction
sipa Jun 10, 2022
e8cc2e4
Make miniscript string parsing account for exact script size as bound
sipa Jul 5, 2022
58b7df3
wallet: AvailableCoins, simplify output script type acquisition
furszy Aug 25, 2022
1fcf9e6
rpc: Allow importmulti watchonly imports with locked wallet
aureleoules Sep 17, 2022
a9ffebd
Merge bitcoin/bitcoin#26075: contrib: remove 32bit linux code from re…
fanquake Sep 18, 2022
2c03465
test: Test watchonly imports with passphrase-locked wallet
aureleoules Sep 17, 2022
faf5bb8
doc: Move -permitbaremultisig to the relay help category
Sep 19, 2022
55e1deb
Merge bitcoin/bitcoin#25540: miniscript: avoid wasteful computation, …
glozow Sep 19, 2022
a8a9ed6
init: Abort if i2p/cjdns are chosen via -onlynet but unreachable
mzumsande Sep 1, 2022
68209a7
rpc: make addpeeraddress work with cjdns addresses
mzumsande Sep 1, 2022
9f65006
Merge bitcoin/bitcoin#26005: Wallet: Fix error handling (copy_file fa…
fanquake Sep 19, 2022
0567b56
build: Bump version to 24.99
fanquake Sep 19, 2022
6e11e20
Merge bitcoin/bitcoin#26121: build: Bump version to 24.99
Sep 19, 2022
9843a8c
Merge bitcoin/bitcoin#26119: doc: Move -permitbaremultisig to the rel…
Sep 19, 2022
d3d6a18
docs: Add 371 to bips.md
achow101 Sep 19, 2022
0b02ce9
Merge bitcoin/bitcoin#26124: docs: Add 371 to bips.md
glozow Sep 19, 2022
74eb194
test: check that bumping tx with already spent coin fails
theStack Sep 19, 2022
a60d9eb
Bugfix: Wallet: Lock cs_wallet for SignMessage
luke-jr Sep 20, 2022
9d14f27
log: log RPC port on startup
jamesob Sep 20, 2022
d76a423
Merge bitcoin/bitcoin#26067: util: improve bitcoin-wallet exit codes
Sep 20, 2022
699f342
doc: add historical 0.20.2 release notes
fanquake Sep 19, 2022
cb075d2
doc: add historical 0.21.2 release notes
fanquake Sep 19, 2022
71ac70d
Merge bitcoin/bitcoin#26095: script: bump codespell to 2.2.1, update …
Sep 20, 2022
fad6157
Fix nNextResend data race in ResubmitWalletTransactions
Sep 20, 2022
eb6026b
build: remove strings.h from header checks
fanquake Sep 20, 2022
5b6f0f3
Merge bitcoin/bitcoin#26036: net: add NetEventsInterface::g_msgproc_m…
fanquake Sep 20, 2022
faeea28
test: Avoid race in disconnect_nodes helper
Sep 20, 2022
fc40175
Merge bitcoin/bitcoin#26116: rpc: Allow importmulti watchonly imports…
achow101 Sep 20, 2022
9bd842a
Merge bitcoin/bitcoin#26127: test: check that bumping tx with already…
Sep 20, 2022
aee29c5
test: wait for the expected basic block filter index in `interface_rest`
brunoerg Sep 20, 2022
9e2a2b8
Merge bitcoin/bitcoin#26132: wallet: Fix nNextResend data race in Res…
achow101 Sep 20, 2022
7184fb8
Merge bitcoin/bitcoin#26143: test: wait for the expected basic block …
Sep 21, 2022
97f865b
Merge bitcoin/bitcoin#25989: init: abort if i2p/cjdns are chosen via …
fanquake Sep 21, 2022
3c537f1
Merge bitcoin/bitcoin#25873: depends: Boost 1.80.0
fanquake Sep 21, 2022
b1f44ec
Merge bitcoin/bitcoin#25737: rpc: treat univalue type check error as …
fanquake Sep 21, 2022
80d1598
Merge bitcoin/bitcoin#26099: build: remove duplicate / unneeded libs …
fanquake Sep 21, 2022
648f695
Correct sanity-checking script_size calculation
sipa Sep 21, 2022
25cd47d
Merge bitcoin/bitcoin#25933: wallet: AvailableCoins, simplify output …
achow101 Sep 21, 2022
4e15a28
Merge bitcoin/bitcoin#26135: build: remove strings.h from header checks
fanquake Sep 21, 2022
b956331
refactor: use <cstdio> over stdio.h
fanquake Sep 20, 2022
55aad5f
build: remove stdio.h from header checks
fanquake Sep 20, 2022
74e54cc
Merge bitcoin/bitcoin#25917: depends: libnatpmp 07004b97cf691774efebe…
fanquake Sep 21, 2022
2b2c970
Merge bitcoin/bitcoin#26149: Fix assert failure in miniscript string …
achow101 Sep 21, 2022
590d206
Merge bitcoin/bitcoin#26150: build: remove stdio.h from header checks
fanquake Sep 22, 2022
100949a
Merge bitcoin/bitcoin#26012: fuzz: Avoid timeout in bitdeque fuzz target
fanquake Sep 22, 2022
d99af86
test: check that `listdescriptors` descriptor strings are sorted
theStack Sep 22, 2022
a63d4cb
refactor: use <cstdlib> over stdlib.h
fanquake Sep 23, 2022
553ff45
build: remove stdlib.h from header checks
fanquake Sep 23, 2022
73ae72e
build: remove unused MSVC defines
fanquake Sep 23, 2022
bdcafb9
p2p: ProcessHeadersMessage(): fix received_new_header
LarryRuane Sep 24, 2022
0cfbb17
Merge bitcoin/bitcoin#26130: Bugfix: Wallet: Lock cs_wallet for SignM…
Sep 24, 2022
ec13810
Merge bitcoin/bitcoin#26159: build: Remove `stdlib.h` from header checks
Sep 25, 2022
f227e15
Merge bitcoin/bitcoin#26161: build: remove unused MSVC defines
fanquake Sep 26, 2022
810c3dc
doc, rpc: mention that `listdescriptors` result is sorted by string r…
theStack Sep 26, 2022
eeac05a
Merge bitcoin/bitcoin#26156: test: check that `listdescriptors` descr…
Sep 27, 2022
9fcdb9f
Merge bitcoin/bitcoin#26172: p2p: ProcessHeadersMessage(): fix receiv…
glozow Sep 27, 2022
bff4e06
refactor: Do not discard `try_lock()` return value
hebasto Aug 10, 2022
b2da6dd
Merge bitcoin/bitcoin#26138: test: Avoid race in disconnect_nodes helper
glozow Sep 28, 2022
d8ded8b
ci: Use git2.34 for lint task
Sep 28, 2022
291e363
Merge bitcoin/bitcoin#26195: ci: Use git2.34 for lint task
Sep 28, 2022
51a08f4
signet/miner: reduce default interblock interval limit to 30min
ajtowns Sep 29, 2022
fad7281
ci: Use remote pull/merge ref instead of local git merge
Sep 29, 2022
1a463c7
Squashed 'src/leveldb/' changes from 22f1e4a02f..e2f10b4e47
fanquake Sep 29, 2022
13601da
Update leveldb-subtree subtree to latest upstream
fanquake Sep 29, 2022
437b608
Merge bitcoin/bitcoin#26202: ci: Use remote pull/merge ref instead of…
Sep 29, 2022
33eef56
Merge bitcoin/bitcoin#26074: refactor: Set RPCArg options with design…
Sep 30, 2022
281e7c7
ci: Bump vcpkg to the latest version `2022.09.27`
hebasto Sep 30, 2022
be59bd1
contrib: Fix capture_output in getcoins.py
willcl-ark Sep 30, 2022
f59e915
Merge bitcoin/bitcoin#26131: log: log RPC port on startup
Sep 30, 2022
fa5752d
fuzz: Limit outpoints.size in txorphan target to avoid OOM
Sep 30, 2022
079cf88
refactor: move Boost datetime usage to wallet
fanquake Sep 28, 2022
5c5af74
Merge pull request #1 from bitcoin/master
ryihan Oct 1, 2022
ae1e1dc
Update libsecp256k1_config.h
ryihan Oct 1, 2022
76b79c1
wallet: Use correct effective value when checking target
aureleoules Sep 29, 2022
d0d9cf7
test: Check external coin effective value is used in CoinSelection
aureleoules Sep 29, 2022
3a230f4
Merge bitcoin/bitcoin#26211: ci: Bump vcpkg to the latest version `20…
Oct 2, 2022
abf2090
Merge bitcoin/bitcoin#26212: contrib: Fix capture_output in getcoins.py
Oct 2, 2022
13ec2c1
Merge bitcoin/bitcoin#24084: doc: add information about status code 4…
fanquake Oct 2, 2022
93001b1
Merge bitcoin/bitcoin#26216: fuzz: Limit outpoints.size in txorphan t…
fanquake Oct 2, 2022
5c9a27a
test: Use proper Boost macros instead of assertions
hebasto Oct 2, 2022
91bee4d
ci: Run `bench_bitcoin.exe --sanity-check` in "Win64 native" task
hebasto Oct 2, 2022
a9d20ee
doc: bump bips.md up-to-date version to v24.0
theStack Oct 2, 2022
25742aa
Merge bitcoin/bitcoin#26231: doc: bump bips.md up-to-date version to …
fanquake Oct 3, 2022
6c5ef5d
Merge bitcoin/bitcoin#26208: signet/miner: reduce default interblock …
fanquake Oct 3, 2022
132d98a
Merge bitcoin/bitcoin#26229: test: Use proper Boost macros instead of…
Oct 3, 2022
c21b32c
Merge bitcoin/bitcoin#26198: refactor: move Boost Datetime usage to w…
fanquake Oct 3, 2022
30cc1c6
refactor: Drop `owns_lock()` call
hebasto Oct 3, 2022
3baa0f5
Merge bitcoin/bitcoin#26230: ci: Run `bench_bitcoin.exe --sanity-chec…
Oct 3, 2022
b92b12e
Merge bitcoin/bitcoin#25735: net: remove useless call to IsReachable(…
fanquake Oct 3, 2022
2bfc1e6
refactor: move DEFAULT_TXINDEX from validation to txindex
fanquake Oct 3, 2022
c87d569
refactor: move DEFAULT_COINSTATSINDEX from validation to coinstatsindex
fanquake Oct 3, 2022
7d14577
refactor: move DEFAULT_BLOCKFILTERINDEX from val to blockfilterindex
fanquake Oct 3, 2022
1730f6c
Merge bitcoin/bitcoin#26189: refactor: Do not discard `try_lock()` re…
fanquake Oct 3, 2022
4bee62e
kernel: remove util/bytevectorhash.cpp
fanquake Oct 3, 2022
ac1d992
ci: Move `git config` commands into script where they are used
hebasto Oct 3, 2022
37cf472
ci: Use same `merge_script` implementation for Windows as for all
hebasto Oct 3, 2022
cda6c79
Merge bitcoin/bitcoin#26203: wallet: Use correct effective value when…
glozow Oct 4, 2022
44a2975
Merge bitcoin/bitcoin#26209: Update leveldb subtree
fanquake Oct 4, 2022
f65a2c6
Merge bitcoin/bitcoin#26237: kernel: remove util/bytevectorhash.cpp
Oct 4, 2022
fac085a
ci: Remove unused package
Oct 4, 2022
fa6054e
ci: Allow PIP_PACKAGES on centos
Oct 3, 2022
914c000
Merge bitcoin/bitcoin#26235: refactor: move *index constants out of v…
Oct 4, 2022
fa9436e
test: Remove unused fCheckpointsEnabled from miner_tests
Jul 26, 2022
f3e40c4
build, msvc: Enable C4834 warning
hebasto Oct 4, 2022
92e9fc6
Merge bitcoin/bitcoin#26128: doc: add missing historical release notes
fanquake Oct 4, 2022
4fa50dd
Merge bitcoin/bitcoin#26236: ci: Use same `merge_script` implementati…
fanquake Oct 4, 2022
b8d361a
ci: Workaround Windows filesystem executable bit loss
hebasto Oct 4, 2022
2d8d9ae
Merge bitcoin/bitcoin#26249: ci: Workaround Windows filesystem execut…
Oct 4, 2022
d919e8d
Merge bitcoin/bitcoin#26244: build, msvc: Enable C4834 warning
fanquake Oct 4, 2022
eb15569
fuzz: add util/mempool/h.cpp
fanquake Sep 30, 2022
8a6b6df
fuzz: pass max fee into ConsumeTxMemPoolEntry
fanquake Oct 4, 2022
b6565b6
Merge bitcoin/bitcoin#26243: test: Remove unused fCheckpointsEnabled …
fanquake Oct 4, 2022
a23f8c8
Merge bitcoin/bitcoin#26234: ci: Allow PIP_PACKAGES on centos
fanquake Oct 4, 2022
5c5b85d
refactor: Make 64-bit shift explicit
hebasto Aug 10, 2022
d3cdd37
Merge bitcoin/bitcoin#26250: fuzz: add mempool_utils.cpp
Oct 5, 2022
fa04376
Remove clang-format from lint task
Oct 2, 2022
b2e6d37
Merge bitcoin/bitcoin#26256: ci: Remove clang-format from lint task
Oct 5, 2022
5e82b9b
Merge bitcoin/bitcoin#26252: refactor: Make 64-bit shift explicit
Oct 5, 2022
292f652
Merge bitcoin/bitcoin#24364: refactor: remove duplicate code from Blo…
glozow Oct 6, 2022
97007e2
test: Prevent UB in `minisketch_tests.cpp`
hebasto Oct 6, 2022
73b6171
Merge bitcoin/bitcoin#26272: test: Prevent UB in `minisketch_tests.cpp`
Oct 6, 2022
db4c57c
Merge pull request #2 from bitcoin/master
ryihan Oct 7, 2022
3f5979b
Update bitcoin_runtime_lib.m4
ryihan Oct 7, 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
  •  
  •  
  •  
340 changes: 340 additions & 0 deletions .cirrus.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,340 @@
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
CI_FAILFAST_TEST_LEAVE_DANGLING: "1" # Cirrus CI does not care about dangling process and setting this variable avoids killing the CI script itself on error
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).
- bash -c "$PACKAGE_MANAGER_INSTALL git"
- if [ "$CIRRUS_PR" = "" ]; then exit 0; fi
- git fetch $CIRRUS_REPO_CLONE_URL "pull/${CIRRUS_PR}/merge"
- git checkout FETCH_HEAD # Use merged changes to detect silent merge conflicts

main_template: &MAIN_TEMPLATE
timeout_in: 120m # https://cirrus-ci.org/faq/#instance-timed-out
ccache_cache:
folder: "/tmp/ccache_dir"
ci_script:
- ./ci/test_run_all.sh

global_task_template: &GLOBAL_TASK_TEMPLATE
<< : *BASE_TEMPLATE
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
depends_built_cache:
folder: "depends/built"
fingerprint_script: echo $CIRRUS_TASK_NAME $(git rev-list -1 HEAD ./depends)
<< : *MAIN_TEMPLATE

macos_native_task_template: &MACOS_NATIVE_TASK_TEMPLATE
<< : *BASE_TEMPLATE
check_clang_script:
- clang --version
brew_install_script:
- brew install boost libevent qt@5 miniupnpc libnatpmp ccache zeromq qrencode libtool automake gnu-getopt
<< : *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: 'tidy [jammy]'
<< : *GLOBAL_TASK_TEMPLATE
container:
image: ubuntu:jammy
cpu: 2
memory: 5G
# For faster CI feedback, immediately schedule the linters
<< : *CREDITS_TEMPLATE
env:
<< : *CIRRUS_EPHEMERAL_WORKER_TEMPLATE_ENV
FILE_ENV: "./ci/test/00_setup_env_native_tidy.sh"

task:
name: "Win64 native [vs2022]"
<< : *FILTER_TEMPLATE
windows_container:
cpu: 6
memory: 12G
image: cirrusci/windowsservercore:visualstudio2022
timeout_in: 120m
env:
PATH: 'C:\jom;C:\Python39;C:\Python39\Scripts;C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Current\Bin;%PATH%'
PYTHONUTF8: 1
CI_VCPKG_TAG: '2022.09.27'
VCPKG_DOWNLOADS: 'C:\Users\ContainerAdministrator\AppData\Local\vcpkg\downloads'
VCPKG_DEFAULT_BINARY_CACHE: 'C:\Users\ContainerAdministrator\AppData\Local\vcpkg\archives'
CCACHE_DIR: 'C:\Users\ContainerAdministrator\AppData\Local\ccache'
WRAPPED_CL: 'C:\Users\ContainerAdministrator\AppData\Local\Temp\cirrus-ci-build\ci\test\wrapped-cl.bat'
QT_DOWNLOAD_URL: 'https://download.qt.io/official_releases/qt/5.15/5.15.5/single/qt-everywhere-opensource-src-5.15.5.zip'
QT_LOCAL_PATH: 'C:\qt-everywhere-opensource-src-5.15.5.zip'
QT_SOURCE_DIR: 'C:\qt-everywhere-src-5.15.5'
QTBASEDIR: 'C:\Qt_static'
x64_NATIVE_TOOLS: '"C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\Build\vcvars64.bat"'
QT_CONFIGURE_COMMAND: '..\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'
IgnoreWarnIntDirInTempDetected: 'true'
merge_script:
- PowerShell -NoLogo -Command if ($env:CIRRUS_PR -ne $null) { git fetch $env:CIRRUS_REPO_CLONE_URL pull/$env:CIRRUS_PR/merge; git reset --hard FETCH_HEAD; }
msvc_qt_built_cache:
folder: "%QTBASEDIR%"
reupload_on_changes: false
fingerprint_script:
- echo %QT_DOWNLOAD_URL% %QT_CONFIGURE_COMMAND%
- 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
- '%QT_CONFIGURE_COMMAND% -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%
- type build_msvc\vcpkg.json
- msbuild -version
populate_script:
- mkdir %VCPKG_DEFAULT_BINARY_CACHE%
ccache_cache:
folder: '%CCACHE_DIR%'
install_tools_script:
- choco install --yes --no-progress ccache --version=4.6.1
- choco install --yes --no-progress python3 --version=3.9.6
- pip install zmq
- ccache --version
- 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:
- '%x64_NATIVE_TOOLS%'
- cd %CIRRUS_WORKING_DIR%
- ccache --zero-stats --max-size=%CCACHE_SIZE%
- python build_msvc\msvc-autogen.py
- msbuild build_msvc\bitcoin.sln -property:CLToolExe=%WRAPPED_CL% -property:Configuration=Release -maxCpuCount -verbosity:minimal -noLogo
- ccache --show-stats
check_script:
- src\test_bitcoin.exe -l test_suite
- src\bench_bitcoin.exe --sanity-check > 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] [jammy]'
<< : *GLOBAL_TASK_TEMPLATE
container:
image: ubuntu:jammy
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] [buster]'
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, USDT] [jammy]'
<< : *GLOBAL_TASK_TEMPLATE
# We can't use a 'container' for the USDT interface tests as the CirrusCI
# containers don't have privileges to hook into bitcoind. CirrusCI uses
# Google Compute Engine instances: https://cirrus-ci.org/guide/custom-vms/
# Images can be found here: https://cloud.google.com/compute/docs/images/os-details
compute_engine_instance:
image_project: ubuntu-os-cloud
image: family/ubuntu-2204-lts # when upgrading, check if we can drop "ADD_UNTRUSTED_BPFCC_PPA"
cpu: 4
memory: 12G
env:
<< : *CIRRUS_EPHEMERAL_WORKER_TEMPLATE_ENV
HOME: /root/ # Only needed for compute_engine_instance
FILE_ENV: "./ci/test/00_setup_env_native_asan.sh"
MAKEJOBS: "-j4" # Avoid excessive memory use

task:
name: '[fuzzer,address,undefined,integer, no depends] [jammy]'
<< : *GLOBAL_TASK_TEMPLATE
container:
image: ubuntu:jammy
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, libbitcoinkernel] [bionic]'
<< : *GLOBAL_TASK_TEMPLATE
container:
image: ubuntu:bionic
env:
<< : *CIRRUS_EPHEMERAL_WORKER_TEMPLATE_ENV
FILE_ENV: "./ci/test/00_setup_env_native_nowallet_libbitcoinkernel.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 x86_64 [gui, system sqlite] [no depends]'
macos_instance:
# Use latest image, but hardcode version to avoid silent upgrades (and breaks)
image: monterey-xcode-13.3 # https://cirrus-ci.org/guide/macOS
<< : *MACOS_NATIVE_TASK_TEMPLATE
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_native_x86_64.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.2.8568313"
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