Skip to content

backport: v0.27 bitcoin#28363, bitcoin#29518, bitcoin#29052, bitcoin#23171 - #123

Open
DCG-Claude wants to merge 4 commits into
developfrom
backport-0.27-b015-misc
Open

DCG-Claude wants to merge 4 commits into
developfrom
backport-0.27-b015-misc

Conversation

@DCG-Claude

Copy link
Copy Markdown
Collaborator

Automated Bitcoin Core v0.27 backports, batch backport-0.27-b015-misc.

upstream commit gates notes
bitcoin#28363 cfc1071c6b pick:pass build:pass tests:warn mech:pass tree:pass verify:pass clean cherry-pick
bitcoin#29518 0d7dc385bb pick:pass build:pass tests:warn mech:warn tree:pass verify:pass Backports bitcoin#29518's doc fixes to doc/design/assumeutxo.md: the duplicated 'the' is removed exactly as upstream. Th
bitcoin#29052 0f94dc0af6 pick:pass build:pass tests:warn mech:pass tree:pass verify:pass Backports bitcoin#29052, which updates doc/reduce-traffic.md to say there are at most 11 outbound connections (8 full-re
bitcoin#23171 fa7bbd97fc pick:pass build:pass tests:pass mech:warn tree:pass verify:pass Backports bitcoin#23171, which adds descriptor tests mixing xpubs with constant pubkeys and makes DoCheck's xpub-cache c
Provenance

Each commit passed: cherry-pick (adapted by an Opus lane only where conflicts existed), build, touched tests, a mechanical diff-of-diffs check (every upstream hunk landed; no added line without an upstream counterpart), and an independent Opus verification lane where anything was adapted. Gate rows and lane artifacts are in the backportsys DB.

3c208cc Add offline signing tutorial (Brandon Odiwuor)

Pull request description:

  This PR adds offline signing tutorial. Fixes bitcoin#9492

  Although there currently exists tutorials on external-signer and on multisig implemented on bitcoin#24519  . The external-signer tutorial assumes a connected device and the multisig tutorial is only for multisig transactions and does not include using an offline wallet

  - The tutorial uses signet(instead of regtest) to be as close as possible to mainnet

ACKs for top commit:
  achow101:
    ACK 3c208cc
  willcl-ark:
    ACK 3c208cc
  pinheadmz:
    ACK 3c208cc
  Zero-1729:
    ACK 3c208cc

Tree-SHA512: c1686043d9e9ed440e78d219a6b18d58d62efd05bdd535e74194d8cc2db0a91e94c6c619106453120a137e47220cf3ab27af3214e861f4e5cc419a73a8704dd6
…docs

efb70cd doc: correct function name in AssumeUTXO design docs (jrakibi)

Pull request description:

  Corrected the function name from `CompleteSnapshotValidation()` to `MaybeCompleteSnapshotValidation()` in the assumeutxo design documentation.
  This change ensures that the documentation accurately reflects the actual function name used in the code

ACKs for top commit:
  Empact:
    ACK bitcoin@efb70cd

Tree-SHA512: 68b9be3ba710d91a2a955189e227f86b46ccb6a2a13c345d46f276cec6ff12b77ebf9814c4bcb00db7c17e221510e4a2e71175c78a6faf0e0e3159c761bc9b94

Dash adaptations:
- doc/design/assumeutxo.md: function-name fix already in Dash via 9cfc65a, which also dropped upstream's stray ')'; kept Dash's line and EvoDB paragraph
…connection count

d58f89d doc: update/clarify max outbound connection count (Marnix)

Pull request description:

  closes bitcoin#29046

ACKs for top commit:
  amitiuttarwar:
    ACK d58f89d
  brunoerg:
    ACK d58f89d

Tree-SHA512: 4f6e8596ceea0b655338b3fc90a465e319d81e2a006f22a98cd9acada9316e7eb2340e2f66b1b4dde4e63ae94f57efddec50478715608e1be3212b8e2d1c3a1a
…pubkeys

36012ef qa: test descriptors with mixed xpubs and const pubkeys (Antoine Poinsot)

Pull request description:

  Writing unit tests for Miniscript descriptors i noticed that `test/descriptor_tests`'s `DoCheck()` assumes that a descriptor would either contain only extended keys or only const pubkeys: if it detects an xpub in the descriptor it would assert the number of cached keys is equal to the number of keys in the descriptor, which does not hold if the descriptor also contains const (raw?) public keys since we only cache parent xpubs.

ACKs for top commit:
  achow101:
    ACK 36012ef

Tree-SHA512: 2ede67a6dff726bcad3e260f3deb25c9b77542ed1880eb4ad136730b741014ce950396c69c7027225de1ef27108d609bafd055188b88538ace0beb13c7e34b0b

Dash adaptations:
- src/test/descriptor_tests.cpp: new Check() calls drop upstream's norm_prv argument; Dash's Check() takes (prv, pub, norm_pub, ...)
- src/test/descriptor_tests.cpp: the non-range mixed case uses sh(multi(...)) with P2SH script a914917bae893e42c19dcf19bfe844514482c1f4fd2487 and OutputType::LEGACY, since Dash has no segwit/wsh()
- src/test/descriptor_tests.cpp: the mixed test descriptors use Dash's WIF XJvEUEcF... for the same compressed key, instead of Bitcoin's L4rK1y...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant