Bitcoin Core Github
44 subscribers
119K links
Download Telegram
💬 fanquake commented on pull request "build: Switch to Qt 6":
(https://github.com/bitcoin/bitcoin/pull/30997#discussion_r1786179009)
So there's a flag to disable that tool, but no flag to disable needing LLVM for the docs? So in the normal case, building QT, requires LLVM, even if building with GCC?
📝 fanquake opened a pull request: "ci: set a ctest test timeout of 1200 (20 minutes)"
(https://github.com/bitcoin/bitcoin/pull/31026)
This should be long enough (with headroom) for our longest running tests, which even under MSAN, TSAN, Valgrind, etc max out at about 800s.

i.e under Valgrind I see the longer runtimes as:
```bash
135/136 Test #8: bench_sanity_check_high_priority ..... Passed 371.19 sec
136/136 Test #122: coinselector_tests ................... Passed 343.39 sec
```

In the CI `tests` [under TSAN](https://cirrus-ci.com/task/6321297691508736?logs=ci#L2520):
```bash
tests ........................
...
RandyMcMillan closed a pull request: "doc/build-osx.md:brew relinking note"
(https://github.com/bitcoin/bitcoin/pull/30993)
💬 stickies-v commented on pull request "Add -pausebackgroundsync startup option":
(https://github.com/bitcoin/bitcoin/pull/31023#issuecomment-2391498224)
Is there a strong use case for this? I'm hesitant to add any more AssumeUTXO complexity than there already is. When a user is on battery / limited bandwidth, they can just shut down Bitcoin Core until they're ready to use it again?
fanquake closed an issue: "28.0 RC Testing Guide Feedback"
(https://github.com/bitcoin/bitcoin/issues/30854)
💬 fanquake commented on issue "28.0 RC Testing Guide Feedback":
(https://github.com/bitcoin/bitcoin/issues/30854#issuecomment-2391502087)
Closing, given v28.0 is tagged.
💬 laanwj commented on pull request "ci: set a ctest test timeout of 1200 (20 minutes)":
(https://github.com/bitcoin/bitcoin/pull/31026#issuecomment-2391505343)
ACK 93dda4c70254750a5b5c0e7f7d2d89032519b999
Yes, we've had some ridiculously overloaded CI VPSes in the past, but one'd say 20 minutes should be enough for the unit tests even under the most adverse conditions.
💬 Sjors commented on pull request "Add -pausebackgroundsync startup option":
(https://github.com/bitcoin/bitcoin/pull/31023#issuecomment-2391514147)
@stickies-v the reason I opened it was because someone needed an easier way to benchmark IBD without going all the way from genesis.

In general this is useful if you don't want to download and process things before the snapshot. Whether that's wise is a different question.
💬 willcl-ark commented on pull request "ci: set a ctest test timeout of 1200 (20 minutes)":
(https://github.com/bitcoin/bitcoin/pull/31026#issuecomment-2391540348)
ACK 93dda4c70254750a5b5c0e7f7d2d89032519b999

I tried for quite some time to get this to work using `CTEST_TEST_TIMEOUT` from within *CMakeLists.txt* but it does not appear to be possible. This therefore seems like the next best option to limit this test time.

I am curious to see if this actually manages to curtail the long-running/hanging test, or whether the system is locking up in some way that this will have no effect.
💬 stickies-v commented on pull request "Add -pausebackgroundsync startup option":
(https://github.com/bitcoin/bitcoin/pull/31023#issuecomment-2391564048)
> the reason I opened it was because someone needed an easier way to benchmark IBD without going all the way from genesis.

Wait, how does pausing IDB help with benchmarking IBD?

> In general this is useful if you don't want to download and process things before the snapshot

Right, I can see the use case for that, but that discussion feels more about disabling rather than pausing background validation. Adding a third option seems unnecessarily confusing?
💬 Sjors commented on pull request "Add -pausebackgroundsync startup option":
(https://github.com/bitcoin/bitcoin/pull/31023#issuecomment-2391574034)
> disabling rather than pausing background validation

I think it's good to maintain the option to finish background validation. E.g. maybe because you want to enable an index.
💬 jonatack commented on pull request "doc: update IBD requirements in doc/README.md":
(https://github.com/bitcoin/bitcoin/pull/30992#discussion_r1786342327)
I think I prefer "several hundred or more", as given the current size required, it conveys the floor to expect a bit more, and when the requirement breaks past a terabyte, "or more" allows more time before updating again, whereas "hundreds" might be construed as or implies "not thousands."
💬 mzumsande commented on issue "ci: macOS 14 CI failure `Invalid value detected for '-wallet' or '-nowallet'`":
(https://github.com/bitcoin/bitcoin/issues/31019#issuecomment-2391596799)
@tdb3: CI runs always rebase the PR with respect to master, so that is expected (it helps find conflicts). Also, after CI finished, there are re-runs scheduled every now and then that will rebase on new master again.
💬 josibake commented on pull request "Add -pausebackgroundsync startup option":
(https://github.com/bitcoin/bitcoin/pull/31023#issuecomment-2391626041)
> Wait, how does pausing IDB help with benchmarking IBD?

I had a chat with @Sjors recently regarding a benchmarking use case I have, where I want to benchmark doing IBD on more recent blocks to test flush behaviour. AssumeUTXO seemed useful here in that I could start from, e.g., 800,000 and sync to tip. For this, background validation would likely interfere with the results so having a `-pausebackgroundvalidation` option seemed useful. Worth mentioning, this is not meant to be a representativ
...
willcl-ark closed an issue: "bitcoin.service issue for a noob like me"
(https://github.com/bitcoin/bitcoin/issues/31021)
💬 willcl-ark commented on issue "bitcoin.service issue for a noob like me":
(https://github.com/bitcoin/bitcoin/issues/31021#issuecomment-2391637885)
I think we can close this now as it's resolved.

In the future please be aware that general bitcoin questions and/or support requests are best directed to the [Bitcoin StackExchange](https://bitcoin.stackexchange.com/) or the `#bitcoin` IRC channel on the [Libera Chat](https://libera.chat/) network.
💬 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-2391655144)
ACK 6c52d6ed8a5b3cdfff9b565c139e35b821647f6b

Downloaded 27.1 tar and ran `./bitcoin-cli` and got the broken popup.
Ran the command, ran `./bitcoin-cli` and got the help output.

Ran into this issue before with other apps on macOS, and just ran `xattr -cr <filename>`. This seems to be a better approach though.
💬 sipa 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_r1786408900)
Please capitalize the project name: Bitcoin Core.
🤔 danielabrozzoni reviewed a pull request: "[refactor] Cleanup BlockAssembler mempool usage"
(https://github.com/bitcoin/bitcoin/pull/28843#pullrequestreview-2345919799)
ACK 60a0f2ac88c57fdf4482dade2ce409ef2da65998
💬 stickies-v commented on pull request "Add -pausebackgroundsync startup option":
(https://github.com/bitcoin/bitcoin/pull/31023#issuecomment-2391695605)
Thanks for explaining the intended use cases in more detail.

Benchmarking from a fixed height seems useful but also seems quite feasible without `-pausebackgroundsync` too (e.g. from an existing datadir which allows starting from any height instead of the hardcoded 840.000 blocks)? Worsening the code for test-only purposes is something I think we should only do if the alternatives are too much of a hassle.

Similarly, I don't see a proper use case for end users either. I think the discussi
...