Commit f19e781
committed
Squashed 'depend/bitcoin/' changes from d9e030d563..1ffc1c9d94
1ffc1c9d94 kernel: Fix bitcoin-chainstate for windows
686c4108cc kernel: Add Purpose section to header documentation
8d47a40731 kernel: Add pure kernel bitcoin-chainstate
ba84650882 kernel: Add functions to get the block hash from a block
a421727342 kernel: Add block index utility functions to C header
aedbe73cf0 kernel: Add function to read block undo data from disk to C header
109dda0845 kernel: Add functions to read block from disk to C header
3e24c34ad4 kernel: Add function for copying block data to C header
9ab3d14c1d kernel: Add functions for the block validation state to C header
4408228f85 kernel: Add validation interface to C header
0c3054ef4b kernel: Add interrupt function to C header
45895c4ac7 kernel: Add import blocks function to C header
994c869ba2 kernel: Add chainstate load options for in-memory dbs in C header
b4ad47e312 kernel: Add options for reindexing in C header
591b28d615 kernel: Add block validation to C header
a1fe6b4264 kernel: Add chainstate loading when instantiating a ChainstateManager
0cf99f827e kernel: Add chainstate manager option for setting worker threads
c18b35135c kernel: Add chainstate manager object to C header
1de2db7eac kernel: Add notifications context option to C header
b1e6a28d17 kernel: Add chain params context option to C header
369cfd3f6c kernel: Add kernel library context object
f9e13dbb1a kernel: Add logging to kernel library C header
ce12888287 kernel: Introduce initial kernel C header API
7566b40bd2 Merge bitcoin/bitcoin#32961: fix spelling in tor.md docs
84ef5524d5 fix spelling in tor.md docs
6a13a6106e Merge bitcoin/bitcoin#32937: Enable `-Werror=dev` in CI & Guix
23e15d40b9 Merge bitcoin/bitcoin#32631: refactor: Convert GenTxid to `std::variant`
8ffbd7b778 Merge bitcoin/bitcoin#32940: cmake: Use newer signature of `qt6_add_lrelease` when available
80ce513766 Merge bitcoin/bitcoin#32933: log: Properly log warnings with warn loglevel in addrdb
8f766f39df ci: enable -Werror=dev
7b420ca834 guix: configure with -Werror=dev
44097ddb19 cmake: enable -Werror=dev in dev-mode preset
12fb00fd42 Merge bitcoin/bitcoin#32927: fuzz: Add missing calls to `SetMockTime` for determinism
3c1418666b Merge bitcoin/bitcoin#32930: Resolve guix non-determinism with emplace_back instead of push_back
bad998b7c0 Merge bitcoin/bitcoin#32921: test: less ambiguous error if bitcoind is missing
7f28e80329 Merge bitcoin/bitcoin#32758: wallet: remove dead code in legacy wallet migration
5ef0d4897b Merge bitcoin/bitcoin#30605: Cluster linearization: separate tests from tests-of-tests
f43571010e Resolve guix non-determinism with emplace_back instead of push_back
94931656b5 cmake: Use newer signature of `qt6_add_lrelease` when available
b80ead8a71 Merge bitcoin/bitcoin#32890: bench: Avoid tmp files in pwd
c4f90900b5 Merge bitcoin/bitcoin#32932: test: Add missing convert_to_json_for_cli
fa894b0f3e log: Properly log warnings with warn loglevel in addrdb
83ae7802fe Merge bitcoin/bitcoin#32881: test: Turn rpcauth.py test into functional test
fa0528479d test: Add missing convert_to_json_for_cli
a40e953658 Merge bitcoin/bitcoin#30479: validation: Add eligible ancestors of reconsidered block to setBlockIndexCandidates
1ca62edd85 Merge bitcoin/bitcoin#32580: wallet, test: best block locator matches scan state follow-ups
2cad7226c2 Merge bitcoin/bitcoin#32799: mempool: use `FeeFrac` for ancestor/descendant score comparators
2d59977601 Merge bitcoin/bitcoin#32604: log: Mitigate disk filling attacks by rate limiting LogPrintf, LogInfo, LogWarning, LogError
4c772cbd83 doc: add release notes for new rate limiting logging behavior
d541409a64 log: Add rate limiting to LogPrintf, LogInfo, LogWarning, LogError, LogPrintLevel
a6a35cc0c2 log: use std::source_location in place of __func__, __FILE__, __LINE__
afb9e39ec5 log: introduce LogRateLimiter, LogLimitStats, Status
df7972a6cf test: Mark ~DebugLogHelper as noexcept(false)
fa8862723c fuzz: CheckGlobals in init
fa26bfde98 test: Avoid resetting mocktime in testing setup
fa6b45fa8e Add SetMockTime for time_point types
a60f863d3e scripted-diff: Replace GenTxidVariant with GenTxid
c8ba199598 Remove old GenTxid class
072a198ea4 Convert remaining instances of GenTxid to GenTxidVariant
1b528391c7 Convert `txrequest` to GenTxidVariant
bde4579b07 Convert `txdownloadman_impl` to GenTxidVariant
c876a892ec Replace GenTxid with Txid/Wtxid overloads in `txmempool`
de858ce2be move-only: make GetInfo a private CTxMemPool member
eee473d9f3 Convert `CompareInvMempoolOrder` to GenTxidVariant
b7e9dc8e46 Merge bitcoin/bitcoin#32884: rest: replace `rf_names[0].rf` by `RESTResponseFormat::UNDEF`
fa4d68cf97 Turn rpcauth.py test into functional test
83bb414557 test: less ambiguous error if bitcoind is missing
150b5c99ca wallet: replace `reload_wallet` with inline functionality
927055e42a Merge bitcoin/bitcoin#32893: doc: fix `BlockConnected` incorrect comment
a8bff38236 Merge bitcoin/bitcoin#32862: rpc: use CScheduler for relocking wallet and remove RPCTimer
21b42f3c55 Merge bitcoin/bitcoin#32660: rpc: Use type-safe exception to pass RPC help
528f79f010 Merge bitcoin/bitcoin#32835: test: fix feature_init.py intermittencies
fc543f94a9 Merge bitcoin/bitcoin#32385: test: refactor out same-txid-diff-wtxid tx to reuse in other tests
09add84fc5 Merge bitcoin/bitcoin#32618: wallet: Remove ISMINE_WATCHONLY and watchonly from RPCs
87ab69155d Merge bitcoin/bitcoin#31553: cluster mempool: add TxGraph reorg functionality
4e69aa5701 doc: fix `BlockConnected` incorrect comment
d33c111448 Merge bitcoin/bitcoin#32829: threading: use correct mutex name in reverse_lock fatal error messages
de4eef52d1 threading: use correct mutex name in reverse_lock fatal error messages
fa2fbaa4a2 bench: Avoid tmp files in pwd
6d19815cd4 rest: replace `rf_names[0].rf` by `RESTResponseFormat::UNDEF` for code clarity
4207d9bf82 test: feature_init, ensure indexes are synced prior to perturbing files
e3f416dbf7 Merge bitcoin/bitcoin#32463: test: fix an incorrect `feature_fee_estimation.py` subtest
ea4285775e Merge bitcoin/bitcoin#29307: util: explicitly close all AutoFiles that have been written
51ccc71b1b Merge bitcoin/bitcoin#32858: doc: Add workaround for vcpkg issue with paths with embedded spaces
fcfd3db563 remove RPCTimerInterface and RPCRunLater
8a1765795f use WalletContext scheduler for walletpassphrase callback
927e9b220f Merge bitcoin/bitcoin#32716: depends: Override host compilers for FreeBSD and OpenBSD
c7fe8abb5f Merge bitcoin/bitcoin#31233: cmake: Improve Python robustness and test usability
6251949443 Merge bitcoin/bitcoin#32290: test: allow all functional tests to be run or skipped with --usecli
0f86da382d wallet: remove dead code in legacy wallet migration
49d5f1f2c6 Merge bitcoin/bitcoin#32850: test: check P2SH sigop count for coinbase tx
abd07cf733 test: feature_init, only init what's needed per perturbation/deletion round
1927432354 Merge bitcoin/bitcoin#32859: functional test: correctly detect nonstd TRUC tx vsize in feature_taproot
68ca13e1f9 Merge bitcoin/bitcoin#32823: test: Fix wait_for_getheaders() call in test_outbound_eviction_blocks_relay_only()
35cae56a92 Merge bitcoin/bitcoin#31423: wallet: migration, avoid creating spendable wallet from a watch-only legacy wallet
1632fc104b txgraph: Track multiple potential would-be clusters in Trim (improvement)
4608df37e0 txgraph: add Trim benchmark (benchmark)
9c436ff01c txgraph: add fuzz test scenario that avoids cycles inside Trim() (tests)
938e86f8fe txgraph: add unit test for TxGraph::Trim (tests)
a04e205ab0 txgraph: Add ability to trim oversized clusters (feature)
eabcd0eb6f txgraph: remove unnecessary m_group_oversized (simplification)
19b14e61ea txgraph: Permit transactions that exceed cluster size limit (feature)
c4287b9b71 txgraph: Add ability to configure maximum cluster size/weight (feature)
f0524cda39 functional test: correctly detect nonstd TRUC tx vsize in feature_taproot
0a1af4418e doc: Add workaround for vcpkg issue with paths with embedded spaces
a92e8b10a5 Merge bitcoin/bitcoin#32564: miniscript, refactor: Make `operator""_mst` `consteval` (re-take)
bf75c9964f Merge bitcoin/bitcoin#32828: build, docs: Fix Boost-related issues on NetBSD
7fa9b58bd9 Merge bitcoin/bitcoin#32841: feature_taproot: sample tx version border values more
1b5c545e82 wallet, test: best block locator matches scan state follow-ups
fa33592898 Merge bitcoin/bitcoin#32723: Refactor: Redefine CTransaction equality to include witness data
ce000c8ee0 Merge bitcoin/bitcoin#32219: test: enabling wallet migration functional test on windows
f33154c464 Merge bitcoin/bitcoin#32432: wallet, rpc: Use `OUTPUT_TYPES` to describe the output types instead of hardcoding them
fa9b1e3544 Merge bitcoin/bitcoin#32846: doc: clarify that the "-j N" goes after the "--build build" part
b1a8ac07e9 doc: Release note for removed watchonly parameters and results
15710869e1 wallet: Remove ISMINE_WATCH_ONLY
4439bf4b41 wallet, spend: Remove fWatchOnly from CCoinControl
1337c72198 wallet, rpc: Remove watchonly from RPCs
e81d95d435 wallet: Remove watchonly balances
d20dc9c6aa wallet: Wallets without private keys cannot grind R
9991f49c38 test: Watchonly wallets should estimate larger size
d6aaffcb11 test: check P2SH sigop count for coinbase tx
b1821d8dd3 Merge bitcoin/bitcoin#27286: wallet: Keep track of the wallet's own transaction outputs in memory
0e9f409db3 doc: clarify that the "-j N" goes after the "--build build" part
67dc7523f3 cmake, test: Disable tests instead of ignoring them
bb9157db5d cmake, refactor: Switch to `Python3::Interpreter` imported target
ed7a841f82 Merge bitcoin/bitcoin#32816: contrib: correct variable name in p2p_monitor.py
2ae5154dd8 Merge bitcoin/bitcoin#32842: doc: add `/spenttxouts` to REST-interface.md
243553d590 refactor: replace get_iter_from_wtxid with GetIter(const Wtxid&)
fcf92fd640 refactor: make CTxMemPool::GetIter strongly typed
23a00fcf57 Merge bitcoin/bitcoin#32783: doc: Add fetching single PRs from upstream to productivity.md
dd99cedc0b doc: add `/spenttxouts` to REST-interface.md
4be81e9746 feature_taproot: sample tx version border values more
6e5b67a370 Merge bitcoin/bitcoin#32697: test: Turn util/test_runner into functional test
fb2c16cf7b Merge bitcoin/bitcoin#32826: p2p: add more bad ports
f5f3e1f263 Merge bitcoin/bitcoin#32646: p2p: Add witness mutation check inside FillBlock
a763497b1d Merge bitcoin/bitcoin#32834: test: Use msg_generic in p2p_ping.py
fa3f100010 test: Use msg_generic in p2p_ping.py
33480573cb Merge bitcoin/bitcoin#32833: test: Add `msgtype` to `msg_generic` slots
9501738e1c Merge bitcoin/bitcoin#32825: rest: rename `strURIPart` to `uri_part`
5a5ddbd789 build: Add workaround for NetBSD bug in `Boost::headers` target
6967e8e8ab add more bad p2p ports
7dc43ea503 test: Add msgtype to msg_generic slots
4eb3cee919 doc: Update NetBSD Build Guide
856f4235b1 scripted-diff: rest: rename `strURIPart` -> `uri_part`
b3bb4031ab Merge bitcoin/bitcoin#32540: rest: fetch spent transaction outputs by blockhash
3086c21df4 Merge bitcoin/bitcoin#32243: test: added fuzz coverage for consensus/merkle.cpp
319ff58bbd Merge bitcoin/bitcoin#32638: blocks: force hash validations on disk read
ec004cdb86 test: Use rehash() in outbound eviction block-relay
26598ed21e test: Clarify roles in outbound eviction comments
689318ccd9 Merge bitcoin/bitcoin#32667: build: Find Boost in config mode
4a3475a43e Merge bitcoin/bitcoin#32819: Add release note for #32530
558f0880a8 Add release note for #32530
c43cc48aaa Merge bitcoin/bitcoin#32530: node: cap `-maxmempool` and `-dbcache` values for 32-bit
4145a9463a Merge bitcoin/bitcoin#32731: depends: Build `qt` package for FreeBSD hosts
14653b869b build: Find Boost in config mode
67ea4b9994 Merge bitcoin/bitcoin#32814: cmake: Explicitly specify `Boost_ROOT` for Homebrew's package
5170ec1ae3 Merge bitcoin/bitcoin#32665: depends: Bump boost to 1.88.0 and use new CMake buildsystem
8fafb81320 Merge bitcoin/bitcoin#32805: cmake: Use `HINTS` instead of `PATHS` in `find_*` commands
6bb38bf37f Update p2p_monitor.py
9b75cfda4d test: retain the intended behavior of `feature_fee_estimation.py` nodes
5c1236f04a test: fix incorrect subtest in `feature_fee_estimation.py`
e5f9218b6a Merge bitcoin/bitcoin#32742: test: fix catchup loop in outbound eviction functional test
11d28f21bb Implement GenTxid as a variant
215e5999e2 wallet: Remove unused CachedTxGet{Available,Immature}Credit
49675de035 wallet: Have GetDebit use the wallet's TXO set
17d453cb3a wallet: Recompute wallet TXOs after descriptor migration
764016eb22 wallet: Retrieve TXO directly in FetchSelectedInputs
c1801b78f1 wallet: Use wallet's TXO set in AvailableCoins
dde7cbe105 wallet: Change balance calculation to use m_txos
96e7a89c5e wallet: Recalculate the wallet's txos after any imports
ae888c38d0 wallet: Exit IsTrustedTx early if wtx is already in trusted_parents
ae0876ec42 wallet: Keep track of transaction outputs owned by the wallet
0f269bc48c walletdb: Load Txs last
5cc32ee2a7 test: Test for balance update due to untracked output becoming spendable
8222341d4f wallet: MarkDirty after AddWalletDescriptor
e02f2d331c bench: Have AvailableCoins benchmark include a lot of unrelated utxos
f27898c8bf Merge bitcoin/bitcoin#32721: wallet, rpc: Remove deprecated balances from getwalletinfo and getunconfirmedbalance
8578fabb95 Merge bitcoin/bitcoin#32597: wallet: Always set descriptor cache upgraded flag for new wallets
941b8f54c0 ci: run get_previous_releases as part of test cross win job
5e2182140b test: increment mocked time for migrating wallet backups
5174565802 ci: disable feature_unsupported_utxo_db functional test
3dc90d69a6 test: remove mempool.dat before copying
67a6b20d50 test: add windows support to get previous releases script
01f9081955 Merge bitcoin/bitcoin#32768: wallet: Remove `CWalletTx::fTimeReceivedIsTxTime`
c1d8a542b4 Merge bitcoin/bitcoin#32727: doc: add release notes for #32425
1a1b478ca3 scripted-diff: rename tarball to archive
4f06dc8484 test: remove building from source from get prev releases script
45b1d39757 doc: Add fetching single PRs from upstream
8800b5acc1 cmake: Explicitly specify `Boost_ROOT` for Homebrew's package
b9a2e8ee96 doc: add release notes for bitcoin/bitcoin#32425
6c2538d5bf depends: Bump boost to 1.88.0 and use new CMake buildsystem
7d5a6d1739 Merge bitcoin/bitcoin#32798: build: add root dir to CMAKE_PREFIX_PATH in toolchain
a34fb9ad6c miniscript: Make `operator""_mst` `consteval`
14052162b1 Revert "miniscript: make operator_mst consteval"
ead4468748 cmake: Use `HINTS` instead of `PATHS` in `find_*` commands
ad654a4807 Merge bitcoin/bitcoin#32767: ci: Allow running CI in worktrees
67e6746dc8 Merge bitcoin/bitcoin#32780: lsan: add more Qt suppressions
e27a94596f build: add root dir to CMAKE_PREFIX_PATH
173394d951 depends: Build `qt` package for FreeBSD hosts
922adf66ac mempool: use `FeeFrac` for calculating regular score
3322b3a059 mempool: use `FeeFrac` for calculating ancestor score
ac9c113bd2 mempool: use `FeeFrac` for calculating descendant score
e95bfc1d53 Merge bitcoin/bitcoin#32797: doc: archive 28.2 release notes
666016e56b ci: use --usecli in one of the CI jobs
7ea248a020 test: Disable several (sub)tests with cli
f420b6356b test: skip subtests that check for wrong types with cli
6530d0015b test: add function to convert to json for height_or_hash params
54d28722ba test: Don't send empty named args with cli
cca422060e test: convert tuple to json for cli
af34e98086 test: make rpc_psbt.py usable with --usecli
8f8ce9e174 test: rename .rpc to ._rpc and remove unnecessary uses
5b08885986 test: enable functional tests with large rpc args for cli
7d5352ac73 test: use -stdin for large rpc commands
6c364e0c10 test: Enable various tests for usage with cli
907842363c doc: archive 28.2 release notes
c5849663ba Merge bitcoin/bitcoin#32771: contrib: tracing: Fix read of `pmsg_type` in p2p_monitor.py
8a36a471e6 Merge bitcoin/bitcoin#32781: refactor: modernize deprecated ipc headers
ed060e01e7 Merge bitcoin/bitcoin#32725: test: round difficulty and networkhashps
daf393b3f1 Merge bitcoin/bitcoin#32642: test: update BIP340 test vectors and implementation (variable-length messages)
482d255376 Merge bitcoin/bitcoin#32736: wallet: Correct dir iteration error handling
74b7e9c7db refactor: modernize deprecated ipc headers
154b98a7aa Merge bitcoin/bitcoin#32772: fuzz: wallet: remove `FundTx` from `FuzzedWallet`
fa183045a1 Merge bitcoin/bitcoin#32765: test: Fix list index out of range error in feature_bip68_sequence.py
5be31b20e5 lsan: add more Qt suppressions
e18322eff2 Merge bitcoin/bitcoin#32774: doc: Explain how to fetch commits directly
b861419254 Merge bitcoin/bitcoin#32777: doc: fix Transifex 404s
79afe6b7c0 Merge bitcoin/bitcoin#32776: doc: taproot became always active in v24.0 (doc/bips.md)
53a996f122 doc: fix transifex 404s
8ee8a951c2 doc: taproot became always active in v24.0
fa21631595 test: Use self.log
fa346f7797 test: Move error string into exception
fa1986181f test: Remove useless catch-throw
fa94fd53c9 doc: Explain how to fetch commits directly
9a7eece5a4 Merge bitcoin/bitcoin#31981: Add checkBlock() to Mining interface
8cc9845b8d wallet, rpc: Use `OUTPUT_TYPES` to describe the output types instead of hardcoding them
3473986fe1 contrib: tracing: Correctly read msg type in p2p_monitor.py
cd1ae1b4df fuzz: wallet: remove FundTx from FuzzedWallet
fa68dcb207 ci: Add missing errexit to lint CI install
fa535a6de7 ci: Allow running CI in worktrees
faf6a04597 ci: Clean UID/GID mismatch
9eb2c82e7c walletdb: Remove unused upgraded_txs
c668033709 wallet: Remove unused fTimeReceivedIsTxTime
5e6dbfd14e Merge bitcoin/bitcoin#32465: thread-safety: fix annotations with REVERSE_LOCK
e285e691b7 test: Fix list index out of range error in feature_bip68_sequence.py
1be688f575 Merge bitcoin/bitcoin#32682: wallet: have external signer use PSBT error code EXTERNAL_SIGNER_NOT_FOUND
a201a99f8c thread-safety: fix annotations with REVERSE_LOCK
26747d9f3e Merge bitcoin/bitcoin#32760: depends: capnp 1.2.0
c10e382d2a flatfile: check whether the file has been closed successfully
4bb5dd78ea util: check that a file has been closed before ~AutoFile() is called
8bb34f07df Explicitly close all AutoFiles that have been written
a69c4098b2 rpc: take ownership of the file by WriteUTXOSnapshot()
c7eaac326a depends: capnp 1.2.0
afaaba69ed test: refactor out same-txid-diff-wtxid tx to reuse in other tests
084eee0291 Merge bitcoin/bitcoin#32743: refactor: use `std::vector<std::byte>` for `BlockManager::ReadRawBlock()`
c48846ec41 doc: add release notes for #32540
d7fca5c171 clusterlin: add big comment explaning the relation between tests
b64e61d2de clusterlin: abstract try-permutations into ExhaustiveLinearize function
1fa55a64ed clusterlin tests: verify that chunks are minimal
da23ecef29 clusterlin tests: support non-empty ReadTopologicalSubset()
94f3e17c33 clusterlin tests: compare with fuzz-provided linearizations
5f92ebee0d clusterlin tests: compare with fuzz-provided topological sets
6e37824ac3 clusterlin tests: optimize clusterlin_simple_linearize
98c1c88b6f clusterlin tests: separate testing of SimpleLinearize and Linearize
10e90f7aef clusterlin tests: make SimpleCandidateFinder always find connected
a38c38951e clusterlin tests: separate testing of Search- and SimpleCandidateFinder
77a432ee70 clusterlin tests: count SimpleCandidateFinder iterations better
a18e572328 test: more template verification tests
10c908808f test: move gbt proposal mode tests to new file
94959b8dee Add checkBlock to Mining interface
6077157531 ipc: drop BlockValidationState special handling
74690f4ed8 validation: refactor TestBlockValidity
2def858473 Merge bitcoin/bitcoin#32481: wallet, refactor: Remove Legacy wallet unused warnings and errors
287cd04a32 Merge bitcoin/bitcoin#32594: wallet, rpc: Return normalized descriptor in parent_descs
fd74d609be Merge bitcoin/bitcoin#32620: wallet: Fix wallet interface detection of encrypted wallets
6ecb9fc65f chore: use `std::vector<std::byte>` for `BlockManager::ReadRawBlock()`
65b26507b8 Merge bitcoin/bitcoin#32746: test: remove unnecessary m_best_header setting hack in feature_assumeutxo.py
3e81684426 Merge bitcoin/bitcoin#32739: tsan: remove note about dropping Qt wildcards
b8eb17792e Merge bitcoin/bitcoin#32175: fuzz: doc: add info about `afl-system-config` for macOS
206bc05e62 test: remove unnecessary m_best_header setting hack in feature_assumeutxo.py
272cd09b79 log: Use warning level while scanning wallet dir
1777644367 qa, wallet: Verify warning when failing to scan
893e51ffeb wallet: Correct dir iteration error handling
52e6e93c3f Merge bitcoin/bitcoin#32693: depends: fix cmake compatibility error for freetype
fa2f1c55b7 move-only util data to test/functional/data/util
faa18bf287 test: Turn util/test_runner into functional test
fa955154c7 test: Add missing skip_if_no_bitcoin_tx
9341b5333a blockstorage: make block read hash checks explicit
2371b9f4ee test/bench: verify hash in `ComputeFilter` reads
5d235d50d6 net: assert block hash in `ProcessGetBlockData` and `ProcessMessage`
5db0a4a2db tsan: remove note about dropping Qt wildcards
d91c718a68 Merge bitcoin/bitcoin#32717: doc: Update Qt 6 packages on FreeBSD
fac9db6eb0 test: Add missing tx util to Binaries
fa91835ec6 test: Use lowercase env var as attribute name
fac49094cd test: Remove duplicate ConfigParser
9dfc61d95f test: detect no external signer connected
dd8447f70f test: fix catchup loop in outbound eviction functional test
19765dca19 Merge bitcoin/bitcoin#32694: index: move disk read lookups to base class
8cc3ac6c23 validation: Don't use IsValid() to filter for invalid blocks
86d98b94e5 test: verify that ancestors of a reconsidered block can become the chain tip
3c39a55e64 validation: Add ancestors of reconsiderblock to setBlockIndexCandidates
1df96f5931 doc: Update Qt 6 packages on FreeBSD
d7c37906e7 build: patch cmake min version on freetype
fa946520d2 refactor: Use structured binding for-loop
eeeec1579e rpc: Use type-safe exception to pass RPC help
5757de4ddd Merge bitcoin/bitcoin#32673: clang-tidy: Apply modernize-deprecated-headers
1473f69924 Merge bitcoin/bitcoin#32421: test: refactor: overhaul (w)txid determination for `CTransaction` objects
7c0cfce20d Merge bitcoin/bitcoin#31405: validation: stricter internal handling of invalid blocks
851f540d0e Merge bitcoin/bitcoin#32703: test: Explain how to reproduce zmq:: upstream race
5af5e9791d Merge bitcoin/bitcoin#32690: depends: fix multiprocess build on OpenBSD (apply capnp patch, correct SHA256SUM command)
fed41b75fb Merge bitcoin/bitcoin#32431: deps: Bump lief to 0.16.6
578ea3eedb test: round difficulty and networkhashps
c8abd97281 Merge bitcoin/bitcoin#32719: doc, windows: CompanyName "Bitcoin" => "Bitcoin Core project"
029ba1a21d index: remove CBlockIndex access from CustomAppend()
91b7ab6c69 refactor: index, simplify CopyHeightIndexToHashIndex to process single block
4f56c9145a refactor: contrib: Move FORTIFY check to BASE_ELF
f6d25e8a2d contrib: Re-enable FORTIFY check for RISCV
765922d802 deps: bump lief to 0.16.6
4ef6253017 test: avoid unneeded (w)txid hex -> integer conversions
472f3770ae scripted-diff: test: rename CTransaction `.getwtxid()` -> `wtxid_hex` for consistency
81af4334e8 test: rename CTransaction `.sha256` -> `.txid_int` for consistency
ce83924237 test: rename CTransaction `.rehash()`/`.hash` -> `.txid_hex` for consistency
6efbd1e1dc refactor: CTransaction equality should consider witness data
cbf9b2dab1 mempool: codify existing assumption about duplicate txids during removal
c3fe85e2d6 wallet, rpc, test: Remove deprecated getunconfirmedbalance
0ec255139b wallet, rpc: Remove deprecated balances from getwalletinfo
e9331cd6ab wallet: IsEquivalentTo should strip witness data in addition to scriptsigs
ce90f0c99f rpc, wallet, refactor: Remove non-descriptor errors
573bcd75d7 wallet, refactor: Remove unused SetupGeneration
5431f2dc21 wallet, refactor: Remove Legacy warnings and errors
6f1392cc42 indexes, refactor: Remove remaining CBlockIndex* uses in index Rewind methods
0a248708dc indexes, refactor: Stop requiring CBlockIndex type to call IsBIP30Unspendable
28299ce776 p2p: remove vestigial READ_STATUS_CHECKBLOCK_FAILED
bac9ee4830 p2p: Add witness mutation check inside FillBlock
4f10a57671 depends: Override host compilers for FreeBSD and OpenBSD
239fc4d62e doc, windows: CompanyName "Bitcoin" => "Bitcoin Core project"
e9cdaefb0a test: introduce and use CTransaction `.wtxid_int` property
9b3dce24a3 test: remove bare CTransaction `.rehash()`/`.calc_sha256()` calls
a2724e3ea3 test: remove txid caching in CTransaction class
fa0b766f43 test: Remove intermittent and presumed fixed tsan race suppressions
fa4b659dcd test: Explain how to reproduce zmq:: upstream race
d4e212e8a6 rest: fetch spent transaction outputs by blockhash
331a25cb16 test: indexes, avoid creating threads when sync runs synchronously
95969bc58a test: added fuzz coverage to consensus/merkle.cpp
f6b782f3aa doc: Improve m_best_header documentation
ee673b9aa0 validation: remove m_failed_blocks
ed764ea2b4 validation: Add more checks to CheckBlockIndex()
9a70883002 validation: in invalidateblock, calculate m_best_header right away
8e39f2d20d validation: in invalidateblock, mark children as invalid right away
4c29326183 validation: cache all headers with enough PoW in invalidateblock
15fa5b5a90 validation: call InvalidBlockFound also from AcceptBlock
8713e8060d depends: fix SHA256SUM command on OpenBSD (use GNU mode output)
2d938720bd depends: add patch to fix capnp build on OpenBSD
0a4ee93529 wallet: use PSBTError::EXTERNAL_SIGNER_NOT_FOUND
8ba2f9b7c8 refactor: use util::Result for GetExternalSigner()
130a922980 wallet, interfaces: Use BERKELEY_RO in isEncrypted
fa9ca13f35 refactor: Sort includes of touched source files
facb152697 scripted-diff: Bump copyright headers after include changes
fae71d30f7 clang-tidy: Apply modernize-deprecated-headers
0def84d407 test: Verify parent_desc in RPCs
b184f5c87c test: update BIP340 test vectors and implementation (variable-length messages)
b789907346 wallet: migration, avoid creating spendable wallet from a watch-only legacy wallet
e86d71b749 wallet: refactor, dedup wallet re-loading code
1de423e0a0 wallet: introduce method to return all db created files
d04f6a97ba refactor: remove sqlite dir path back-and-forth conversion
2554cee988 test: Enable default wallet for wallet_descriptor.py
3fc9d9f241 wallet, rpc: Push the normalized parent descriptor
47237cd193 wallet, rpc: Output wallet flags in getwalletinfo
bc2a26b296 wallet: Add GetWalletFlags
69f588a99a wallet: Set upgraded descriptor cache flag for newly created wallets
9f8e7b0b3b node: cap -dbcache to 1GiB on 32-bit architectures
2c43b6adeb init: cap -maxmempool to 500 MB on 32-bit systems
aeea5f0ec1 thread-safety: add missing lock annotation
832c57a534 thread-safety: modernize thread safety macros
61ea5f348d fuzz: doc: add info about `afl-system-config` for macOS
REVERT: d9e030d563 kernel: Fix bitcoin-chainstate for windows
REVERT: cc4ac564cc kernel: Add Purpose section to header documentation
REVERT: bfdf605296 kernel: Add pure kernel bitcoin-chainstate
REVERT: 35099f39b7 kernel: Add functions to get the block hash from a block
REVERT: fae94070a7 kernel: Add block index utility functions to C header
REVERT: d5d3778597 kernel: Add function to read block undo data from disk to C header
REVERT: 43f6039b7b kernel: Add functions to read block from disk to C header
REVERT: 54cdfcdc68 kernel: Add function for copying block data to C header
REVERT: 18cab45358 kernel: Add functions for the block validation state to C header
REVERT: 033e86a06c kernel: Add validation interface to C header
REVERT: 9398f9ea4e kernel: Add interrupt function to C header
REVERT: 86340a4905 kernel: Add import blocks function to C header
REVERT: f11dc01bba kernel: Add chainstate load options for in-memory dbs in C header
REVERT: be9fc18dd5 kernel: Add options for reindexing in C header
REVERT: 7947a9b500 kernel: Add block validation to C header
REVERT: d5ace1f8ea kernel: Add chainstate loading when instantiating a ChainstateManager
REVERT: 47ff652cf0 kernel: Add chainstate manager option for setting worker threads
REVERT: 106898e0c2 kernel: Add chainstate manager object to C header
REVERT: 3eadf1ccbe kernel: Add notifications context option to C header
REVERT: 98b1454a98 kernel: Add chain params context option to C header
REVERT: ca8d6ee344 kernel: Add kernel library context object
REVERT: 96f5ebe977 kernel: Add logging to kernel library C header
REVERT: 906a197481 kernel: Introduce initial kernel C header API
git-subtree-dir: depend/bitcoin
git-subtree-split: 1ffc1c9d94b16cdbfb92a26d0f0e75451efad4fe1 parent e9930d9 commit f19e781
File tree
486 files changed
+6380
-4154
lines changed- .github
- workflows
- ci
- lint
- test
- cmake
- module
- contrib
- guix
- libexec
- patches
- signet
- tracing
- depends
- builders
- packages
- patches
- boost
- capnp
- freetype
- doc
- release-notes
- src
- bench
- common
- consensus
- crypto
- index
- interfaces
- ipc
- capnp
- kernel
- node
- policy
- primitives
- qt
- res
- rpc
- script
- test
- fuzz
- util
- kernel
- util
- util
- wallet
- rpc
- test
- fuzz
- zmq
- test
- functional
- data
- util
- mocks
- test_framework
- lint
- sanitizer_suppressions
- util
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
486 files changed
+6380
-4154
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
223 | 223 | | |
224 | 224 | | |
225 | 225 | | |
226 | | - | |
| 226 | + | |
227 | 227 | | |
228 | 228 | | |
229 | 229 | | |
| |||
260 | 260 | | |
261 | 261 | | |
262 | 262 | | |
| 263 | + | |
263 | 264 | | |
264 | 265 | | |
265 | 266 | | |
| |||
390 | 391 | | |
391 | 392 | | |
392 | 393 | | |
393 | | - | |
394 | | - | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
395 | 397 | | |
396 | | - | |
397 | | - | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
398 | 401 | | |
399 | 402 | | |
400 | 403 | | |
401 | 404 | | |
402 | | - | |
| 405 | + | |
| 406 | + | |
403 | 407 | | |
404 | 408 | | |
405 | 409 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
592 | 592 | | |
593 | 593 | | |
594 | 594 | | |
595 | | - | |
596 | | - | |
597 | | - | |
| 595 | + | |
598 | 596 | | |
599 | | - | |
| 597 | + | |
600 | 598 | | |
601 | 599 | | |
602 | 600 | | |
| |||
640 | 638 | | |
641 | 639 | | |
642 | 640 | | |
643 | | - | |
644 | | - | |
645 | 641 | | |
646 | 642 | | |
647 | 643 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| 65 | + | |
65 | 66 | | |
66 | 67 | | |
67 | 68 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
| 73 | + | |
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
9 | 11 | | |
10 | 12 | | |
11 | 13 | | |
| |||
38 | 40 | | |
39 | 41 | | |
40 | 42 | | |
41 | | - | |
| 43 | + | |
42 | 44 | | |
43 | 45 | | |
44 | 46 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
| 108 | + | |
0 commit comments