Bitcoin Core Github
44 subscribers
121K links
Download Telegram
l0rinc closed a pull request: "refactor: avoid double hashing in `SourceLocationHasher`"
(https://github.com/bitcoin/bitcoin/pull/32939)
💬 maflcko commented on pull request "refactor: Avoid copies by using const references or by move-construction":
(https://github.com/bitcoin/bitcoin/pull/31650#issuecomment-3057477770)
> Please update the PR description now that `readability-avoid-const-params-in-decls` was reapplied.

thx, done.



> Re-ran tidy as it looks like 20 will pickup more issues: https://cirrus-ci.com/task/5041587878625280?logs=ci#L1916:

thx, rebased.

Should be easy to re-review.
💬 fanquake commented on pull request "Enable `-Werror=dev` in CI & Guix":
(https://github.com/bitcoin/bitcoin/pull/32937#issuecomment-3057491388)
Guix Build:
```bash
c7870f6c402ac407d0de4edc21d42f5040d19374deaba50b496e4f99a421c8e8 guix-build-35e0331493e9/output/aarch64-linux-gnu/SHA256SUMS.part
d64532e1bd83568f2386a6b67c49e0843f08c0d486828b1cd0ce955a179b07bb guix-build-35e0331493e9/output/aarch64-linux-gnu/bitcoin-35e0331493e9-aarch64-linux-gnu-debug.tar.gz
a158a955bf7b82ef1572db4ad5fd4d5b2885631cad810102b67d16eaadb4e3df guix-build-35e0331493e9/output/aarch64-linux-gnu/bitcoin-35e0331493e9-aarch64-linux-gnu.tar.gz
225421a4d478e602
...
💬 yuvicc commented on pull request "kernel: Introduce initial C header API":
(https://github.com/bitcoin/bitcoin/pull/30595#issuecomment-3057521471)
> It looks like your benchmark includes serialization in its hot loop, which is not the case for our internal `VerifyScriptBench`. I'd be surprised if there was any overhead if the serialization is performed externally in your bench too.

Agree, I think I shall keep the script serialization for the internal code inside the hot loop as well and also vice versa. Let me check!
💬 hebasto commented on pull request "ci: Avoid cd into build dir":
(https://github.com/bitcoin/bitcoin/pull/32880#discussion_r2197790246)
```suggestion
bash -c "cmake --build ${BASE_BUILD_DIR} $MAKEJOBS --target all $GOAL" || ( echo "Build failure. Verbose build follows." && cmake --build "${BASE_BUILD_DIR}" --target all "$GOAL" --verbose ; false )
```
🤔 hebasto reviewed a pull request: "ci: Avoid cd into build dir"
(https://github.com/bitcoin/bitcoin/pull/32880#pullrequestreview-3005786140)
Concept ACK.
💬 hebasto commented on pull request "test, subprocess: Improve coverage report correctness":
(https://github.com/bitcoin/bitcoin/pull/30075#issuecomment-3057624886)
> @hebasto are you still working on this?

No, not at the moment.
hebasto closed a pull request: "test, subprocess: Improve coverage report correctness"
(https://github.com/bitcoin/bitcoin/pull/30075)
💬 maflcko commented on pull request "ci: Avoid cd into build dir":
(https://github.com/bitcoin/bitcoin/pull/32880#discussion_r2197882926)
nice catch, fixed. Also, removed the `bash -c`, because if it was needed, the fallback code would be broken
🤔 brunoerg reviewed a pull request: "fuzz: Make process_message(s) more deterministic"
(https://github.com/bitcoin/bitcoin/pull/32822#pullrequestreview-3006007306)
reACK fa501ea5ed874ffcba2b606806460e61a1204bd2
💬 maflcko commented on pull request "ci: Avoid cd into build dir":
(https://github.com/bitcoin/bitcoin/pull/32880#discussion_r2197928044)
yeah, the fallback was missing `-j1` (required after ninja) and had a wordsplitting bug, due to the use of Bash :(

Fixed those as well.
🤔 danielabrozzoni reviewed a pull request: "test: refactor: overhaul block hash determination for `CBlock{,Header}` objects"
(https://github.com/bitcoin/bitcoin/pull/32868#pullrequestreview-3006094747)
tACK 50b41bcfbfd93f103cf6e2af1999c43947bc3f40

Nice! Dropping `calc_sha256` and `rehash` makes the code cleaner and less error-prone. I also like the new `hash_int` and `hash_hex` names, they're easier to remember than the old `hash`/`sha256`, which always got me confused.

Thanks for separating the commits and adding TODOs in the intermediate ones, it really helped make the PR easier to follow.

I checked that the remaining `.sha256` and `.hash` usages are unrelated. To quickly grep for `
...
💬 glozow commented on pull request "p2p: stop special-casing witness-stripped error for unconfirmed transactions":
(https://github.com/bitcoin/bitcoin/pull/32379#issuecomment-3057802935)
Following up, this branch removes the logic to halt orphan-processing when there are rejected parents, and removes rejection cache checking by txid altogether. It also adds a new delay for peers that don't support BIP 339 (distinct from the delay for requests by txid): https://github.com/glozow/bitcoin/tree/2025-07-wtxid-only-rej It should be sufficient to address the 1p1c issue.

There is a theoretical bandwidth increase from redownloading transactions, but my guess is it's minimal. Nonsegwit
...
💬 hebasto commented on pull request "qa: Fix `wallet_multiwallet.py`":
(https://github.com/bitcoin/bitcoin/pull/31410#issuecomment-3057858120)
> Would be nice to rebase this to fix the code-merge-conflicts, even if it remains in draft and even if the test remains in a failing state.

Rebased.
📝 1BitcoinBoWP1FZ4xwTNkq6XksKidmgYYw opened a pull request: "New SVG, Icons, PNGs and X PixMaps"
(https://github.com/bitcoin-core/gui/pull/879)
This PR clean up the old SVG, Icons, PNGs and X PixMaps by providing optimized much smaller file size versions while at the same time keeping resolutions untouched. Shadows are removed from the files.
📝 hebasto opened a pull request: "cmake: Use newer signature of `qt6_add_lrelease` when available"
(https://github.com/bitcoin/bitcoin/pull/32940)
See Qt docs here: https://doc.qt.io/qt-6/qtlinguist-cmake-qt-add-lrelease.html.

Fixes https://github.com/bitcoin/bitcoin/issues/32710.
💬 rkrux commented on pull request "wallet: `addhdkey` RPC to add just keys to wallets via new `unused(KEY)` descriptor":
(https://github.com/bitcoin/bitcoin/pull/29136#issuecomment-3058030548)
Concept ACK 61001085941fd6d78f4cd46c9b3d65914b6e961e

I am looking forward to the PRs built on top of this one.
💬 hebasto commented on pull request "New SVG, Icons, PNGs and X PixMaps":
(https://github.com/bitcoin-core/gui/pull/879#issuecomment-3058046706)
> Shadows are removed from the files.

Why do you think this change is necessary?

Also, the size of the logo has been increased. Could you please mention this in the PR description as well, along with a justification for the change?
💬 glozow commented on pull request "p2p: improve TxOrphanage denial of service bounds":
(https://github.com/bitcoin/bitcoin/pull/31829#discussion_r2198139821)
Nice catch! Changed
💬 glozow commented on pull request "p2p: improve TxOrphanage denial of service bounds":
(https://github.com/bitcoin/bitcoin/pull/31829#discussion_r2198140129)
oops yes, added the `/10` !