Bitcoin Core Github
44 subscribers
119K links
Download Telegram
💬 andrewtoth commented on pull request "docs: Add instructions on how to self-sign bitcoin-core binaries for macOS":
(https://github.com/bitcoin/bitcoin/pull/30982#discussion_r1786455459)
The path won't be `bitcoin-core`, but `bitcoin-28.0`.
```suggestion
cd /path/to/bitcoin-28.0/bin
```
💬 hebasto commented on pull request "qt6: Fix linking when configured with `-DENABLE_WALLET=OFF`":
(https://github.com/bitcoin-core/gui/pull/837#discussion_r1786455836)
Reworked.
💬 andrewtoth commented on pull request "docs: Add instructions on how to self-sign bitcoin-core binaries for macOS":
(https://github.com/bitcoin/bitcoin/pull/30982#discussion_r1786457075)
Oh I see this is the template.
fanquake closed a pull request: "mempool_accept.py changes"
(https://github.com/bitcoin/bitcoin/pull/31025)
💬 andrewtoth commented on pull request "docs: Add instructions on how to self-sign bitcoin-core binaries for macOS":
(https://github.com/bitcoin/bitcoin/pull/30982#issuecomment-2391746594)
reACK 27709f51ee02ed4f8c9c7e1c25c6f16faa0ef08b
💬 marcofleon commented on pull request "refactor: TxDownloadManager + fuzzing":
(https://github.com/bitcoin/bitcoin/pull/30110#issuecomment-2391768053)
So, `txdownloadman_impl` still crashes on
```
Assert(!txdownload_impl.RecentRejectsFilter().contains(package.back()->GetWitnessHash().ToUint256()));
```
Here's the input: `FVVaWm9vHQpOVVr/dQA9GnItbAAAPv///////3UA83ByLGwAAD7//////xZvb28=`

Did some investigating.
1. Non-segwit child gets added to the orphanage.
2. Same child but segwit gets rejected (`TX_INPUTS_NOT_STANDARD`).
3. Parent gets added to rejects reconsiderable. Forms a package with the first child.
4. Txid of that child is
...
💬 Sjors commented on pull request "Add -pausebackgroundsync startup option":
(https://github.com/bitcoin/bitcoin/pull/31023#issuecomment-2391770881)
> but `-pausebackgroundsync` seems like the wrong way to go to me

What other approach do you have in mind?
💬 Christewart commented on pull request "docs: Add instructions on how to self-sign bitcoin-core binaries for macOS":
(https://github.com/bitcoin/bitcoin/pull/30982#discussion_r1786497041)
I modified the 28.0 release notes to use this path: https://github.com/bitcoin-core/bitcoin-devwiki/wiki/28.0-Release-Notes-Draft
⚠️ JayBitron opened an issue: "Unable to cross compile on linux for macos (28.x branch)"
(https://github.com/bitcoin/bitcoin/issues/31027)
### Is there an existing issue for this?

- [X] I have searched the existing issues

### Current behaviour

Running the command `make HOST=x86_64-apple-darwin -C depends` on Bitcoin Core 28.x no longer compiles the dependencies as expected. It fails.

### Expected behaviour

The command `make HOST=x86_64-apple-darwin -C depends` should successfully compile all required dependencies without errors, as it did in previous versions of Bitcoin Core.

### Steps to reproduce

make HOST=x86_64-apple-dar
...
💬 stickies-v commented on pull request "Add -pausebackgroundsync startup option":
(https://github.com/bitcoin/bitcoin/pull/31023#issuecomment-2391838987)
> What other approach do you have in mind?

Perhaps enumerating the problem(s) you're trying to solve would be a better starting point?

As I've outlined before already:
- I think benchmarking can be solved in other ways, e.g. from pre-created datadirs, or by running a fork with ~this diff applied
- user wants to avoid draining his battery / internet: ctrl+c until he's able to resume, like he would with a regular IBD
- user doesn't want to do background validation at all: like I said ear
...
💬 marcofleon commented on pull request "refactor: TxDownloadManager + fuzzing":
(https://github.com/bitcoin/bitcoin/pull/30110#issuecomment-2391859626)
From https://github.com/bitcoin/bitcoin/pull/30110#issuecomment-2307124171)

> `Find1P1CPackage` doesn't actually check the normal reject filter at all with respect to the child, only reconsiderable, so that assertion gets hit. I suspect that's something we don't want it to do, even if it's not possible to hit inside net_processing.

Yes, this was my initial thought too.



> I think it might be more that `MempoolRejectedTx` doesn't remember if a tx failed for a different reason before c
...
💬 Sjors commented on pull request "Add -pausebackgroundsync startup option":
(https://github.com/bitcoin/bitcoin/pull/31023#issuecomment-2391870256)
The main use case I have in mind is some who doesn't want to do background validation. The best reason for that is to save bandwidth, since storage can be saved by pruning just as well. They may later decide to perform this validation.

This PR enables that now in a fairly trivial way: it just doesn't download the blocks. Using process separation and the kernel is not something we can do in the near future. It also seems _more_ complicated than the approach here.

> user wants to avoid drain
...
💬 Christewart commented on pull request "docs: Add instructions on how to self-sign bitcoin-core binaries for macOS":
(https://github.com/bitcoin/bitcoin/pull/30982#issuecomment-2391884194)
This seems to be a spurious CI failure as this PR is a docs only change, can someone restart ? https://github.com/bitcoin/bitcoin/actions/runs/11164991068/job/31035622913?pr=30982
💬 achow101 commented on pull request "docs: Add instructions on how to self-sign bitcoin-core binaries for macOS":
(https://github.com/bitcoin/bitcoin/pull/30982#issuecomment-2391888806)
ACK 27709f51ee02ed4f8c9c7e1c25c6f16faa0ef08b

Tested on MacOS 15.0 on both x86_64 and arm64. On x86_64, `codesign` was not needed, but it was needed on arm64. `xattr` needed for both.
🚀 achow101 merged a pull request: "docs: Add instructions on how to self-sign bitcoin-core binaries for macOS"
(https://github.com/bitcoin/bitcoin/pull/30982)
🤔 pablomartin4btc reviewed a pull request: "qt6: Fix linking when configured with `-DENABLE_WALLET=OFF`"
(https://github.com/bitcoin-core/gui/pull/837#pullrequestreview-2346210886)
utACK 33657e1c958146312e4c68765a92871920401396

Guarded all `WalletModel` references (and overriding functions without it) in `rpcconsole`.
📝 marcofleon opened a pull request: "fuzz: Add fuzz-only build mode option for targets"
(https://github.com/bitcoin/bitcoin/pull/31028)
Addresses https://github.com/bitcoin/bitcoin/issues/30950.

Any targets that require BUILD_ON_FUZZING=ON (currently only `p2p_headers_presync`) to work properly can now set `require_build_for_fuzzing` as an option. If BUILD_FOR_FUZZING is not on and you try to run a target that has this option, then there's a message printed upon exit.

With this change, the CI will be able to run the fuzz test runner without any timeouts/failures.
💬 marcofleon commented on issue "p2p_headers_presync fuzz target times out when FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION isn't set":
(https://github.com/bitcoin/bitcoin/issues/30950#issuecomment-2392012634)
I see what you're saying. I initially thought BUILD_FOR_FUZZING was set as default (when fuzzing).

I've addressed it in https://github.com/bitcoin/bitcoin/pull/31028.
💬 instagibbs commented on pull request "refactor: TxDownloadManager + fuzzing":
(https://github.com/bitcoin/bitcoin/pull/30110#issuecomment-2392023753)
@marcofleon ah, this makes sense. We "know" that when `TX_INPUTS_NOT_STANDARD` is hit, the witness doesn't matter, so the *txid* of the witness-having child transaction is added to the reject filter. The orphanage will only delete the witness-having version as well, so you now have a witness-free orphan which is also in the reject filter.

This could also happen in the harness I think if the error is `TX_MISSING_INPUTS` and has `fRejectedParents` is true while the witness-free version of child
...