Repository navigation
test: add a tx_valid vector for CVE-2024-38365 - #35873
Conversation
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. Code Coverage & BenchmarksFor details see: https://corecheck.dev/bitcoin/bitcoin/pulls/35873. ReviewsSee the guideline and AI policy for information on the review process.
If your review is incorrectly listed, please copy-paste |
|
🚧 At least one of the CI tasks failed. HintsTry to run the tests locally, according to the documentation. However, a CI failure may still
Leave a comment here, if you need help tracking down a confusing failure. |
|
ACK 6cd2fa5 The new transaction verifies in btclib's script interpreter. It fails there once FindAndDelete is changed to drop any push containing the signature, as btcd did before 0.24.2. |
…-38365 6cd2fa5fb4b6d25b8400d2a7683ceb78610c0b4f test: add a tx_valid vector for CVE-2024-38365 (JP) Pull request description: Suggested by darosior in #35835. `FindAndDelete` only matches whole pushes at opcode boundaries, so a push that carries the signature inside its data is left in the scriptCode. btcd (<0.24.2) removed any push containing the signature, computed a different sighash, and would have rejected a transaction Core accepts: the chain split in [CVE-2024-38365](https://delvingbitcoin.org/t/cve-2024-38365-public-disclosure-btcd-findanddelete-bug/1184). The rule is already covered from the failure side, in `script_FindAndDelete` and in the `tx_invalid.json` vectors where the signature sits under a non-standard pushdata prefix. What was missing is the positive direction: a transaction Core must accept because nothing is deleted. This adds one vector to `tx_valid.json`, with `OP_CHECKSIGVERIFY <0xaaaa||sig>` as the P2SH redeemScript and the minimal 8-byte DER signature (r = s = 1). The pubkey is recovered from that signature and the sighash Core computes, so it verifies only if the `<0xaaaa||sig>` push survives into the scriptCode. `CONST_SCRIPTCODE` doesn't fire — `FindAndDelete` finds nothing — and the vector runs with every flag. To check it actually discriminates, I patched `EvalChecksigPreTapscript` to drop any push whose data contains the signature, the way btcd did. The vector fails with that patch and passes without it. Tested with: ``` build/bin/test_bitcoin --run_test=transaction_tests ``` ACKs for top commit: fametrano: ACK 6cd2fa5fb4b6d25b8400d2a7683ceb78610c0b4f sedited: ACK 6cd2fa5fb4b6d25b8400d2a7683ceb78610c0b4f Tree-SHA512: a08412e00ed43570c3cf556da1d243a40b9684ce17eb6d3017267c3e5e82f9cde232e077944b0ec9476df70e767caf0fcd33be5473dfd53ed2241f7b24a33b1d
4bacf21a13c2 Merge bitcoin/bitcoin#36474: ci: Run valgrind --exclude tests again acdb32693417 Merge bitcoin/bitcoin#35989: wallet: fix crash on importdescriptors with a range ending at 2^31-1 f739c7876b81 Merge bitcoin/bitcoin#36450: test: Use timeout_factor for drain timeout in check_slow_read_throttle 8ad7e25d1fff Merge bitcoin/bitcoin#34374: kernel: use struct-based logging and simplify logging interface fa486a484322 ci: Run valgrind --exclude tests again 442884f5f3bd Merge bitcoin/bitcoin#35037: ipc: support per-address max-connections options on -ipcbind 8406af1c0d69 Merge bitcoin/bitcoin#36436: ci: Derive CONTAINER_NAME from the ci config file name 6b93788355b3 Merge bitcoin/bitcoin#36471: bitcoin-util: print genesis hash in display order f60450e98fc9 Merge bitcoin/bitcoin#36416: test: use ipaddress in addr_to_hex cc8285e8c98a bitcoin-util: print genesis hash in display order 282a05b8d10e Merge bitcoin/bitcoin#36462: rpc: fix OpenRPC hex pattern to allow empty strings 4d7e00d36bf0 rpc: Fix OpenRPC hex pattern to allow empty strings db0bde16b910 Merge bitcoin/bitcoin#36418: kernel: document that btck_WriteBytes may receive a null pointer b497a71c6630 kernel: document that btck_WriteBytes may receive a null pointer 9dfde64cc326 Merge bitcoin/bitcoin#36447: test: Misc fixes for pending validation events races 35e3c9324e67 Merge bitcoin/bitcoin#36029: cmake: Detect and log MinGW-w64 version when cross-compiling for Windows ff623cfa9beb Merge bitcoin/bitcoin#36392: test: Extract and use sigterm_node in init_fd_overflow_test fa466dea808d test: Avoid pending validation events from TestChain100Setup fa339713dbc5 test: Drain all validation events before stopping indexes 9523d2b4a185 Merge bitcoin/bitcoin#34844: util: Add util::NotNull<SmartPtrType> fa845f76d5c6 test: Use timeout_factor for drain timeout in check_slow_read_throttle 14a328f75df8 Merge bitcoin/bitcoin#36338: BIP-352: fix P2PKH pubkey extraction from malleated scriptSig 5661a65c9fb4 Merge bitcoin/bitcoin#36432: wallet: show real fee_reason strings in help 672c2d213773 Merge bitcoin/bitcoin#36448: randomenv: use `KERN_POSIX1` over `KERN_OSREV` 6b8a5524f7e7 Merge bitcoin/bitcoin#36291: test: add script_tests cases covering interpreter mutants 14f89aeea6df Merge bitcoin/bitcoin#36340: util: cap Sock::WaitMany timeout to fix -rpcclienttimeout=0 on macOS d1f9a5b3e050 randomenv: use KERN_POSIX1 over KERN_OSREV 0cd0789c86b3 test: use ipaddress in addr_to_hex fa21ac647dc2 test: [move-only] wallet rescan tests to separate TU fa2cdb6a3c18 ci: [refactor] remove redundant GOAL=install fa547e8204cb ci: [refactor] Remove redundant set -o errexit fa8fd9164fb4 ci: Derive CONTAINER_NAME from the ci config file name 93c8aec3fbc8 doc: add release note for #35989 aef8a04966d7 Merge bitcoin/bitcoin#36435: ci: isolate container test networks 3cb91bc7da67 Merge bitcoin/bitcoin#36308: test: Set tsan enable_adaptive_delay=1 by default fa42e2868414 refactor: Return util::NotNull<std::unique_ptr<ChangeSet>> from CTxMemPool::GetChangeSet() fa04fafb3aac refactor: In CNode use util::NotNull<std::unique_ptr<Transport>> m_transport fae9ab0f0dc4 refactor: Use NotNull pointer to input fetching pool fa0184afa2f9 refactor: Use util::NotNull<std::unique_ptr<LevelDBContext>> m_db_context fafa44e020ab util: Add util::NotNull<SmartPtrType> acaf322fc438 Merge bitcoin/bitcoin#36152: test: cover the feature-negotiation version boundary in p2p_leak f55788e84552 Merge bitcoin/bitcoin#36277: net: always complete all initial private broadcast connections cf80493e2367 Merge bitcoin/bitcoin#34729: Reduce log noise 2c992472842f Merge bitcoin/bitcoin#36303: http: Log bytes received from client, use to replace receive-throttle regression test 09e22fbbb0ca Merge bitcoin/bitcoin#35873: test: add a tx_valid vector for CVE-2024-38365 b47ec7c6e14e Merge bitcoin/bitcoin#35835: test: add CONST_SCRIPTCODE failure-path vectors to script_tests.json 889e7c5af841 Merge bitcoin/bitcoin#36329: psbt: add new test vectors 0036d5f1fa09 Merge bitcoin/bitcoin#36262: test: cover orphan reconsideration interruptibility 36e9e52f169c Merge bitcoin/bitcoin#34907: wallet, test: make wallet_fast_rescan robust 8c49a9abe919 Merge bitcoin/bitcoin#36151: makeseeds: fix off-by-one in field count check b42ea675334c Merge bitcoin/bitcoin#36349: rpc: avoid copying unbroadcast transaction IDs just to count them fa966fd76764 ci: Use one subnet per container 714261b508c2 Merge bitcoin/bitcoin#36426: test: check IBD insufficient work disconnect of outbound peers fae564e66ab4 ci: Use one network per container and rm it after success 367119018dea Merge bitcoin/bitcoin#36320: test: refactor: make chain_dir consistent with CreateBaseChainParams 6e419391cf41 Merge bitcoin/bitcoin#32895: wallet: Prepare for future upgrades by recording versions of last client to open and decrypt c7835db15a5b Merge bitcoin/bitcoin#36080: p2p: Suspend ping timeout while downloading blocks from a peer b3f9d8e1ddf6 Merge bitcoin/bitcoin#36128: test: add script_tests cases covering more interpreter mutants b6a1b0ff7079 Merge bitcoin/bitcoin#36327: test: speed up secp256k1 fixed-base multiplication and Schnorr signing 052cf121ab0a rpc: avoid copying unbroadcast txids to count them 781d8dbd500d wallet: show real fee_reason strings in help 66776840beb5 Merge bitcoin/bitcoin#36415: rpc: clarify preciousblock help text c502b65c007b test: check IBD insufficient work disconnect of outbound peers c8e852d3a02a Merge bitcoin/bitcoin#36404: fuzz: don't set random state for private broadcast test dd809d2c08a3 Merge bitcoin/bitcoin#36299: cli: Improve empty-response and fix -rpcclienttimeout regression 802eb7daa9a8 Merge bitcoin/bitcoin#34213: net: preserve anchors when network is disabled 15d092639957 rpc: clarify preciousblock help text 65896ac58ea6 Merge bitcoin/bitcoin#36411: ci: drop `-Wno-error=maybe-uninitialized` from win64 cxx flags eb086540b680 kernel: make logging struct-based and simplify configuration 0c327a34748a kernel: add KernelLogger 16bff77a5aaf test: cover orphan reconsideration interruptibility 3d976f464d5a kernel: remove API to format and disable logging 4ec80a5d4fa3 kernel: add log level and category name helpers to wrapper 2ce6cd3d906d kernel: expose btck_LogEntry d83647e7c48a p2p: Don't apply ping timeout while downloading blocks 69142eacd137 Merge bitcoin/bitcoin#36383: util: remove unused exception parameter in `Popen::execute_process` 2b43c62d8ef5 p2p: move ping timeout check into SendMessages 8b5bbfe1fca1 test: add functional test for pings during IBD a829aeaac1af Merge bitcoin/bitcoin#36412: ci: drop `-U_FORTIFY_SOURCE` from TSAN job c57ef546c391 ci: use LLVM libc++ 23.1.2 f2a0e7392c6e ci: drop -U_FORTIFY_SOURCE from TSAN job 963f557a721b ci: drop -Wno-error=maybe-uninitialized from win64 flags 9f0595279521 Merge bitcoin/bitcoin#36052: ci: Doc: Move all config comments right next to the option they explain 1d19cca0761a fuzz: don't set random state for private broadcast test 00c1b52ee56b net: remove PrivateBroadcast::DidNodeConfirmReception dc95a705d402 net: always complete all initial private broadcast connections 7988380da987 Merge bitcoin/bitcoin#36272: guix: split Linux toolchain d4b0e1e4b078 Merge bitcoin/bitcoin#35833: log: prevent user input from injecting fake log lines 8dcf90a9b320 util: cap Sock::WaitMany timeout fad49a733d61 test: Extract and use sigterm_node in init_fd_overflow_test 7b32155458cc wallet: Set last opened and decrypted features during migration f998a740fc9f wallet: Record the supported features of the last client to decrypt a wallet 8453ad801b63 wallet: Introduce LastClientFeatures flags and LAST_OPENED_FEATURES record 4b612c6bf8cf Merge bitcoin/bitcoin#36391: test: fix typo in rpc_psbt 0a8ffe9051ab test: fix typo in rpc_psbt cdfaa534d006 BIP-352: fix P2PKH pubkey extraction from malleated scriptSig c35b99251450 test: characterize buggy BIP-352 P2PKH extraction on malleated scriptSig 856f9ea15805 doc: add ipcbind max-connections release note bdd381b8ed47 ipc: test per-address connection limiting over unix sockets 8761d53b250e ipc: support per-address max-connections on ipcbind c9d101ca7ab5 guix: split Linux toolchain e0f16ef9a489 Merge bitcoin/bitcoin#36377: doc: add 461 (Deterministic ECDSA signatures with low-R grinding) to bips.md cde2f2ec641a build: enable -Wunused-exception-parameter 1b00dff743da util: remove unused exception parameter in Popen::execute_process e7aef7e86da7 Merge bitcoin/bitcoin#36375: wallet: accept uppercase addresses without amount in sendall de8892f9db57 Merge bitcoin/bitcoin#36336: log: move CreateNewBlock() log line behind a new mining category 0198c8533457 Merge bitcoin/bitcoin#36365: fees: fall back to `block_policy` and minor api change ba8fdb971779 Merge bitcoin/bitcoin#36381: test: avoid testing at the exact `-maxfeerate` boundary a4bc96966faa test: refactor: make chain_dir consistent with CreateBaseChainParams efe0dfcf1e5c test: cover DERSIG 9-byte signature lower bound bbc4bdf9092e test: cover DERSIG null S byte only when S is multi-byte fd2cf0450276 test: cover DERSIG null R byte only when R is multi-byte a1deba78c5f6 test: cover DERSIG total-length byte check 3d04ed8ac77b test: cover DERSIG 73-byte signature upper bound 2c0f69a04789 test: cover STRICTENC rejects bad 33-byte pubkey prefix df3008418c20 doc: add release notes 54b8795121d3 log: move CreateNewBlock() log line behind a new mining category 619185d5cefd Merge bitcoin/bitcoin#36233: guix: Update time-machine to `60f6956aeffa7f30285745bd0ea615e9acfc74f8` 3b9768a07aee Merge bitcoin/bitcoin#36275: build: enable `-Wunused-const-variable` dc2a9987aab7 Merge bitcoin/bitcoin#36364: tools: Call SHA256AutoDetect in bitcoin-util, bitcoin-tx and bitcoin-wallet 025768fb37ce test: avoid testing at the exact `-maxfeerate` boundary ced4c6e6ab47 Merge bitcoin/bitcoin#36321: net: cast vector size to avoid overflow, truncation, sign change 5b77288673e2 fees: clear mined-block stats when the mempool load fails c0b7ca3dbdba fees: fall back to block_policy when the mempool estimator can't estimate 4056908f0fea fees: rename the default fee_rate_estimator value to "auto" e7a18350967f Merge bitcoin/bitcoin#36235: ci: fail iwyu job on compiler errors instead of silently logging them d57346d682f1 doc: add 461 (Deterministic ECDSA signatures with low-R grinding) to bips.md df2994b14a4b wallet: accept uppercase addresses without amount in sendall b6fc3cf0046d test: speed up secp256k1 fixed-base multiplication 05bc2f53ce0c Merge bitcoin/bitcoin#36024: ci: Make `test_bitcoin-qt.exe` output visible 4048909a5342 tools: Call SHA256AutoDetect in bitcoin-util, bitcoin-tx and bitcoin-wallet d93d366e204e log: escape newlines in messages 960dcdb62529 test: characterize RPC and wallet input logs feb77d838eda guix: Update time-machine to `60f6956aeffa7f30285745bd0ea615e9acfc74f8` f14a3ef8c5c6 guix: Skip some packages' tests in `python-lief` and `nsis-x86_64` 493850c4c473 test: assert HTTP receive throttle from server-side log ed7dd7cf4e15 Merge bitcoin/bitcoin#34371: wallet: allow importprunedfunds for spending transactions f80aaf4bd7c6 Merge bitcoin/bitcoin#29278: Wallet: Add `maxfeerate` wallet startup option e19f83e944e9 Merge bitcoin/bitcoin#35984: sign: skip signing SIGHASH_SINGLE inputs with no corresponding output ab8033566757 Merge bitcoin/bitcoin#36135: fuzz: test HTTPRequest state machine in http_request 65e075f89fdd Merge bitcoin/bitcoin#35696: i2p: update leaseset encryption types d26f19c77c7b Merge bitcoin/bitcoin#35948: init: correct first-run disk space estimate 694eaad2eb28 kernel: add missing log levels and categories 90374132737e Merge bitcoin/bitcoin#36335: Remove my key from SECURITY.md f6b19b190b2e Merge bitcoin/bitcoin#36322: init: fee estimates can lag behind the chain after restart 5820537e1b4b Remove my key from SECURITY.md da03790dbb11 Merge bitcoin/bitcoin#36324: test: Fixup MAX_BODY_SIZE http throttling test 37969fc15211 Merge bitcoin/bitcoin#36312: net: don't discourage private broadcast peers 6fa2f3974cbb test: add BIP174 invalid value size vector e8e7e91a1144 Merge bitcoin/bitcoin#36284: wallet: don't double discard output groups with avoidpartialspends 8c27c3852641 init: drain callbacks before saving fee estimates 08729e6ef9c9 test: characterize fee callback loss at shutdown 308cd670195d net: cast vector size to avoid overflow, truncation, sign change bfdcd9797cd1 Merge bitcoin/bitcoin#35890: doc: use overwrite (>) instead of append (>>) for one-shot PSBT files in offline-signing-tutorial.md de9f42c497df Merge bitcoin/bitcoin#36316: ci: use POSIX threads for Nix Windows builds 029bc15f2cb5 test: add BIP174 sighash combiner vector fa2c62036b1d test: Fixup MAX_BODY_SIZE http throttling test 5c726f2058a4 Merge bitcoin/bitcoin#35675: mining: add block template manager 26241482e530 Merge bitcoin/bitcoin#35923: mempool: count unbroadcast txids in memory usage a632d4f697f3 Merge bitcoin/bitcoin#35177: test: use MiniWallet for getblockstats test data generation be5d0b5503fa Merge bitcoin/bitcoin#35301: Silent Payments: Implement bip352 (take 2) b3f846ec3e5c Merge bitcoin/bitcoin#35440: wallet: check descriptor cache xpub length before decoding dc3cd1969ed3 Merge bitcoin/bitcoin#35809: contrib: add deterministic fuzz coverage mode 81e2de897dbc Merge bitcoin/bitcoin#35893: test: cover submitpackage other-wtxid for same-txid-diff-witness eab6630addc3 net: don't discourage private broadcast peers 31754523cd81 Merge bitcoin/bitcoin#36309: private broadcast: clarify claims, mark as experimental 9fd18aedb088 ci: print Windows cross compiler thread model 1d59d5ad2550 ci: use POSIX threads in Nix Windows cross shell e3ee0ebd89e9 tests: add BIP352 test vectors as unit tests f133d1373af6 common: add bip352.{h,cpp} secp256k1 module 96d487c11e8f ci: raise BuildKit step log limit 44997c391afc Add "sp" HRP 356c91f6ae51 crypto: add KeyPair::GetSecpKeypair fa90a8a01318 ci: [refactor] Use eval-based string-to-argv conversion for FUZZ_TESTS_ARGS 0f104733cc8e walletdb: Decouple last client record from CLIENT_VERSION 2b95b45a9abd Merge bitcoin/bitcoin#35813: wallet, rpc: Add listrawtransactions RPC 71c30b608382 Merge bitcoin/bitcoin#27052: test: rpc: add last block announcement time to getpeerinfo result d36f4a1788da Merge bitcoin/bitcoin#36155: doc: remove json quoting from gettxoutsetinfo and getblockstats cli examples b7211ba80cde Merge bitcoin/bitcoin#34717: p2p: remove m_getaddr_sent 7ee3d622e5fa Merge bitcoin/bitcoin#35752: wallet: make encryption state updates atomic f41372998377 private broadcast: mark feature as experimental 2630d8e6c9d6 doc: scope claims about private broadcast feature 248ce46faf70 Merge bitcoin/bitcoin#35619: test: ExtendedPrivateKey follow-ups 995da8678a02 Merge bitcoin/bitcoin#36302: ci: simplify macOS codesign check db7ec4fb9762 refactor: (de)serialize CExtKey/CExtPubKey through streams cb69853fc160 wallet: check descriptor cache xpub length before decoding f86cbf53eb3e Merge bitcoin/bitcoin#36310: rpc: clarify that `getaddrmaninfo` counts unique addresses bbc40ede1ba6 Merge bitcoin/bitcoin#36261: test: cover PSBT unknown field merging cf57dc281e8f build: add -Wunused-const-variable b45a7084d809 refactor: use inline constexpr f839ee1afb0f Merge bitcoin/bitcoin#35887: ipc: use std::optional for checkSpawned(), add tests and rename arg -ipcfd to -ipcchild dac53c585b6a Merge bitcoin/bitcoin#31888: contrib: Support re-writing linearize-data dumps 0d34b6e9287f rpc: clarify that getaddrmaninfo counts unique addresses 4ecbc82d412f Merge bitcoin/bitcoin#36278: Update minisketch subtree to latest master 622817f097d6 ci, iwyu: fail job on compiler errors instead of ignoring them 5ca3773414df Merge bitcoin/bitcoin#36298: Update crc32c subtree to latest master fa18f9aeac8e ci: Doc: Move all config comments right next to the option they explain fa0e84ec53fc ci: refactor: Use printf %q quoting for BITCOIN_CONFIG 5945cb83ddcf contrib: add deterministic fuzz coverage mode fa0d826eac33 test: Use sanitizer env in functional tests by default fafce3be39a2 test: Set tsan enable_adaptive_delay=1 by default faf907fd1391 test: Add with_sanitizer_env.py fad2fc5a0f02 doc: Remove section on how to install libasan etc 716e8605e5c8 ci: simplify macOS codesign check 767d86aaa780 http: log received bytes per client read 457c9e8999fb script: avoid overflow when checking descriptor range bounds ab3bb55a67cc test: add coverage for descriptor range end bounds 867ad9bffbd3 wallet: fix integer overflow in descriptor keypool top up 1889440f821d wallet: reject unrepresentable descriptor import ranges 2c8372db1131 Update crc32c subtree to latest master 5181c61d734f Squashed 'src/crc32c/' changes from efb8ea04e4..60bcf13edf 7c311f5c6c3e doc: Add release notes for listrawtransactions b377786df14e test: Add functional test for listrawtransactions 605c4fd3aee0 wallet, rpc: Add listrawtransactions RPC ba6c179ba07c wallet, rpc: allow omitting parent_descs from TransactionDescriptionString 719324977a41 test: Check that ineligible output groups are discarded only once 6d2414542b86 wallet: reuse unlock and passphrase change errors 593554622e2c wallet: return passphrase errors with Expected f949b3ba2ad7 wallet: publish descriptor keys after writes e3712b7d492f test: characterize descriptor insertion failure bd558107784c wallet: abort failed descriptor key erases 537e79191585 test: cover encrypted descriptor key insertion d8a6f5e48d6b wallet: abort failed descriptor key writes 14ce3fdb493a test: characterize descriptor key failures 5bc0be16fe4d wallet: reject failed passphrase changes ee6d45a07e3a test: characterize passphrase write failure 2daa2f94f4a2 wallet: restore lock state before re-encryption 8b23fa47737a wallet: abort failed encryption transactions e6c374d30201 test: characterize encryption transaction failures 70381010c0af refactor/test: add wallet failure injection dc3e2bc6df68 wallet, rpc: extract PushTxAmountAndFee/PushTxDecoded helpers 20307f0ac0e1 wallet: don't double count discarded output groups with avoidpartialspends 1805716354b4 cli: Apply -rpcclienttimeout per socket wait instead of per phase b841ab694215 cli: Treat a response with Content-Length: 0 as complete 749bd10fdf01 Update minisketch subtree to latest master fcb2d832b2d9 Squashed 'src/minisketch/' changes from 4a179c61e3..a12f5de1c9 21e4ea8134d8 test: cover PSBT unknown field merging f69e56bc1c43 [doc]: add release notes 40ab7aa90de5 [wallet]: warn when `-maxtxfee` conflicts with `-minrelaytxfee` df1feeb487dc [wallet]: enforce `-maxfeerate` on wallet transactions d2c832e9e79d [util]: add a new transaction error type 633c08d3f7af [node]: update `BroadcastTransaction` to check fee rate limit 7bfce65801bf [wallet]: add `maxfeerate` wallet startup option 607568f2b002 [wallet]: update `max_fee` to `max_tx_fee` 6b913b6224bd doc: add missing verb to make sentence readable a9c39696f4be scripted-diff: rename `m_default_max_tx_fee` to `m_max_tx_fee` 8df006f23383 wallet: skip signing SIGHASH_SINGLE inputs with no corresponding output 3d7d190b6995 ci: enforce iwyu for block template manager ffe3a631f38b node: remove NodeContext::mining and EnsureMining 6c71166bcfa4 test: create templates via BlockTemplateManager ec4f24ef181a rpc: wait for tips via BlockTemplateManager 8372721f20e2 rpc: build generation templates via BlockTemplateManager 38556f817e06 rpc: only copy the header in getblocktemplate 951fac807d37 rpc: do not copy template data in getblocktemplate 0998c0bbdfcc rpc: build getblocktemplate via BlockTemplateManager 011cbfbcd2e3 rpc: route getblocktemplate internals through node 400ac328c91b interfaces: create block template via BlockTemplateManager 037d3519f2ff node: move tip and wait helpers into BlockTemplateManager 07964c525d47 miner: move SubmitBlock into BlockTemplateManager bcdadf2b7111 node: move mining_args to BlockTemplateManager 482a5d27124c node: introduce BlockTemplateManager 3d2b65d05096 ipc: add default connection limit for ipcbind listeners ddf033054ff6 test: cover anchor handling across network toggles with mocktime b0bff47d4432 net: log that anchors will be tried for connections only if network is active 4b6b85428586 test: disabling network activity should not affect anchors 04d3d474c48d net: preserve anchors on shutdown when network is inactive 41771236b4d9 net: store anchors in SetNetworkActive e5f3ea3bf6f6 net: guard m_anchors with mutex 2fabbc0bb38d test: check SENDTXRCNCL is sent at version 70016 36775471f81a test: cover the feature-negotiation version boundary in p2p_leak c786052865fd makeseeds: fix off-by-one in field count check fca8fef8f903 fuzz: assert HTTP framing is independent of stream segmentation c368de3eec9c fuzz: exercise the HTTPRequest state machine 57a79c69627d doc: remove json quoting from gettxoutsetinfo and getblockstats cli examples a34861d280b3 test: unify how to avoid the creation of the default wallet in nodes 3458837a0b76 test: use ExtendedPrivateKey in wallet_importdescriptors.py d23b53e0cfbc fuzz: allow http_request inputs to reach MAX_HEADERS_SIZE 56af5e072a0d fuzz: extract http_request parse and framing check into helpers 44a7083d4360 test: cover MAX_OPS_PER_SCRIPT in P2WSH witness scripts f1380123b6f8 test: cover P2WSH trailing byte mismatch 4e7de2ac4cc6 test: cover TAPSCRIPT_MINIMALIF for OP_IF and OP_NOTIF with 1-byte vector 0x00 09cdb3c48872 cmake: Detect and log MinGW-w64 version when cross-compiling for Windows 70701de7c555 ci: Make `test_bitcoin-qt.exe` output visible 05e7d5731840 ipc, test: add checkSpawned() unit tests 42215b85811a init: correct first-run disk space estimate 91f8b365e7e7 validation: Upgrade log levels for possible block corruption warnings 788242d6d009 txindex: Downgrade log messages and include index name 93b9613b764a kernel/coinstats: Downgrade ComputeUTXOStats log level 3c4336631e3d script: Lower level of oversized redeemScript log, push errors to callers 7902a8ee83fc netbase: Tidy up logging levels 4f42b76ca76b netbase: Reduce levels of socks5 error logging ec627b3f3b82 util/log: Add LogWarnThenDebug() helper 9054f7cde43a test: cover submitpackage other-wtxid for same-txid-diff-witness c2da52d3660f wallet: allow importprunedfunds for spending transactions db21e03c9d50 mempool: include unbroadcast txid memory 8d5c4a9290b0 test: characterize unbroadcast memory accounting be30864ed1a6 doc: use overwrite (>) instead of append (>>) for one-shot PSBT files in offline-signing-tutorial.md 8bca7555f832 ipc, refactor: rename arg -ipcfd to -ipcchild bd3a38f10ab7 ipc, refactor: return std::optional<mp::SocketId> from checkSpawned() 6cd2fa5fb4b6 test: add a tx_valid vector for CVE-2024-38365 829e44a1151f test: add CONST_SCRIPTCODE failure-path vectors to script_tests.json 13ce46ba1a79 doc: add release note for 27052 5d5397d84108 test: add functional test for block announcement time tracking 7d3d04e925c7 rpc: add last_block_announcement to the getpeerinfo output 26a25162a48a net: add m_last_block_announcement to CNodeStateStats bb8bca630a8a change m_last_block_announcement type from int64_t to NodeClock::time_point 412540e18d87 i2p: update leaseset encryption types f217da5c59f4 wallet, test: wallet_fast_rescan follow-ups b7cbd804284b test: use MiniWallet for getblockstats test data generation c8ee319fffa1 net: remove m_getaddr_sent a1ecda260996 test: delete redundant addr relay assertion e9dc16194b47 correct the linearize-data script (minor) git-subtree-dir: depend/bitcoin git-subtree-split: 4bacf21a13c2ed25ef9362ca38f26bf0a67d22c9
Replace consensus/test-data/script_tests.json, tx_valid.json and tx_invalid.json with the files from Bitcoin Core master at e211dd0186e9646167d063a16f0da88e5f72e05f (2026-11-16). Since v32.1 Core added vectors for interpreter edges (bitcoin/bitcoin#36458, bitcoin/bitcoin#36291, bitcoin/bitcoin#36128), the CONST_SCRIPTCODE failure paths (bitcoin/bitcoin#35835) and the CVE-2024-38365 FindAndDelete case (bitcoin/bitcoin#35873): CHECKSEQUENCEVERIFY with -2, IFDUP on negative zero, ROLL with repeated values, a taproot output key that is not a valid x coordinate, DERSIG length bounds, LOW_S, STRICTENC and NULLFAIL each set alone, among others. Every new row passes in the Rust interpreter and matches libbitcoinkernel in the differential suite. The script_tests and differential suites pin the number of #TAPROOTOUTPUT# rows they run, so the pin moves from five to seven for the two new tapscript rows. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Replace consensus/test-data/script_tests.json, tx_valid.json and tx_invalid.json with the files from Bitcoin Core master at e211dd0186e9646167d063a16f0da88e5f72e05f (2026-11-16). Since v32.1 Core added vectors for interpreter edges (bitcoin/bitcoin#36458, bitcoin/bitcoin#36291, bitcoin/bitcoin#36128), the CONST_SCRIPTCODE failure paths (bitcoin/bitcoin#35835) and the CVE-2024-38365 FindAndDelete case (bitcoin/bitcoin#35873): CHECKSEQUENCEVERIFY with -2, IFDUP on negative zero, ROLL with repeated values, a taproot output key that is not a valid x coordinate, DERSIG length bounds, LOW_S, STRICTENC and NULLFAIL each set alone, among others. Every new row passes in the Rust interpreter and matches libbitcoinkernel in the differential suite. The script_tests and differential suites pin the number of #TAPROOTOUTPUT# rows they run, so the pin moves from five to seven for the two new tapscript rows. Co-authored-by: Claude Opus 5.5 <[email protected]>
…3f6397bb9
2f3f6397bb9 Merge bitcoin/bitcoin#37045: lint: Fix check-doc.py with spaces in paths
19209e52063 Merge bitcoin/bitcoin#36734: net: Do not add transaction reported as TX_CONSENSUS to the extrapool
2c0b8c4efc5 Merge bitcoin/bitcoin#36978: rpc: require a hex string for OP_RETURN data
d95dfa64e03 Merge bitcoin/bitcoin#37047: fuzz: unpoison argc/argv in LLVMFuzzerInitialize under MSan
8bb33f349e6 Merge bitcoin/bitcoin#36998: fuzz: DisableNextWrite in mempool targets
6f3bdf52b9b Merge bitcoin/bitcoin#37022: test: cover batched NOTFOUND fallback in p2p_tx_download.py
3a89a6a2a64 Merge bitcoin/bitcoin#37033: rpc: remove duplicate `avgfeerate` key in `getblockstats`
e9017473756 Merge bitcoin/bitcoin#37051: test: fix block file integrity check in feature_blocksxor.py
e4426584148 fuzz: unpoison argc/argv in LLVMFuzzerInitialize under MSan
6fb33164bc3 Merge bitcoin/bitcoin#37075: test: fix port collision in feature_torcontrol.py
0bc1e88dd33 Merge bitcoin/bitcoin#36758: rpc: handle malformed jsonrpc 2.0 requests correctly
9b28baef959 test: fix port collision in feature_torcontrol.py
8e5a5a25dad Merge bitcoin/bitcoin#36996: fuzz: fix timelock range in miniscript_smart
219c5c8ef79 test: fix block file integrity check in feature_blocksxor.py
3a9356cd974 lint: Fix check-doc.py with spaces in paths
e3a72a37443 Merge bitcoin/bitcoin#37008: cmake: Always disable `install_name_tool` search in macOS cross-builds
43236b86c28 Merge bitcoin/bitcoin#36952: doc: AssertUnreachable and NONFATAL_UNREACHABLE
590b74987f9 Merge bitcoin/bitcoin#36759: torcontrol: Improve connection logging
22d03bf4e61 rpc: inline SetHasKeys as a lambda in getblockstats
f41029ce205 rpc: remove duplicate avgfeerate key in getblockstats
cc27c50e87f Merge bitcoin/bitcoin#37040: test: fix private key check in wallet_listdescriptors.py
d397874563f Merge bitcoin/bitcoin#36981: depends: disable unused IPC accept filters in zeromq
1b24b4f3013 Merge bitcoin/bitcoin#36855: rpc: Deprecate watchonly wallet no-op named options
0fb48fe30ed cmake: Always disable `install_name_tool` search in macOS cross-builds
966e9800e84 Merge bitcoin/bitcoin#36940: mining: handle negative and NaN wait timeouts
28a77a4b0af test: fix private key check in wallet_listdescriptors.py
5c4e8374074 Merge bitcoin/bitcoin#36838: guix: backport oscrypto PBKDF2 timing fix
1575462b22b guix: backport oscrypto PBKDF2 timing fix
2e5d7540a1d Merge bitcoin/bitcoin#36923: test: construct `miniminer_tests` inputs/outputs declaratively
afa492e2338 Merge bitcoin/bitcoin#36988: guix: replace search-our-patches with local-file
fe1c21a54fa Merge bitcoin/bitcoin#36876: GUARDED_BY annotations for nTx, m_chain_tx_count
13eee77d0d7 guix: replace search-our-patches with local-file
693f5b302e7 test: cover batched NOTFOUND fallback in p2p_tx_download.py
1ea904d983f Merge bitcoin/bitcoin#37020: rpc: fix `getmempoolfeeratediagram` result description
376c0a02b40 Merge bitcoin/bitcoin#36961: ci: enable `readability-redundant-access-specifiers`
d293ef600db doc: add release note for rejected IPC wait timeouts
483ed3be8d1 Merge bitcoin/bitcoin#37010: test: fix no-immediate-response check in p2p_orphan_handling.py
0b17fa0ac10 rpc: fix getmempoolfeeratediagram result description
2f7a0750ef2 GUARDED_BY annotations for CBlockIndex's nTx, m_chain_tx_count
8e09dc7bf97 Merge bitcoin/bitcoin#37007: refactor: Add missing explicit instantiations of function templates
0790f68d867 Merge bitcoin/bitcoin#37011: test: fix input check of bumped tx in wallet_spend_unconfirmed.py
5b43f22f18a test: fix input check of bumped tx in wallet_spend_unconfirmed.py
a62be857f4d test: fix no-immediate-response check in p2p_orphan_handling.py
7ec6081ecab refactor: Add missing explicit instantiations of function templates
afedb19cca4 Merge bitcoin/bitcoin#37000: docs: update asmap-data URL with new github org
cd88fbd6433 docs: update asmap-data URL with new github org
2d8410dd633 fuzz: DisableNextWrite in mempool targets
54be7fb7e17 fuzz: fix timelock range in miniscript_smart
58e9d98f311 Merge bitcoin/bitcoin#36818: seeds: drop 21.ninja as a makeseeds source
b8db55c205d Merge bitcoin/bitcoin#36957: doc: add 389 (multipath) and 394 (rawtr) to bips.md
0629982adad Merge bitcoin/bitcoin#36916: test: avoid BSD ephemeral-port collisions in HTTP clients
09586041180 Merge bitcoin/bitcoin#36921: test: fix `mining_prioritisetransaction` check that always passes
525d69e3f9c mining: reject negative and NaN wait timeouts from IPC clients
44dbc7c8352 test: add check_order option to wait_and_do
dd96035e031 Merge bitcoin/bitcoin#36895: Keep witness stacks in serialized form in CScriptWitness
859de22565f Merge bitcoin/bitcoin#36967: lint: check copyright headers
63a3c03235b Merge bitcoin/bitcoin#36716: net: only monitor select exceptions while connecting
4ec95781e0c torcontrol: Warn about failed connections only if Tor control is configured
0e8f70a8631 Merge bitcoin/bitcoin#34193: wallet: make migration more robust against failures
98687dd5ba7 Merge bitcoin/bitcoin#35765: depends: keep local source archives in WORK_PATH
b19f0dafe61 Merge bitcoin/bitcoin#36958: test: drop `jinja2` dependency from `combine_logs.py`
c77b42d50ef Merge bitcoin/bitcoin#36709: guix: compute --build triplet when lowering, not at load time
5ba05739881 Merge bitcoin/bitcoin#36982: test: handle mainnet logs in `combine_logs.py`
97e3c956229 net: only use the select error set while connecting
801b7e82b45 lint: add copyright header linter
e743b8ed385 contrib: add shebang to asmap.py
f206c658528 refactor: add or fix copyright headers
3bed3cf56f1 test: drop --html option from combine_logs.py
ead7fb7a0fa test: drop jinja2 dependency from combine_logs.py
4e1dc2e0151 test: handle mainnet logs in combine_logs.py
b34dbdff71e depends: disable unused IPC accept filters in zeromq
4cf0f7c80cd Merge bitcoin/bitcoin#36950: test, bench: construct inputs/outputs declaratively in descriptor, bip352, group_outputs and ephemeral spends
f0518a30afb rpc: require a hex string for OP_RETURN data
56fa33eac63 doc: add release note for the reduced memory usage of witnesses
150002be68e script: store witness stacks as their serialization
3fca9597f0d span: add SameSpan
519aa85b6b7 script: remove CScriptWitness's old interface
77f8bac8a0e test, bench, fuzz: build witness stacks before constructing a CScriptWitness
5fc4db08a8f refactor: use CScriptWitness's interface where that needs more than a rename
68b0ae9d9b3 policy: iterate over witness stacks directly in IsWitnessStandard
0f1253eb5a6 script: build the witness execution stack with ToVectors()
0e317e2ab5d script: let ExecuteWitnessScript take its initial stack by value
e294e2812ac scripted-diff: replace witnesses as a whole instead of their stack
ce3c41bc3e8 scripted-diff: serialize CScriptWitness rather than its stack
afc3248f6b0 scripted-diff: read and compare CScriptWitness through its interface
a2230b147be scripted-diff: use CScriptWitness's size(), empty() and back()
4be65959983 test: check CScriptWitness against the vector of vectors it represents
fa34694a431 script: give CScriptWitness an interface that hides its representation
47187d8163a Merge bitcoin/bitcoin#36966: bench: fix `InputType` ODR violation
faab663f38a doc: Fix a typo in a wallet doc
fa347c99c1d test: remove stale -deprecatedrpc=removeprunedfunds
fae4ae54509 rpc: Deprecate watchonly wallet no-op named options
edcac28380b Merge bitcoin/bitcoin#36830: test: make `tx_mempool_block_doublespend` cases independent
5b4baa8dada bench: construct mempool_ephemeral_spends inputs/outputs declaratively
7352a745df5 test: construct group_outputs_tests output declaratively
3e4c803da8b Merge bitcoin/bitcoin#36109: test: fix coinbases built on arbitrary parents
c4112b4e473 Merge bitcoin/bitcoin#36293: contrib: exclude inactive keys from the binary quorum by default
399a5a38058 test: migrate a wallet with a leftover journal at its location
42131a81fdc test: migrate wallet located on a different filesystem
b8ef499909b wallet: migration, make sqlite creation robust against failures
e3a5a48a035 wallet: migration, add MigrationFilePrefix() helper
b6b2f9f12b1 wallet: use RunWithinTxn within MigrateToSQLite
cf5e6803f07 wallet: fail migration gracefully on non-writable wallets
84a9f486475 wallet: migration, restore backup if an exception is thrown
3a9ba874bb7 wallet: migration, handle exceptions during wallet creation
edbf3b62a2c wallet: migration, unify watchonly and solvables wallets creation
74f3ed9021e Merge bitcoin/bitcoin#36936: ci: add `CMAKE_LINK_WARNING_AS_ERROR` to macOS jobs
41c4df2eee6 test: avoid BSD ephemeral-port collisions in HTTP clients
66654bc5ce9 ci: add CMAKE_INTERPROCEDURAL_OPTIMIZATION to Alpine job
307b22b59d4 bench: put InputType enums in anonymous namespaces
bb84842234f Merge bitcoin/bitcoin#36782: doc: fix comments referring to nonexistent functions
01edf546595 Merge bitcoin/bitcoin#34909: wallet, refactor: modularise wallet by extracting out legacy wallet migration
c1cdf8dd5bd ci: add CMAKE_LINK_WARNING_AS_ERROR to native macOS jobs
4457a7d311c tidy: enable readability-redundant-access-specifiers
e520e4c1f4b qt: NOLINT redundant access specifiers around Q_SLOTS
e7862c5f1af refactor: drop redundant access specifiers
5301fdbdc72 doc: add 389 (multipath) and 394 (rawtr) to bips.md
85378534786 doc: fix comments referring to renamed members and functions
dbe9eacd17a Merge bitcoin/bitcoin#36773: doc: fix up some release notes
9fa6aa501f3 Merge bitcoin/bitcoin#36908: mining: avoid checkBlock crash when chain has no tip
faab9adae42 doc: AssertUnreachable and NONFATAL_UNREACHABLE
08ca210a921 Merge bitcoin/bitcoin#36863: test: fix wallet tests that check the wrong wallet
3294adfa451 Merge bitcoin/bitcoin#35756: cmake: De-duplicate libraries where possible
9c73fc80883 Merge bitcoin/bitcoin#35474: node: move index ownership to NodeContext
9fd8e543b3c wallet, refactor: rename file from migrate to legacybdb
f726ef740fa wallet: extract out migration specific LegacySPKM CWallet methods
e8165d53319 wallet: extract out public facing MigrateLegacyToDescriptor functions
156249d75e0 wallet: extract out utility functions from wallet/wallet to wallet/walletutil.h
5c8b0872b62 wallet: (move-only) extract out migration specific CWallet methods
73e8c18841e test: construct descriptor_tests spend transaction declaratively
19128e8b775 Merge bitcoin/bitcoin#36924: test: Speed up interface_ipc_mining.py and fix large timeout-factor bug
442b152c8b0 Merge bitcoin-core/gui#947: Update RPC console wallet when the active wallet changes
0afaa7311be Merge bitcoin/bitcoin#36704: doc: fix docs and enable `-Wdocumentation-pedantic`
e8b442c7610 build: enable -Wdocumentation-pedantic
038388724f4 doc: spell out escape sequences in doxygen comments
f3ce77ca5bd doc: use @param and @return in subprocess.h
0e9ac2cb225 doc: use doxygen comments for blocks containing @param
68e8429bc43 doc: fix incorrect @param annotations
f5a67cf4f3d Merge bitcoin/bitcoin#36912: doc: relax clang-format loop and template declaration rules
6388d1ad355 lint: check release note snippets reference their PR
463c15b594f doc: fix up some release notes
004cfb21a51 Merge bitcoin/bitcoin#36040: Wallet: Don't backdate locktime rbf
786ba167bb7 Merge bitcoin/bitcoin#36835: test: add BIP352 scanning to the functional test framework
8c360f0841a Merge bitcoin/bitcoin#36342: wallet: reject recipient amounts above MAX_MONEY
6090f0afe79 Merge bitcoin/bitcoin#36637: torcontrol: send -torpassword hex-encoded to avoid escaping bugs
3b6068ab86b Merge bitcoin/bitcoin#36586: coins: warn of low disk space before chainstate compaction
f98888efd2b Merge bitcoin/bitcoin#36387: wallet: rpc: Deprecate `encryptwallet` RPC for encrypting existing wallets.
570cef9b99c Merge bitcoin/bitcoin#36501: refactor : Reorder CBlockIndex members to save 8 bytes
3ee664ea989 Merge bitcoin/bitcoin#36087: util: Add and use AssertUnreachable
a690300ee0d Merge bitcoin/bitcoin#36888: test: construct `coinselection_tests` output declaratively
f498a5a6718 Merge bitcoin/bitcoin#36742: lint: shellcheck files with shell shebang
c3d1b4c0b33 Merge bitcoin/bitcoin#36890: Update secp256k1 subtree to latest master
c138ff92541 Merge bitcoin/bitcoin#36867: test: remove legacy wallet leftovers from wallet functional tests
830cca99046 Update secp256k1 subtree to latest master
b3dcf1931b9 Squashed 'src/secp256k1/' changes from a7f264373e..659f03b076
faa89b1ae68 test: Speed up interface_ipc_mining.py and fix large timeout-factor bug
fae567777fb test: Rename default_ipc_timeout -> default_ipc_timeout_ms
4cddbcf534e test: construct miniminer_tests inputs/outputs declaratively
3066c8e1284 test: check the rebuilt getblocktemplate transactions after prioritisetransaction
820120eb466 wallet: rpc: Deprecate `encryptwallet`
86c8fa61540 refactor: test: signrawtransaction isolate encrypted wallet test
8a3c12cea70 refactor: test: wallet_multiwallet.py use a new encrypted wallet
bb78fcca7f6 refactor: test: wallet_listdescriptors.py extract encrypted wallet test
7af91e41a05 refactor: test: wallet_fundrawtransaction.py avoid encryptwallet
c9b9ff4fe43 refactor: test: wallet_bumpfee.py isolate encrypted wallet tests
18ca5225b04 refactor: test: rpc_psbt.py extract encrypted wallet signing
2354ff7b7e8 refactor: test: Avoid encryptwallet in interface_bitcoin_cli.py
079437cca7a Merge bitcoin/bitcoin#36914: test: simplify wallet_basic and rpc_getblockfilter tests
1eeeee497e0 test: Drop hard-coded magic 3
fa06fd5a69a test: Use generateblock with submit=False to create header
66531447adb Merge bitcoin/bitcoin#36864: rpc: deprecate iswatchonly field of getaddressinfo
0fb50460628 Merge bitcoin/bitcoin#36868: test: remove unused nodes and restarts from wallet tests
fa07938a6f5 doc: clang-format: AlwaysBreakTemplateDeclarations: No
fa90a744553 doc: clang-format: AllowShortLoopsOnASingleLine: true
bb357fcd2fc node: move block filter index ownership to NodeContext
66892cdd563 net_processing: get block filter index via PeerManager::Options
e5b76bbdbba rpc: get index info from NodeContext indexes
fafedc683a7 node: move coinstatsindex ownership to NodeContext
2d1dc8f18a2 node: move txospenderindex ownership to NodeContext
530cf35c17f node: move txindex ownership to NodeContext
8cba4bace8d mining: avoid checkBlock crash when chain has no tip
d55f55eda79 Merge bitcoin/bitcoin#36889: cmake: Switch `include_directories` -> `target_include_directories`
95dcec43b86 Merge bitcoin/bitcoin#36903: doc: archive release notes
b7b762880e7 test: pad fork coinbase input scripts
5cdbfd5f01a test: derive fork subsidy from parent
33bbf91e1ae test: derive fork difficulty from parent
4745be9837f refactor: extract fork block reconstruction
bf551335beb test: characterize fork coinbase fields
6832a273e22 Merge bitcoin/bitcoin#36894: net_processing: set fDisconnect instead of calling DisconnectNode
7611c965535 rpc: requests that fail to parse can not be jsonrpc2.0 notifications
0ef1cb66575 rpc: handle malformed jsonrpc 2.0 requests correctly
d63068c58ec net_processing: set fDisconnect instead of calling DisconnectNode
2733c24a09a doc: archive release notes for v30.5
90c684c28e6 doc: archive release notes for v31.3
cd6d7e240bb test: add BIP352 scanning to the functional test framework
435d5b22774 cmake: Remove `WarnAboutGlobalProperties` module
fa9a4ddbaf1 test: Add assert_falsy linter, And use AssertUnreachable
fa20a5c7059 scripted-diff: Replace falsy assertions with AssertUnreachable
fa6b4604e8c test: Remove unused includes in util_tests.cpp
fa1574cdaae refactor: Use AssertUnreachable() and remove dead code
fa81e4700a9 util: Add AssertUnreachable
fa1c93477e6 refactor: Replace unreachable run-time assert with compile time assert
b9b33544aaf test: remove no-op -keypool=0 from wallet_hd
1ac0e9cd5b0 test: update wallet_backup docstring
363355a72dc test: remove dead multisig code from wallet_address_types
e211dd0186e Merge bitcoin/bitcoin#36869: refactor, memusage: Make fields of STL helper structs public
1fbb5253f7d Merge bitcoin/bitcoin#36875: scripted-diff: Drop `IWYU pragma: keep` from build config includes
8130b3b8836 Merge bitcoin/bitcoin#36451: refactor: Use NotNull for CreateNewBlock and pimpls
460f877fac2 cmake: Switch `include_directories` -> `target_include_directories`
4ef05d6f456 cmake: Link `bitcoin_ipc` against `core_interface`
53561d80374 lint: Update `lint_includes_build_config` function
04108a0dbb4 scripted-diff: Drop `IWYU pragma: keep` from build config includes
77476af7be7 test: construct coinselection_tests output declaratively
29f7e30d547 Merge bitcoin/bitcoin#36862: test: use long timeout for event waits in interface_ipc_mining
e1a27bbb38e Merge bitcoin/bitcoin#36848: test: drop flaky "server too slow" check from interface_http.py
b9a6b0ca518 memusage: Make fields of STL helper structs public
afbe6cd25ef test: remove duplicate restart from wallet_sendall
0ba20992e81 test: use one node in signrawtransactionwithwallet and derivehdkey
4f0d4e11c1e test: remove unused node from wallet_basic
5b2f979c9e4 doc: add release note for getaddressinfo iswatchonly deprecation
375dc869d8b rpc: deprecate iswatchonly field of getaddressinfo
13b2d21bebb test: check w8, not w7, after creating the avoid_reuse wallet
215f8b828bc test: restore each node's own wallet backup in wallet_keypool_topup
74135e2e625 test: use long timeout for event waits in interface_ipc_mining
a527a0077a0 Merge bitcoin/bitcoin#36791: test: fix waitTipChanged timeout on slow hosts and use monotonic clock in interface_ipc_mining
fa2028daaa4 lint: Remove global shellcheck exclude of SC2162
faf5cc398bb lint: shellcheck files with shell shebang
fa915864183 refactor: Return NotNull from CreateNewBlock
fa071a2c451 refactor: Mark pimpls as NotNull
fdfd7467cf7 test: Add `is_p2*` and witness version `script_util`
9183edd25e6 Merge bitcoin/bitcoin#36574: ci: Reword stale readme
8b0b5775ab7 Merge bitcoin/bitcoin#36488: rpc: wallet: Schedule mixed-case confTarget option deprecation
75a23e7d36a test: drop flaky "server too slow" check from interface_http.py
ff90ca6cd56 Merge bitcoin/bitcoin#36105: bitcoin wrapper: Fix Windows exec so wrapper waits for child process
dd9d016b2d7 Merge bitcoin/bitcoin#36408: test: allow 3 bytes of fee overestimate in assert_fee_amount
fa4785828e8 util: refactor: Add and use MakeNotNullShared and MakeNotNullUnique
791173ae952 Merge bitcoin/bitcoin#36224: test: Add test coverage for `PartiallySignedTransaction::Merge()`
6c7e464293b Merge bitcoin/bitcoin#36757: net: ignore privacy network peer's view of our address
fa05bcd88ff ci: Add a note on pinning dependencies
fa8e4b7094e ci: lint: Use shellcheck from apt install
faf2b224d56 ci: Reword readme
faf6ed1b3c7 ci: Update binfmt qemu note
a06515e9fdf Merge bitcoin/bitcoin#36807: refactor: Move `NodeId` declaration into `net_types.h` and fix includes in related modules
c68583ab5a8 Merge bitcoin/bitcoin#36068: fuzz: reuse one fuzzed wallet across inputs
d847ecd6b3b test: assert current RPC behavior when handling malformed request body
fd3b09e8bcb fuzz: reuse one fuzzed wallet across inputs
2553b4cd967 wallet: add test-only helper to clear in-memory transaction state
0d98c438ebc test: make tx_mempool_block_doublespend spends conflicting
fad45cacbca rpc: wallet: Schedule mixed-case confTarget option deprecation
6f1365e34f5 Merge bitcoin/bitcoin#36824: ci: Switch to self-hosted CDash
117c54d4c57 Merge bitcoin/bitcoin#36556: depends: fix non-atomic reads in capnp debug assertions
541a000542d refactor: Fix includes in `net`, `net_types` and `node/eviction` modules
f58f08c5652 refactor: Move `NodeId` declaration into `net_types.h`
07540640aa4 test: split tx_mempool_block_doublespend into independent test cases
9320233a3d5 Merge bitcoin/bitcoin#36817: ipc: remove pre-v14 libmultiprocess compat definitions
4677f8841f7 Merge bitcoin/bitcoin#36785: rpc: wallet: Add snake_case aliases for listunspent options
36be848e927 Merge bitcoin/bitcoin#36805: Enclose all header content in include guards
f16d5166a26 ci: Switch to self-hosted CDash
0b9c2c30bfa Merge bitcoin/bitcoin#36810: test: construct `miner_tests` transactions declaratively
d19c4f8b261 Merge bitcoin/bitcoin#36642: rpc: parse each batch element into its own request
ba9c60a61da ipc: remove pre-v14 libmultiprocess compat definitions
ca14da90250 lint: Require all code in a header to be inside its include guard
00e1f35524a Enclose all header content in include guards
e998f12b55c torcontrol: Log when an active onion service is lost
232cb5410a1 Merge bitcoin/bitcoin#36074: scripted-diff: [fuzz] Add util/check.h includes for assertions
229e79321c4 Merge bitcoin/bitcoin#36815: doc: Fix Doxygen attribution of file-level comments
8d33ffe47e3 test: construct miner_tests sigops transactions declaratively
b2ce6c1727e test: construct miner_tests package selection transactions declaratively
9cfd6014005 test: check privacy-network peers' view of our address is not used
533fee6b9da net: ignore privacy-network peers' view of our address
027f13c79e1 seeds: drop documentation about sipa's seed from the README
6b27e165e2e seeds: drop 21.ninja as a seed source
fa6c603af6a scripted-diff: [test] Sort includes
fa3d6b0cf1e scripted-diff: [fuzz] Add util/check.h includes for Assert
c4a68cc5ceb doc: Attach `subprocess.h` header comment to the file
4cb432772c4 doc: Fix `@file` descriptions that start with the file name
c7ebbbba6c9 doc: Fix Doxygen attribution of file-level comments
44901d8f64c Merge bitcoin/bitcoin#36798: test: spend an existing output in `TestBasicMining` double spend case
4ef7904c39f Merge bitcoin/bitcoin#36788: test, bench: construct inputs/outputs declaratively in txpackage, duplicate_inputs and p2sh tests
5861dd29a73 rpc: parse each batch element into its own request
49c3c7fe09a Merge bitcoin/bitcoin#36252: ci, iwyu: skip subtrees in compilation database
c6dcda33b0f Merge bitcoin/bitcoin#36744: refactor: fix mismatched and undefined declarations
b2c7f2545e9 test: spend an existing output in TestBasicMining double spend case
7b124184394 test: merge PSBT `m_tx_modifiable` coverage and renaming bit positions with BIP370 flags
5bf3bc5e263 Merge bitcoin/bitcoin#36772: test: Remove `BOOST_FAIL` and add info in descriptor_tests
faf85b03217 test: Add some NotNull test cases
46ee95db49c test: use time.monotonic() for durations in interface_ipc_mining
9b6dadb39c2 test: fix waitTipChanged timeout on slow hosts in interface_ipc_mining
a4a2647834a test: construct script_p2sh_tests inputs/outputs declaratively
7fc7d26e750 bench: construct duplicate_inputs inputs/outputs declaratively
411c971e75b Merge bitcoin/bitcoin#36613: test: add getblockfilter test coverage for header-only blocks
050982c52d9 Merge bitcoin/bitcoin#36623: build: enable `-Wunreachable-code-aggressive`
cabee9651fb Merge bitcoin/bitcoin#36378: test: Add SKIP_WRITE edge case to wallet_startup
b8b38ef7426 Merge bitcoin/bitcoin#36713: test: remove unused `DynSock::Pipe::GetNetMsg` and `PushNetMsg`
654d74cc1c8 Merge bitcoin/bitcoin#36591: test: deduplicate PSBT unknown-field coverage in `rpc_psbt.py`
b6ccaaef051 Merge bitcoin/bitcoin#36779: Update leveldb subtree to latest master
589fca48cf0 Merge bitcoin/bitcoin#36475: bench: add BIP-352 pubkey extraction benchmarks (standard + P2PKH worst-case)
e71cebc016f Merge bitcoin/bitcoin#36694: test: construct `mempool_tests` inputs/outputs declaratively
1f69c5cfdd9 build: swap -Wunreachable-code for aggressive variant
27da2de66fb refactor: fix -Wunreachable-code-aggressive warnings
f12cc4aed14 Merge bitcoin/bitcoin#36783: Update minisketch subtree to latest master
d531a37c342 Merge bitcoin/bitcoin#36752: net_processing: always disconnect for SENDTXRCNCL after VERACK
4e3b0a441ec Merge bitcoin/bitcoin#36765: fuzz: push messages to one of m_nodes in connman target
521bbaf4093 Merge bitcoin/bitcoin#36731: test: use monotonic clock for durations in test framework and http_interface
f5a887c1996 test: Remove `BOOST_FAIL` and add info in descriptor_tests
f22abab451b Merge bitcoin/bitcoin#36036: build: Bump clang minimum supported version to 19
fcf76ea549f Merge bitcoin/bitcoin#36333: wallet: Delete `removeprunedfunds` RPC
6996cf7abad Merge bitcoin/bitcoin#36725: refactor: Use u64 consistently for flatfile sizes
46a004d0123 Merge bitcoin/bitcoin#36741: policy: Document rounding behavior of feerate fee getters
80d1da3c074 Merge bitcoin/bitcoin#36775: test: wallet: BnB marks exhaustive search complete
facf53acf43 refactor: Re-use a single GetOptionWithAlias
fab4cb51b45 rpc: wallet: Add snake_case aliases for listunspent options
5a699cc2539 torcontrol: send -torpassword hex-encoded to avoid escaping bugs
83e4347e048 Merge bitcoin/bitcoin#36777: refactor: rpc: doc: Mark longpoll counter u32
9f03a91c0bc Merge bitcoin/bitcoin#36384: rpc: Use self.Arg<_>(name) helper over manual and duplicate parsing
093586bf8bd Merge bitcoin/bitcoin#36609: ci: update some lint infra
a8a0e3ae6ff Merge bitcoin/bitcoin#36774: test: Add missing suppression for race:std::__1::__pad_and_output
828ba5a3ba4 Update minisketch subtree to latest upstream
be064af99df Squashed 'src/minisketch/' changes from a12f5de1c9..d44dca4e3f
fa8c3c014d1 refactor: Remove unused include for clang-cl on Windows
faffaeb2b66 build: Drop unused clang-17 -Wno-c++23-extensions workaround
fa31e259556 refactor: Drop unused libc++-16 workarounds
fa6299f87a2 clang-format: Use Standard: Latest
fa909de36f3 build: Bump clang minimum supported version to 19
0fe899d0ede Merge bitcoin/bitcoin#36489: wallet: rpc: Add snake_case aliases for wallet funding options
fa3d4f09928 policy: Document rounding behavior of feerate fee getters
b4f341a93f1 Merge bitcoin/bitcoin#36192: test: cover unsatisfiable mining timestamp
d2897c20617 Merge bitcoin/bitcoin#35598: test: cover feeThreshold = MAX_MONEY in interface_ipc_mining.py
fefea34e152 Merge bitcoin/bitcoin#36592: build: Bump macOS SDK version to 15.0
93bd4e1df47 Merge bitcoin/bitcoin#36747: Update libmultiprocess subtree to add nonunix platform support and fix race conditions
7580a91fe06 Update leveldb subtree to latest master
94497239608 Squashed 'src/leveldb/' changes from 24a446f834..e267773191
ef7c5a900c2 Merge bitcoin/bitcoin#36771: ci: Add missing --error-on=any to apt update
fa8817e6087 refactor: rpc: doc: Mark longpoll counter u32
42b28c8a231 Merge bitcoin/bitcoin#36470: test: make p2p_eviction actually exercise block-time protection
d7a8360f4ef guix: compute --build triplet when lowering, not at load time
fa294de4c4f lint: Allow clang-format to be used in scripted-diff
fa7a154c9f3 ci: Add missing --error-on=any to apt update
fa3821edc0b test: Add missing suppression for race:std::__1::__pad_and_output
ac2c946d3b2 test: BnB marks exhaustive search complete
e9e57d10567 lint: set ruff target-version to py310
80020a95640 ci: use pyzmq 27.3.0
cec51655f36 ci: use MLC 1.3.0
a8520e6433a ci: use mypy 2.4.1
a1053449c67 ci: use ruff 0.17
661b4755425 ci: use uv 0.13
377c7711cf6 Merge bitcoin/bitcoin#36193: guix: introduce a minimal `linux-base-gcc` variant
d206226b499 Merge bitcoin/bitcoin#36458: Test: Add script vectors for interpreter edges
7ce161872eb Merge bitcoin/bitcoin#36405: test: look for the wtxid in p2p_blocksonly
16b314094d7 Merge bitcoin/bitcoin#36769: doc: Permit snippets at /doc/release-notes-uniq-name.md
e0b4592e266 Merge bitcoin/bitcoin#35170: test: Better test coverage for ParseHDKeypath()
6a45c243fdd Merge bitcoin/bitcoin#36770: test: Fix log and comment in mempool_reorg.py
fdd93cbbc0e Merge bitcoin/bitcoin#36142: net: validate Tor onion service replies and cached keys
5336eaa7fa7 test: construct txpackage_tests inputs/outputs declaratively
3b1ba022efd Merge bitcoin/bitcoin#36750: test: construct multisig_tests inputs/outputs declaratively
fa2003a2394 doc: Permit snippets at /doc/release-notes-uniq-name.md
2438fbcade9 test: Fix log and comment in mempool_reorg.py
ec7f64d02e3 doc: release note for removeprunedfunds rpc deletion
3d8c55734e9 wallet: rpc: Delete removeprunedfunds
0e38ad26af9 Merge bitcoin/bitcoin#36612: doc: Merge all BSD build docs back into build-unix.md
902190b6242 Merge bitcoin/bitcoin#36406: test: make p2p_orphan_handling's never-requested checks able to fail
504aab70a08 Merge bitcoin/bitcoin#36580: refactor: Use util::log::FormatString in BaseIndex::FatalErrorf and LogConnectFailure
e319d306850 Merge bitcoin/bitcoin#36601: test: avoid reusing AssumeUTXO coin insertion method in test fixtures
ad51e87ecfd fuzz: push a message to an actually connected node in connman target
102f78306cc Merge bitcoin/bitcoin#36617: test: Fix intermittent issue in p2p_orphan_handling.py
bfab449be1e Merge bitcoin/bitcoin#36670: fuzz: check GetStale() returns exactly the stale private broadcast txs
5965d4761d0 Merge bitcoin/bitcoin#36539: gui: Use PSBT v0
fa7b2d05387 doc: Fix typo in walletcreatefundedpsbt dev comment
fa62bc2b42f refactor: rpc: Use self.Arg<_>(name) helper over manual isNull() ? fallback : getter()
faee904d88f rpc: Align psbt_version parsing
fab17591d51 rpc: Parse generatetoaddress maxtries as u64
fa105f82c3c rpc: doc: Use proper RPCArg::Default in verifychain
6666c799b95 rpc: Use the first arg name in GetParamIndex
d5f7524897d doc: Bump minimum required Cap'n Proto version to 0.9.2
94181c18e25 Merge bitcoin/bitcoin#36348: doc/i2p: mention -privatebroadcast bypasses persistent address
4898199d8f9 build: suppress -Wc++23-lambda-attributes in warn_interface
c4ffd4e69fe Merge commit '270f5dbe3ddac5191ec6b21ceb17c3dddb79b12f' into pr/subtree-15
270f5dbe3dd Squashed 'src/ipc/libmultiprocess/' changes from e8de5c7b68e..acded1aafae
037a33ded14 Merge bitcoin/bitcoin#36679: ci: enable IPC in the i686 job
a0ebf34b006 Merge bitcoin/bitcoin#36686: test: cover cumulative input value range in CheckTxInput tests.
14edee63b64 Reorder CBlockIndex members to save 8 bytes
fef06b8697f Merge bitcoin/bitcoin#36685: wallet: export replaces_txid and replaced_by_txid
59cadd7c5a3 Merge bitcoin/bitcoin#36619: rest: don't log an error for /spenttxouts on a block without undo data
31d8f58717c Merge bitcoin/bitcoin#36754: test: Use `contains` in miniminer_tests
6355c9f8cf6 Merge bitcoin/bitcoin#36632: kernel: document the import_blocks abort
d97f027a697 Merge bitcoin/bitcoin#36578: p2p: clean up a 1p1c package child that is already in the mempool
158a9868f53 test: Use `contains` in miniminer_tests
fa1b829b234 doc: Merge all BSD build docs back into build-unix.md
fa0cad21858 doc: Rework build-unix.md memory limits notes
f103de70de0 Merge bitcoin/bitcoin#36254: bench: add and use undo-data for BlockToJsonVerbosity3 bench
eb1b70d8431 Merge bitcoin/bitcoin#36615: guix: add --no-same-owner to codesign.sh TAR_OPTIONS
2e06f37190b Merge bitcoin/bitcoin#35492: wallet: fail dump on incomplete writes
cfe5cceab6d Merge bitcoin/bitcoin#31507: build: Use clang-cl to build on Windows natively
002b119ce66 Merge bitcoin/bitcoin#35041: descriptor: speed-up `Parse` (xpub/xpriv) in ~30%
3b5ba5d376a Merge bitcoin/bitcoin#36748: test: Small test sync fixups
596dd6fd88e Test: bumpfee does not backdate the locktime
87310779af8 net_processing: always disconnect for SENDTXRCNCL after VERACK
c723c37de69 test: construct multisig_tests inputs/outputs declaratively
ed3d34ba0c0 Merge bitcoin/bitcoin#36706: policy: remove unused GetVirtualTransactionInputSize
f3cd4e4bf85 Merge bitcoin/bitcoin#36494: wallet: reject unknown options in sendall
fa6f1c00c5f test: Use send_self_transfer_chain
fa2986921cd test: Use generateblock with submit=False over manual create_block from tmpl
9d39cec97de Merge bitcoin/bitcoin#36636: netaddress: make .onion suffix check case-insensitive
facf4a0ea98 test: Remove redundant sync_blocks
fb19fed3df0 Merge bitcoin/bitcoin#35728: rpc: Properly throw on internal I/O errors in GetTransaction
9e8e61ae8e3 p2p: clean up a 1p1c package child that is already in the mempool
67d9d7fe439 Merge bitcoin/bitcoin#36344: wallet: reject duplicate inputs in sendall
5f972485ffd http: use MockableSteadyClock::time_point in ShouldDisconnect declaration
bad11ff68ec qt: remove undefined BanTableModel::{start,stop}AutoRefresh
0ae65892445 rpc: remove undefined RPCResult::ToStringObj and ToDescriptionString
3fa42941d16 common: make FeeModeInfo static, remove mismatched declaration
410843a684d rpc: make AddInputs static, remove mismatched declaration
f5e10868da4 Merge bitcoin/bitcoin#36584: kernel: make btck_LogEntry opaque
35195e66fcc Merge bitcoin/bitcoin#36707: net_processing: remove redundant `peer` check in `MaybePunishNodeForBlock`
654a92a9d3e wallet: reject duplicate inputs in sendall
331902f1dda doc: Rename `build-windows-msvc.md` to `build-windows-native.md`
fe2ffef6bc7 doc: Add clang-cl release notes
4f1e6de6c44 cmake: Drop support for the MSVC compiler (cl.exe)
720f381a264 Couple `BSWAP_CONSTEXPR` definition to bswap implementation
4d7e07035df cmake: Adjust diagnostic flags for clang-cl
c4111989e47 cmake: Link to clang-cl builtins library on Windows
d2645f7ed48 cmake: Always link `bitcoinqt` to `shlwapi` when building on Windows
5ec877a74df guix: pass --disable-libstdcxx-filesystem-ts to libstdc++
57964dc5bf8 guix: pass --enable-clocale=generic to (non-GUI) libstdc++
6e9ad623236 guix: pass --with-libstdcxx-zoneinfo=no to (non-GUI) libstdc++
6cb41040a10 guix: pass --disable-wchar_t to (non-GUI) libstdc++
7bc757ce87b net: Do not add consensus invalid transactions to extrapool
e381e29f9a1 depends: patch around Boost Test std::wcrtomb usage
ddea9196493 Merge bitcoin/bitcoin#36554: cmake: Reject warnings in `check_cxx_source_compiles_with_flags()`, use `-msse4.1` for SHA-NI
38ece2a9c85 Merge bitcoin/bitcoin#36712: fees: prevent divide by zero in CFeeRate
3581d56b30a Merge bitcoin/bitcoin#36305: net: Use exclusive P2P listen sockets on Windows
a7d3a429732 test: use monotonic clock in interface_http
eccca10e646 test: use monotonic clock for durations in test framework
e310efb202b Merge bitcoin/bitcoin#36618: test: Wait for index sync in all tests
d54844eaeba Merge bitcoin/bitcoin#36091: test: Add debug output to common tested types
cd74d9650e8 Merge bitcoin/bitcoin#36715: refactor: Enable bugprone-signed-char-misuse
f442fa20d43 fees: prevent divide by zero in CFeeRate
fa2c8df1810 Add test coverage for varint overflow
faed02f6d0a refactor: Use LARGE_INTEGER QuadPart on Windows
faf8d0e33ad refactor: Use u64 consistently for flatfile sizes
fad49fd81fc Add doc/release-notes-35728.md
fa7d278aad8 refactor: Use GetTransaction in ProcessPSBT
fa32e607531 rpc: Properly throw on internal FindTx IO errors in ProcessPSBT and GetTransaction
4f3dcb76ab3 fuzz: check GetStale() returns exactly the stale private broadcast txs
98f9eb6afdf test: cover negative input in CheckTxInputs
2077d1571ee kernel: document the import_blocks abort
6c01bd0b2dc Merge bitcoin/bitcoin#36687: test: wait for the node to finish the last block in p2p_ping_ibd
71133aeccb4 Merge bitcoin/bitcoin#35818: bloom: avoid undefined sizing calculations
40689f98ccf Merge bitcoin/bitcoin#36714: net_processing: remove m_wtxid_relay_peers
862f6038ebc Merge bitcoin/bitcoin#36011: btcsignals: destroy callbacks on disconnect
ab7e668cc6a Merge bitcoin/bitcoin#36611: test: consolidate mempool constants
fa6efa5da55 refactor: Enable bugprone-signed-char-misuse
7a840e29205 net_processing: remove m_wtxid_relay_peers
e172eb69df9 test: remove unused DynSock::Pipe::GetNetMsg and PushNetMsg
b048a3e8386 Merge bitcoin/bitcoin#36701: ci: Disable tests on ARM32 in GHA yaml
43a33e513c4 Merge bitcoin-core/gui#970: Remove legacy BIP70 merchant name from tx details window
faaf4a751c6 test: Add test to check RPCs throw on IO errors
fad44f18b88 rpc: Return proper error messages from getrawtransaction
66292fa4b57 net_processing: remove redundant peer check in MaybePunishNodeForBlock
3e2cf63da50 policy: remove unused GetVirtualTransactionInputSize
07efc592927 Merge bitcoin/bitcoin#36703: test: Sync blocks in test_witness_block in p2p_segwit.py
3c51322d9f9 Merge bitcoin/bitcoin#36594: net: make orphan reconsideration more granular
fab8fd026cf test: Sync blocks in test_witness_block in p2p_segwit.py
fa01c3c533b ci: Disable tests on ARM32 in GHA yaml
d1fb1ba36aa Merge bitcoin/bitcoin#36071: refactor: fuzz: remove cost_of_change from coin-grinder fuzz target
d14b94ddad2 Merge bitcoin/bitcoin#36663: test: Use single node in mempool_reorg.py
133714d1695 test: cover cumulative input value range in CheckTxInputs
b7abd88f0f2 test: construct mempool_tests inputs/outputs declaratively
6ed5aad0611 Merge bitcoin/bitcoin#36124: http: Make `HTTPRequest` update state internally
18953bd01f1 Merge bitcoin/bitcoin#36606: test, bench: construct inputs/outputs declaratively in context-dependent cases
05187ec2496 Merge bitcoin/bitcoin#29843: policy: Allow non-standard scripts with -acceptnonstdtxn=1 (test nets only)
bdf58dd89cc test: construct transaction_tests test_Get inputs/outputs declaratively
24d00c45394 bench: construct ccoins_caching inputs/outputs declaratively
363d9e9d381 Merge bitcoin/bitcoin#36682: refactor: Use std::erase and std::erase_if
a45478aa275 test: construct sigopcount_tests BuildTxs inputs/outputs declaratively
524d554e2bf test: construct CreateBlockChain coinbase declaratively
60be0930ca9 test: construct transaction_utils inputs/outputs declaratively
6a5212fb97c doc: Add missing names to activate grouping syntax
9bf4815b94b Merge bitcoin/bitcoin#35714: validation: return block-file flush errors
f8c6cd84e08 test: support multiple inputs in CheckTxInputs test helper
9af82f9872c test: wait for the node to finish the last block in p2p_ping_ibd
bff0a2fabfe wallet: export replaces_txid and replaced_by_txid
0f27bed5b29 Merge bitcoin/bitcoin#36676: cli: respect -rpcclienttimeout even when sending
b1172114df0 Merge bitcoin/bitcoin#36098: fuzz: add corpus reachability checks
4d99cc5c9bb Merge bitcoin/bitcoin#36684: test: check AddToBlockIndex keeps first-seen header on equal work
c3ca59bab7c Merge bitcoin/bitcoin#36683: doc: fix `v32.1` release notes archive
41952c4730e doc: archive release notes for v29.5
24d0af054a3 doc: archive release notes for v30.4
c8ff8e8eadd doc: archive release notes for v31.2
1a45b913f39 doc: archive v32.1 release notes
f8c9f2b5377 Merge bitcoin/bitcoin#36678: doc: adapt release notes template to security disclosure policy update
ad68edfb92f doc: link to security disclosure policy in release notes template
701545e5b57 test: check AddToBlockIndex keeps first-seen header on equal work
fa917ddcb1c Remove legacy BIP70 merchant name from tx details window
fa87bfe31df refactor: Use std::erase and std::erase_if over iterator-based erase
fa93a025631 refactor: Use std::erase and std::erase_if over list removal or vector erase-remove
3ce364124c0 test: bip32_tests: Add some more tests cases
72414a709d5 test: bip32_tests: Add round-trip tests
60bdfdb19e9 test: bip32_tests: Add expected result checks
7b5ce9c529b test: Refactor in bip32_tests: extract test data in an array
1176a20d526 doc: add release note for -acceptnonstdtxn changes
1df59107204 validation: Add compile-time checks for consensus flags
425115713c5 validation: Check only (potential) block script flags when -acceptnonstdtxn is set
703ebdf9de8 validation: Be explicit about whether CheckInputScripts is for block/mempool
65ddcb4f35c ci: Enable IPC in the i686 job
ae658dd8061 doc: adapt release notes template to security disclosure policy update
148210fe99b refactor: Flatten HTTPRemoteClient::ReadRequest() into HTTPRemoteClient::TryReadRequestInternal()
9692e6f7d00 refactor: Extract HTTPRemoteClient::TryReadRequestInternal() from static HTTPRemoteClient::TryReadRequest()
05897e53b2f http: Extract HTTPRequest::Load() to remove SetState()
aa76bd266df Merge bitcoin/bitcoin#36529: test: measure rpcwaittimeout floor with monotonic time
dc27539d42b test: measure rpcwaittimeout floor with monotonic time
e5d9a7e04b5 cli: fail to send a request when the socket does not become writable
db31a3ad1f7 test: check P2P listen port exclusivity
0dbd271eb4a net: use exclusive P2P listen sockets on Windows
d8cca0c110b test: use MAX_FUTURE_BLOCK_TIME from blocktools
9ee579b6cba test: move DEFAULT_ANCESTOR_LIMIT to mempool_util
8f4caec8959 test: consolidate DEFAULT_CLUSTER_LIMIT to mempool_util
75a611998e3 test: add MAX_REPLACEMENT_CANDIDATES to mempool_util
aa7d0a5b582 test: use TRUC constants from mempool_util
23288073d4e Merge bitcoin/bitcoin#36588: refactor: Enable more tidy bugprone checks
631b0065a7f Merge bitcoin-core/gui#955: qt: filter addhdkey from RPC console history
15ba42294eb Merge bitcoin/bitcoin#36674: Update leveldb subtree to latest master
eebc145847b rest: don't log an error for /spenttxouts on a block without undo data
e1dfb04fcf2 Squashed 'src/leveldb/' changes from 53a1914e00..24a446f834
8d3d929e4d7 Update leveldb subtree to lastest master
2b5b6fe231f Merge bitcoin/bitcoin#36669: refactor: store positions as a 64 bits integer in flatfiles
5da09030f74 Merge bitcoin/bitcoin#36667: net: enforce timeout interval for paused send peers
3fdc45d1fa2 refactor: psbt: Don't set a default version for PSBT constructor
23dcb03a2c6 gui: wallet: Use v0 PSBT
cc2534cdf7b net: enforce timeout interval for paused send peers
2186232955f Merge bitcoin/bitcoin#36665: sock: align exception monitoring between poll() and select() backends
dd9d2b919d6 Merge bitcoin/bitcoin#36610: test: add `plyvel` to deps table
fa3aeb51cfb test: Extract first test case in mempool_reorg.py
fa329d62c51 test: Use single node in mempool_reorg.py
fabf5c52ccb test: refactor: Use trigger_reorg helper in mempool_reorg.py
0574f096abf netaddress: make .onion suffix check case-insensitive
1e0c4073770 sock: align exception monitoring between poll() and select() backends
a773e1e33b3 Merge bitcoin/bitcoin#36624: test: Enable noban_tx_relay in a few more tests
2fcfa1dae75 doc: add chainstate compaction release note
cef76701a81 coins: skip compaction if disk space is low
f57a6973da9 logging: share full compaction logs
facb2209061 refactor: Enable bugprone-return-const-ref-from-parameter to find missing LIFETIMEBOUND annotations
fa211896e55 refactor: Enable some useful bugprone checks, which are clean right now
faa76b44c6e refactor: Enable bugprone-inaccurate-erase
fafce023b3d refactor: Enable bugprone-string-literal-with-embedded-nul
fa704c5d3ca test: Use faster noban_tx_relay in mempool tests
fa6f7e36a8c test: [doc] Clarify noban_tx_relay comment
faf2e3aba59 test: Use proper noban permission for faster tx relay
fa74dc72d94 test: refactor: Wait for index sync by default
a4d470e1e9a test: add plyvel to deps table
df0dc1e2d20 Merge bitcoin/bitcoin#36616: test: keep noban_tx_relay config after node is restarted
b469ff8fddb test: keep noban_tx_relay config after node is restarted
fa8009ba299 test: Wait for index sync in wallet_fast_rescan.py
83003cafaa8 qa: test a single orphan is processed per peer turn, regardless of its validation result
faf819bf23e test: Fix intermittent issue in p2p_orphan_handling.py
d2e5108ea2d guix: add --no-same-owner to codesign.sh TAR_OPTIONS
64cf455b481 test: add getblockfilter test coverage for header-only blocks
152a55397e4 Merge bitcoin/bitcoin#35395: doc: Improve test suite dependencies documentation
2cd1db40fdb Merge bitcoin/bitcoin#36581: subprocess: fix command line memory leak on Windows
cf30d0a4123 subprocess: fix command line memory leak on Windows
722d08e0398 test: Convert `BOOST_CHECK` macros with known debug string
d735b94803a test: Add display `operator<<` overloads to `common.{h,cpp}`
f655a8df755 Merge bitcoin/bitcoin#36599: test: Fix intermittent timeout waiting for ibd_wtxid getdata
2034d3078ee Merge bitcoin/bitcoin#36456: Test: Cover malformed and truncated tx encodings
3eca89820e1 Merge bitcoin/bitcoin#36590: doc: archive release notes for v32.0
1c62336903c test: avoid snapshot insertion in coin fixtures
7777598f87e test: Fix intermittent timeout waiting for ibd_wtxid getdata
28a41e61ab5 net: reconsider at most one orphan per call, whatever the validation result
ef4310097bd test: combine redundant PSBT unknown field merge cases into `test_combinepsbt_preserves_unknown_fields`
de96f3ae6d1 Merge bitcoin/bitcoin#36465: Test: Add P2SH scriptSig stack-size boundary tests
316ea3280e9 Merge bitcoin/bitcoin#36457: Test: Cover malformed merkle trees and nBits
eaa8d1f5a5f build: Bump macOS SDK version to 15.0
10f7cf84879 Test: Cover malformed and truncated tx encodings
0c0e6ba0167 Test: Cover malformed merkle trees and nBits
7efbdb6437a Merge bitcoin/bitcoin#36287: build: Bump Xcode CLT minimum supported version to 26.3
be322f6f50a doc: archive release notes for v32.0
40eba5eb20b test: extract unknown fields passthrough to its own method
f86c614e692 Merge bitcoin/bitcoin#35919: p2p: cap maxconnections at 2,000 to reduce crash risk
fab3062590e refactor: Enable bugprone-unused-raii
9878e2a5cf3 Merge bitcoin/bitcoin#36279: test: non-inbound version message promotes address to tried table
a2d42ce892d Merge bitcoin/bitcoin#36579: refactor: Enable some string performance tidy rules
4fe28722a57 Merge bitcoin/bitcoin#36453: util, cli: name the Sock wait timeout cap and use it for -rpcclienttimeout=0
d3c3871b593 Merge bitcoin/bitcoin#36509: refactor: remove more dead code
355d998dae4 Merge bitcoin/bitcoin#36449: addrman: use uniform sampling inside buckets
61f1e2a57ff Merge bitcoin/bitcoin#36531: guix: use `--load-path` for local modules
4510d3dbdd0 Merge bitcoin/bitcoin#35461: util: Clarify the assertion message in assertion failures (Assert, Assume, etc.)
81fde00cc7f util: Unify assertion and unreachable handling
aa64d77ce8f util: Rename assertion_fail() -> internal_abort_helper()
2e3a53464d3 util: In Assert clarify the failing condition in the message
b30f750de56 p2p: cap maxconnections at 2000
48092a9042d flatfile: use 64-bit file positioning syscalls in Windows
b2c077394a5 kernel: make btck_LogEntry opaque
4303f3b7f07 Merge bitcoin/bitcoin#36582: test: reorder functional tests by current runtimes
649e075655c test: move slow tests to run earlier
6a59afd317d test: move fast tests to run later
fabb6bbe53e refactor: Use single-char overload in execute_process WIN32 block
fafbcadc1bc refactor: Use util::log::FormatString in BaseIndex::FatalErrorf and LogConnectFailure
6799119cef7 Merge bitcoin/bitcoin#36397: scripted-diff: [wallet] Remove trailing newlines from one-line log messages
9c79f5550ab Merge bitcoin/bitcoin#36573: test: cover gettxspendingprevout error without txospenderindex
06edf059002 Merge bitcoin/bitcoin#36177: net: fix startup failures from stale Tor examples
0a8e904ceea Merge bitcoin/bitcoin#35321: p2p: Misbehave on invalid compact block in optimistic reconstruction
020fcb281eb Merge bitcoin/bitcoin#36553: test: Add missing sync_mempools in wallet_conflicts.py
bbbb9c6d73a refactor: Enable performance-faster-string-find
5bb7c5646a7 cmake, crypto: Use `-msse4.1` instead of `-msse4` for x86 SHA-NI
9ab42235c15 cmake: Treat warnings as errors in `CheckSourceCompilesWithFlags`
c4763b716db cmake: Make sanitizer and fuzzer checks warning-free
faae016796e refactor: Enable performance-prefer-single-char-overloads
fa7973e1138 refactor: Enable performance-string-view-conversions
61cb3d966a8 descriptor: replace O(n) INPUT_CHARSET.find() with precomputed lookup table
75fd00099cc descriptor, key_io: avoid redundant work when parsing keys
d0d1e49c8c1 Merge bitcoin/bitcoin#36559: test: zero-pad the port in feature_anchors' expected hex
8ba6cb08dfa cmake, minisketch: Make CLMUL check warning-free
17556cb1f52 flatfile: store position as a 64 bits integer
a7a584fc8e2 Merge bitcoin/bitcoin#36407: test: make orphanage_dos_many fill the orphanage
2fd9be21e28 test: make p2p_eviction actually exercise block-time protection
89bc05fe832 cmake, crc32c: Make SSE4.2 check warning-free
ebb53105035 Merge bitcoin/bitcoin#36341: wallet: return error from bitcoin-wallet create
3983b5823ba Merge bitcoin/bitcoin#36339: wallet: avoid int overflow in listtransactions
53865a0addc cmake: Initialize variables in ARMv8 SHA-NI check
cd3353c6892 cmake: Add `[[maybe_unused]]` annotation to atomic library check
01b51c0f1fa Merge bitcoin/bitcoin#36295: refactor: Remove args-wrappers in favor of naked value_or()
368c1382315 Merge bitcoin/bitcoin#36231: test: add pow tests covering live mutants
e921dfaab17 Merge bitcoin/bitcoin#36438: test: a switch to tx relay via filterclear can trigger eviction
619334569b4 Merge bitcoin/bitcoin#36541: test: Small p2p_node_network_limited.py cleanups
edf0d13ad5f test: cover gettxspendingprevout error without txospenderindex
fa0c552cc5a wallet: Reject trailing newline in format strings
fada75ccb05 util: Add option to reject trailing newline in format strings
fa57d5244b3 scripted-diff: [wallet] Remove trailing newlines from one-line log messages
fa6c7942ad8 wallet: Remove inconsistent and redundant trailing error newlines
fa89aeec855 test: [move-only] Move test_LogEscapeMessage to logging tests
6301d464f72 Merge bitcoin/bitcoin#36422: test: check unconnecting headers don't reset the getheaders rate limit
bb19150a32b Merge bitcoin/bitcoin#36159: http: Improve HTTPRemoteClient::MaybeDisconnect()
276db20b64e Merge bitcoin/bitcoin#36524: common: drop locale setting hack
fe52f520de1 Merge bitcoin/bitcoin#36368: bitcoin-tx: reject in and outscript arguments with too many separators
fa1061481bb test: Add missing sync_mempools in wallet_conflicts.py
fa3986f5c1d test: Remove redundant sync call after self.generate called sync_all
71fa0439278 Merge bitcoin/bitcoin#36545: test: Fix intermittent issue in p2p_initial_headers_sync.py
2f7622e3f6f test: zero-pad the port in feature_anchors' expected hex
d22d3565128 util, cli: name the Sock wait timeout cap and use it for -rpcclienttimeout=0
6e8e85ddcf2 depends: fix non-atomic reads in capnp debug assertions
924f4c4ac78 Merge bitcoin/bitcoin#36552: refactor: drop lifetimebound `__has_attribute` check
702ec9d40f8 wallet: reject unknown options in sendall
fad76375294 test: Fix intermittent issue in p2p_initial_headers_sync.py
84f8bfb9abc refactor: drop lifetimebound __has_attribute check
b13ba1a7d3a Merge bitcoin/bitcoin#36439: test: poll more frequently in sync helpers and RPC connection wait
89a3a13c44e Merge bitcoin/bitcoin#35724: cmpctblock: Improve logging of `cmpctblock` message reconstruction statistics [part of prefill series]
38ac0d530ff Merge bitcoin/bitcoin#36522: test: check MIN_PEER_PROTO_VERSION peers are not disconnected
49b4b4add34 Merge bitcoin/bitcoin#36514: ci: Remove confusing -DBUILD_BENCH=ON -DBUILD_FUZZ_BINARY=ON from CONFIG_ALL
87fbedf5f83 Merge bitcoin/bitcoin#36544: test: Fix intermittent issue in p2p_eviction.py
c50817fe2d8 Merge bitcoin/bitcoin#36535: policy: sum package weight in int64_t
43bb5e3c467 doc: add release note for #36524
cbd2964db77 common: drop locale setting hack
1164c77d2d4 test: run GUI nodes in Dutch with -lang
fa9a9657506 test: Fix intermittent issue in p2p_eviction.py
8898f832d9d test: poll more frequently in sync helpers and RPC connection wait
fadcd0b64e3 test: Remove confusing ensure_for
fa13e8954d2 test: Fix block height typos in test logs
cce32b16874 Merge bitcoin/bitcoin#36379: fuzz: fix stale comments in http_request
faaabe4454c policy: sum package weight in int64_t
649bc0a645e Merge bitcoin/bitcoin#36511: test: Small mempool_compatibility.py cleanups
48eed2fc277 guix: use --load-path for local modules
3c30b8ae4fe Merge bitcoin/bitcoin#36446: test: remove some avoidable test waits
5aaaf7b8d1e test: check network filtering and uniformity of addrman Select
3f7f845cf51 fuzz: fix stale comments in http_request
b1ddb7d6857 Wallet: Do not allow bumpfee to backdate the replacement transaction locktime
4f5ce816db1 cmpctblock: log: Print sizes of all tx types and prefill redundancies
f13ae519de9 Merge bitcoin/bitcoin#36469: refactor: deduplicate block validation state catcher
60ebd98c790 Merge bitcoin/bitcoin#36425: guix: declare python-setuptools in codesign manifest
5b07c48b838 test: check MIN_PEER_PROTO_VERSION peers are not disconnected
570c4a184f4 build: enable -Wunused-macros & -Wunused-template
7981e617644 test: remove unused equal from check_equal()
e8a70c0c688 qt: remove unused WalletController::m_options_model
2e23a5b1f16 qt: remove unused AddressBookPage::sendCoins signal
18a5e90179d qt: remove unused ClientModel::getNumBlocks and its cache
3a3e0ced8c1 qt: remove unused BitcoinAmountField::setReadOnly
f226197c001 qt: remove unused BitcoinAmountField::SetMaxValue
92ad4ad4042 qt: remove unused removeAllWallets
4881802c3f6 qt: remove stale PeerTablePriv forward declaration
3f40af46727 fuzz: remove unused FuzzedWallet::GetScriptPubKey
fc21d187411 qt: remove unused COLOR_BLACK
830a95548a4 refactor: remove unused ScriptHash(const CScriptID&) constructor
d6ffa22e287 fuzz: remove unused MockedDescriptorConverter::IdIsXpub
664c2f4600d logging: remove unused Logger::AddCategoryLogLevel
fb7a3aef1bc addrman: remove unused AddrMan::Unserialize(AutoFile&) instantiation
54fe34c6b32 policy: remove unused EXTRA_DESCENDANT_TX_SIZE_LIMIT
71f598018bc refactor: remove unused BinarySemaphoreGrant alias
a781e482898 qt: remove unused TrafficGraphWidget::getGraphRange
8a8a46d7b61 qt: remove unused OptionsDialog::proxyIpChecks signal
2fecbfd1e15 qt: remove unused QValueComboBox::setRole
50fb338f94e qt: remove unused ClientModel::isReleaseVersion
101345feaa0 script: remove unused FillableSigningProvider::GetCScripts
5eddbb45c2a ipc: remove unused FooImplementation::passBlockState
15959641816 test: remove unused GetMockableDatabase declaration
98136193f6b kernel: remove unused MemPoolLimits::NoLimits
d7c16aa057e netbase: remove unused Proxy::GetFamily
d28d1a98099 span: remove unused MakeWritableUCharSpan
173ec9a06cf Merge bitcoin/bitcoin#36517: Update crc32c subtree to latest master
577eb5610e1 cmpctblock: log: Log extrapool separately from mempool
a6cc3f30ef4 cmpctblock: log: debuglevel=trace print TXID's of all missing tx'es.
4b4cdde064c Merge bitcoin/bitcoin#36504: test: Add missing timeouts for HTTPConnection
2958dda3908 Update crc32c subtree to latest master
55f7dd00213 Squashed 'src/crc32c/' changes from 60bcf13edf..5bd2a6bcf9
22535b46056 test: look for the wtxid in p2p_blocksonly
fa13e6e1751 ci: Refactor BITCOIN_CONFIG_ALL into array
fac89d44e30 ci: Remove confusing -DBUILD_BENCH=ON -DBUILD_FUZZ_BINARY=ON from CONFIG_ALL
badc9574810 Merge bitcoin/bitcoin#36485: ci: refactor BUILD_TARGETS use
fae8a8fd3cc test: Small mempool_compatibility.py cleanups
3b07eeeae08 Merge bitcoin/bitcoin#36294: mempool: Remove -persistmempoolv1 option
1605d8873e8 Merge bitcoin/bitcoin#36440: test: speed up functional tests by removing avoidable waits
fa4308dfbf3 test: make wait_until timing arguments keyword-only
fa5ad60c328 test: Add test for getrawtransaction block read errors
fad441867c9 test: Add missing timeouts for HTTPConnection
60afa0b8d71 Merge bitcoin/bitcoin#36441: doc: fix How to Upgrade section for bitcoin wrapper and libexec
a8b69bdeafd Merge bitcoin/bitcoin#36271: Revert #36057 & document mingw-w64 requirement
5a4cd705470 Test: Add P2SH scriptSig stack-size boundary tests
4307c2e0b01 doc/i2p: mention -privatebroadcast bypasses persistent address
56c0f168d1a bench: add worst-case P2PKH benchmark for BIP-352 pubkey extraction
228877d7836 Merge bitcoin/bitcoin#36467: test: Set socket timeout in interface_http.py
d71bc7127f0 bench: add benchmarks for BIP-352 pubkey extraction (standard inputs)
c067aa716f8 Merge bitcoin/bitcoin#36337: fuzz: Cover block filter P2P messages
faeb073ca68 test: Use new named arg aliases in tests
fac8ef10f4c wallet: rpc: Add snake_case aliases for wallet funding options
fa5643ff99a ci: refactor BUILD_TARGETS use
4bacf21a13c Merge bitcoin/bitcoin#36474: ci: Run valgrind --exclude tests again
acdb3269341 Merge bitcoin/bitcoin#35989: wallet: fix crash on importdescriptors with a range ending at 2^31-1
8dc80cafa2e test: wake p2p wait_until on message delivery instead of polling
10cfeb33357 test: set noban_tx_relay to speed up slow tx relay tests
f739c7876b8 Merge bitcoin/bitcoin#36450: test: Use timeout_factor for drain timeout in check_slow_read_throttle
8ad7e25d1ff Merge bitcoin/bitcoin#34374: kernel: use struct-based logging and simplify logging interface
c9cccf6d68c refactor: deduplicate block validation state catcher
fa486a48432 ci: Run valgrind --exclude tests again
442884f5f3b Merge bitcoin/bitcoin#35037: ipc: support per-address max-connections options on -ipcbind
8406af1c0d6 Merge bitcoin/bitcoin#36436: ci: Derive CONTAINER_NAME from the ci config file name
6b93788355b Merge bitcoin/bitcoin#36471: bitcoin-util: print genesis hash in display order
f60450e98fc Merge bitcoin/bitcoin#36416: test: use ipaddress in addr_to_hex
cc8285e8c98 bitcoin-util: print genesis hash in display order
fa5551cc6de test: Rework 413 Too Large tests in interface_http.py
282a05b8d10 Merge bitcoin/bitcoin#36462: rpc: fix OpenRPC hex pattern to allow empty strings
fab1529ebc7 test: Set socket timeout in interface_http.py
fab64c032c1 test: DestroyAllBlockFilterIndexes in ~ChainTestingSetup()
fadc2c93d3d fuzz: Cover block filter P2P messages
4d7e00d36bf rpc: Fix OpenRPC hex pattern to allow empty strings
db0bde16b91 Merge bitcoin/bitcoin#36418: kernel: document that btck_WriteBytes may receive a null pointer
9a0e095c687 addrman: use uniform sampling inside buckets
5d2fb8d3098 Test: Add script vectors for interpreter edges
b497a71c663 kernel: document that btck_WriteBytes may receive a null pointer
9dfde64cc32 Merge bitcoin/bitcoin#36447: test: Misc fixes for pending validation events races
35e3c9324e6 Merge bitcoin/bitcoin#36029: cmake: Detect and log MinGW-w64 version when cross-compiling for Windows
ff623cfa9be Merge bitcoin/bitcoin#36392: test: Extract and use sigterm_node in init_fd_overflow_test
fa466dea808 test: Avoid pending validation events from TestChain100Setup
fa339713dbc test: Drain all validation events before stopping indexes
9523d2b4a18 Merge bitcoin/bitcoin#34844: util: Add util::NotNull<SmartPtrType>
fa845f76d5c test: Use timeout_factor for drain timeout in check_slow_read_throttle
14a328f75df Merge bitcoin/bitcoin#36338: BIP-352: fix P2PKH pubkey extraction from malleated scriptSig
5661a65c9fb Merge bitcoin/bitcoin#36432: wallet: show real fee_reason strings in help
672c2d21377 Merge bitcoin/bitcoin#36448: randomenv: use `KERN_POSIX1` over `KERN_OSREV`
6b8a5524f7e Merge bitcoin/bitcoin#36291: test: add script_tests cases covering interpreter mutants
14f89aeea6d Merge bitcoin/bitcoin#36340: util: cap Sock::WaitMany timeout to fix -rpcclienttimeout=0 on macOS
12f691cf286 validation: return block-file flush errors
07d23eb7552 test: characterize writes after flush failure
d1f9a5b3e05 randomenv: use KERN_POSIX1 over KERN_OSREV
2abf671d2e1 http: Flatten control flow in HTTPRemoteClient::ShouldDisconnect()
5b98d56c93b test: Verify behavior of HTTPRemoteClient::ShouldDisconnect()
59a3e8803c1 refactor: Switch client idle timeout to mockable clock
5fba3308338 refactor: Rename MaybeDisconnect() to ShouldDisconnect() and make it const
cb8f4b0a303 http: Add log message for remaining case where we set m_disconnect = true
0cd0789c86b test: use ipaddress in addr_to_hex
fa21ac647dc test: [move-only] wallet rescan tests to separate TU
fa2cdb6a3c1 ci: [refactor] remove redundant GOAL=install
fa547e8204c ci: [refactor] Remove redundant set -o errexit
fa8fd9164fb ci: Derive CONTAINER_NAME from the ci config file name
93c8aec3fbc doc: add release note for #35989
aef8a04966d Merge bitcoin/bitcoin#36435: ci: isolate container test networks
3cb91bc7da6 Merge bitcoin/bitcoin#36308: test: Set tsan enable_adaptive_delay=1 by default
fa42e286841 refactor: Return util::NotNull<std::unique_ptr<ChangeSet>> from CTxMemPool::GetChangeSet()
fa04fafb3aa refactor: In CNode use util::NotNull<std::unique_ptr<Transport>> m_transport
fae9ab0f0dc refactor: Use NotNull pointer to input fetching pool
fa0184afa2f refactor: Use util::NotNull<std::unique_ptr<LevelDBContext>> m_db_context
fafa44e020a util: Add util::NotNull<SmartPtrType>
c04e968b2b8 guix: update certvalidator for Python 3.12
acaf322fc43 Merge bitcoin/bitcoin#36152: test: cover the feature-negotiation version boundary in p2p_leak
f55788e8455 Merge bitcoin/bitcoin#36277: net: always complete all initial private broadcast connections
cf80493e236 Merge bitcoin/bitcoin#34729: Reduce log noise
2c992472842 Merge bitcoin/bitcoin#36303: http: Log bytes received from client, use to replace receive-throttle regression test
28706086611 doc: fix How to Upgrade section for bitcoin wrapper and libexec
ce1d88b2632 test: avoid unused wallet test chains
40619d06874 bench: honor configured wallet epochs
79bb94f0924 test: cap expected IPC timeouts
06cb869112d test: shorten network limited negative wait
7dc0e8174c7 test: a switch to tx relay via filterclear can trigger eviction
09e22fbbb0c Merge bitcoin/bitcoin#35873: test: add a tx_valid vector for CVE-2024-38365
b47ec7c6e14 Merge bitcoin/bitcoin#35835: test: add CONST_SCRIPTCODE failure-path vectors to script_tests.json
889e7c5af84 Merge bitcoin/bitcoin#36329: psbt: add new test vectors
0036d5f1fa0 Merge bitcoin/bitcoin#36262: test: cover orphan reconsideration interruptibility
36e9e52f169 Merge bitcoin/bitcoin#34907: wallet, test: make wallet_fast_rescan robust
8c49a9abe91 Merge bitcoin/bitcoin#36151: makeseeds: fix off-by-one in field count check
b42ea675334 Merge bitcoin/bitcoin#36349: rpc: avoid copying unbroadcast transaction IDs just to count them
fa966fd7676 ci: Use one subnet per container
714261b508c Merge bitcoin/bitcoin#36426: test: check IBD insufficient work disconnect of outbound peers
fae564e66ab ci: Use one network per container and rm it after success
367119018de Merge bitcoin/bitcoin#36320: test: refactor: make chain_dir consistent with CreateBaseChainParams
6e419391cf4 Merge bitcoin/bitcoin#32895: wallet: Prepare for future upgrades by recording versions of last client to open and decrypt
c7835db15a5 Merge bitcoin/bitcoin#36080: p2p: Suspend ping timeout while downloading blocks from a peer
b3f9d8e1ddf Merge bitcoin/bitcoin#36128: test: add script_tests cases covering more interpreter mutants
b6a1b0ff707 Merge bitcoin/bitcoin#36327: test: speed up secp256k1 fixed-base multiplication and Schnorr signing
052cf121ab0 rpc: avoid copying unbroadcast txids to count them
781d8dbd500 wallet: show real fee_reason strings in help
1c96b08cb60 nix: drop MSVCRT build
cd7605a6b78 doc: document mingw-w64 requirement in Windows build docs
8073ff101f5 Revert "build: check for SetThreadDescription() at configure time"
66776840beb Merge bitcoin/bitcoin#36415: rpc: clarify preciousblock help text
c502b65c007 test: check IBD insufficient work disconnect of outbound peers
c8e852d3a02 Merge bitcoin/bitcoin#36404: fuzz: don't set random state for private broadcast test
dd809d2c08a Merge bitcoin/bitcoin#36299: cli: Improve empty-response and fix -rpcclienttimeout regression
802eb7daa9a Merge bitcoin/bitcoin#34213: net: preserve anchors when network is disabled
11977b42acc guix: declare python-setuptools
15d09263995 rpc: clarify preciousblock help text
a7acf277dc3 test: check unconnecting headers don't reset the getheaders rate limit
65896ac58ea Merge bitcoin/bitcoin#36411: ci: drop `-Wno-error=maybe-uninitialized` from win64 cxx flags
eb086540b68 kernel: make logging struct-based and simplify configuration
0c327a34748 kernel: add KernelLogger
16bff77a5aa test: cover orphan reconsideration interruptibility
5f22014aca2 test: require an int in PeerTxRelayer.assert_never_requested
a3c4ad12e92 test: make orphan inherit-rejection getdata checks able to fail
3d976f464d5 kernel: remove API to format and disable logging
4ec80a5d4fa kernel: add log level and category name helpers to wrapper
2ce6cd3d906 kernel: expose btck_LogEntry
d83647e7c48 p2p: Don't apply ping timeout while downloading blocks
69142eacd13 Merge bitcoin/bitcoin#36383: util: remove unused exception parameter in `Popen::execute_process`
2b43c62d8ef p2p: move ping timeout check into SendMessages
8b5bbfe1fca test: add functional test for pings during IBD
a829aeaac1a Merge bitcoin/bitcoin#36412: ci: drop `-U_FORTIFY_SOURCE` from TSAN job
c57ef546c39 ci: use LLVM libc++ 23.1.2
f2a0e7392c6 ci: drop -U_FORTIFY_SOURCE from TSAN job
963f557a721 ci: drop -Wno-error=maybe-uninitialized from win64 flags
9f059527952 Merge bitcoin/bitcoin#36052: ci: Doc: Move all config comments right next to the option they explain
050409b2c55 test: allow 3 bytes of fee overestimate in assert_fee_amount
86ff13a0af0 test: make orphanage_dos_many fill the orphanage
1d19cca0761 fuzz: don't set random state for private broadcast test
6c7c27f615a doc: use onion in proxy help and examples
fd65406b39a net: preserve network name case in proxy errors
b0375749d4d refactor: share proxy network parsing
332c3e8e3e1 test: characterize proxy network name errors
00c1b52ee56 net: remove PrivateBroadcast::DidNodeConfirmReception
dc95a705d40 net: always complete all initial private broadcast connections
7988380da98 Merge bitcoin/bitcoin#36272: guix: split Linux toolchain
01491f22b2c depends: store local package tarballs in WORK_PATH instead of SOURCES_PATH
776fb263759 test: merge PSBT `fallback_locktime` coverage
6fc2ebd5216 test: only merge PSBTs with same version
81ef18236fc tests: test tx rejection for both -acceptnonstdtxn=0 and 1
d4b0e1e4b07 Merge bitcoin/bitcoin#35833: log: prevent user input from injecting fake log lines
b9788a5a10b test: disconnect receiving invalid cmpctblock on optimistic path
8dcf90a9b32 util: cap Sock::WaitMany timeout
fad49a733d6 test: Extract and use sigterm_node in init_fd_overflow_test
7b32155458c wallet: Set last opened and decrypted features du…
Suggested by darosior in #35835.
FindAndDeleteonly matches whole pushes at opcode boundaries, so a push that carries the signature inside its data is left in the scriptCode. btcd (<0.24.2) removed any push containing the signature, computed a different sighash, and would have rejected a transaction Core accepts: the chain split in CVE-2024-38365.The rule is already covered from the failure side, in
script_FindAndDeleteand in thetx_invalid.jsonvectors where the signature sits under a non-standard pushdata prefix. What was missing is the positive direction: a transaction Core must accept because nothing is deleted.This adds one vector to
tx_valid.json, withOP_CHECKSIGVERIFY <0xaaaa||sig>as the P2SH redeemScript and the minimal 8-byte DER signature (r = s = 1). The pubkey is recovered from that signature and the sighash Core computes, so it verifies only if the<0xaaaa||sig>push survives into the scriptCode.CONST_SCRIPTCODEdoesn't fire —FindAndDeletefinds nothing — and the vector runs with every flag.To check it actually discriminates, I patched
EvalChecksigPreTapscriptto drop any push whose data contains the signature, the way btcd did. The vector fails with that patch and passes without it.