[32.x] Backports #36727

pull fanquake wants to merge 14 commits into bitcoin:32.x from fanquake:more_32_backports changing 19 files +92 −599
  1. fanquake commented at 10:36 AM on November 2, 2026: member
  2. ci: Disable tests on ARM32 in GHA yaml
    Github-Pull: #36701
    Rebased-From: fa01c3c533b8d645a400d23e785d4467b07e8bb5
    7c6fdd0a26
  3. fanquake added this to the milestone 32.2 on Nov 2, 2026
  4. DrahtBot added the label Backport on Nov 2, 2026
  5. DrahtBot commented at 10:37 AM on November 2, 2026: contributor

    <!--e57a25ab6845829454e8d69fc972939a-->

    The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

    <!--006a51241073e994b41acfe9ec718e94-->

    External sites

    <!--021abf342d371248e50ceaed478a90ca-->

    Reviews

    See the guideline and AI policy for information on the review process.

    Type Reviewers
    ACK instagibbs, willcl-ark

    If your review is incorrectly listed, please copy-paste <code>&lt;!--meta-tag:bot-skip--&gt;</code> into the comment that the bot should ignore.

    <!--5faf32d7da4f0f540f40219e4f7537a3-->

  6. guix: add --no-same-owner to codesign.sh TAR_OPTIONS
    Github-Pull: #36615
    Rebased-From: d2e5108ea2ddce1952d4db8b42d39a40e3d9f521
    d9035657b6
  7. fanquake force-pushed on Nov 4, 2026
  8. test: Fix intermittent issue in p2p_orphan_handling.py
    Github-Pull: #36617
    Rebased-From: faf819bf23e8752644695e332cc00413d94af938
    7bd744759b
  9. test: make orphan inherit-rejection getdata checks able to fail
    PeerTxRelayer.assert_never_requested compares the hash of every request
    received, an int, with its argument, and test_orphan_inherit_rejection
    passed it hex strings. An int never equals a str, so these checks passed
    whatever the node requested. Pass ints instead.
    
    Two more changes let the checks see the requests they are about:
    
    - Relay the parent from peer2 rather than peer1. Relaying it made the
      node request it from peer1, so the check that peer1 never requested
      the parent fails once it compares ints.
    - Bump mocktime by TXREQUEST_TIME_SKIP before the peer1 and peer2
      checks. The node requests an orphan's missing parent after a delay,
      so without the bump the request has not been sent when they run.
    
    Also correct the comment on why the parent is rejected: it exceeds the
    maximum standard weight, and the node rejects it with tx-size.
    
    To check each assertion can fail, the scenario was mutated in a scratch
    copy so that the node does request the hash, and each call site was
    evaluated with both the old and the new argument. The old one passed
    every time, and the new one failed:
    - parent not relayed: peer1 is asked for the parent, peer2 for the
      child's txid;
    - child not relayed: peer2 is asked for the child's txid;
    - child relayed from peer2: peer2 is asked for the child's wtxid;
    - neither child nor grandchild relayed: peer3 is asked for the child's
      txid.
    Without the mocktime bumps, the first two mutations pass with ints too.
    
    Github-Pull: #36406
    Rebased-From: a3c4ad12e92e9d8c0e7c020d49cbdbdef203dfa5
    6cb4ce2905
  10. test: require an int in PeerTxRelayer.assert_never_requested
    The requests it checks carry int hashes, so any other type never
    matches and the check passes whatever the node requested.
    
    Github-Pull: #36406
    Rebased-From: 5f22014aca2d071edfea95e8d3d4ba0bebbc57ca
    4d679f6fdb
  11. fanquake force-pushed on Nov 5, 2026
  12. test: look for the wtxid in p2p_blocksonly
    The connection that checks a transaction submitted over RPC is not
    announced to a block-relay-only peer uses P2PTxInvStore, which negotiates
    wtxidrelay. The node would therefore announce the transaction by its
    wtxid, and the assertion looked for the txid, which cannot be in the
    store for a transaction carrying a witness: it passed whether or not the
    transaction was announced.
    
    Assert on the wtxid instead. With the connection opened as
    outbound-full-relay rather than block-relay-only, the old assertion still
    passes and the new one fails.
    
    Also open an outbound-full-relay connection and assert that the wtxid
    was announced on it. The two assertions differ only by `not`, so if the
    announcement or its id changes, the test fails instead of the absence
    check passing silently.
    
    Github-Pull: #36405
    Rebased-From: 22535b460568be47e57aadfbe50d489becb77577
    0cd735b74b
  13. fanquake force-pushed on Nov 5, 2026
  14. DrahtBot added the label CI failed on Nov 5, 2026
  15. DrahtBot removed the label CI failed on Nov 5, 2026
  16. gui: wallet: Use v0 PSBT
    PSBTv2 is not very interesting for current GUI users, and defaulting to
    it causes issues for existing users. To make this change minimal and
    avoid touching strings, this commit, only changes the default back
    instead of making the version configurable.
    
    The external signer PSBT will still be version 2, and I've added an
    explicit argument here to show that. This will break users who are using
    HWI versions < 2.1.0.
    (https://github.com/bitcoin-core/HWI/releases/tag/2.1.0)
    
    Github-Pull: #36539
    Rebased-From: 23dcb03a2c6b9fed84896ac4d751ba9e8034a6bf
    dba6a52b6d
  17. refactor: psbt: Don't set a default version for PSBT constructor
    Github-Pull: #36539
    Rebased-From: 3fdc45d1fa2a6f32f251aa6f639a52bbfd5245b0
    806bc300e2
  18. fanquake force-pushed on Nov 5, 2026
  19. memusage: Make fields of STL helper structs public
    The `stl_tree_node`, `list_node` and `unordered_node` class templates
    only mimic the layout of the standard library's container nodes, so
    that `sizeof` yields an estimate of the memory they use. Their fields
    are never accessed.
    
    Since llvm/llvm-project#237374, Clang 24 diagnoses these fields with
    `-Wunused-private-field`.
    
    This change drops the `private:` access specifiers. It does not affect
    the size or alignment of the structs, as all their fields keep the same
    access control, and it is consistent with `stl_shared_counter`.
    
    Github-Pull: #36869
    Rebased-From: b9a6b0ca51801e95956b7d5307d5b198b9fb7d3f
    02881236d6
  20. fanquake force-pushed on Nov 16, 2026
  21. fanquake force-pushed on Nov 18, 2026
  22. fanquake commented at 4:08 PM on November 18, 2026: member
  23. fanquake force-pushed on Nov 18, 2026
  24. net_processing: set fDisconnect instead of calling DisconnectNode
    MaybeDiscourageAndDisconnect calls DisconnectNode which creates a
    CSubNet containing only the CNode's address. This will disconnect
    every CNode with the same IP address. This is normally not a problem,
    except for clearnet-over-tor. If a node has an honest clearnet-over-tor
    inbound connection, the IP of the inbound peer will be the exit node's
    IP address. If an attacker connects to the node through the same exit
    node and sends an invalid message, they can cause every inbound peer
    sharing the exit node's IP to get disconnect. Fix this by only
    disconnecting the misbehaving CNode rather than every CNode sharing
    the IP.
    
    Github-Pull: #36894
    Rebased-From: d63068c58ec9fcc94876bce30865d1a7266d64d4
    c6dbc0e480
  25. cmake: Link `bitcoin_ipc` against `core_interface`
    Otherwise, `ipc/stub.cpp` is compiled without the project-wide
    build flags.
    
    Github-Pull: #36889
    Rebased-From: 4ef05d6f45620254417fe6be701bebbf1a42619a
    31bd06b27f
  26. cmake: Switch `include_directories` -> `target_include_directories`
    Use of non-target directives is not recommended. As of CMake 4.5.0, it
    triggers `-Wnon-target-directive` warnings.
    
    Github-Pull: #36889
    Rebased-From: 460f877fac200ccfde265d12613b352def903cf0
    52824e540c
  27. cmake: Remove `WarnAboutGlobalProperties` module
    The module is superseded by CMake's `-Wnon-target-directive` warnings,
    which are enabled when using the "dev-mode" preset.
    
    Github-Pull: #36889
    Rebased-From: 435d5b227748a0ac5d6d2887050acf02304576f2
    1e69d11778
  28. doc: update release notes for v32.x a34fe8f701
  29. fanquake force-pushed on Nov 18, 2026
  30. DrahtBot added the label CI failed on Nov 18, 2026
  31. willcl-ark commented at 4:31 PM on November 18, 2026: member

    I think #36848 can be dropped from the description now.

  32. fanquake marked this as ready for review on Nov 18, 2026
  33. willcl-ark approved
  34. willcl-ark commented at 4:35 PM on November 18, 2026: member

    ACK a34fe8f70116a8b21b53c5356fd7627ff94d4278

    LGTM now.

  35. DrahtBot removed the label CI failed on Nov 19, 2026
  36. fanquake merged this on Nov 19, 2026
  37. fanquake closed this on Nov 19, 2026

  38. fanquake deleted the branch on Nov 19, 2026

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-11-29 04:51 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me