Bitcoin Core Github
44 subscribers
121K links
Download Telegram
👍 MarcoFalke approved a pull request: "ci: Run "macOS native x86_64" job on GitHub Actions"
(https://github.com/bitcoin/bitcoin/pull/28187#pullrequestreview-1554233354)
lgtm, Should squash?
💬 MarcoFalke commented on pull request "ci: Run "macOS native x86_64" job on GitHub Actions":
(https://github.com/bitcoin/bitcoin/pull/28187#discussion_r1278964021)
I think you forgot to skip on the monotree fork?

```
skip: $CIRRUS_REPO_FULL_NAME == "bitcoin-core/gui" && $CIRRUS_PR == "" # No need to run on the read-only mirror, unless it is a PR. https://cirrus-ci.org/guide/writing-tasks/#conditional-task-execution
💬 MarcoFalke commented on pull request "ci: Run "macOS native x86_64" job on GitHub Actions":
(https://github.com/bitcoin/bitcoin/pull/28187#discussion_r1278965679)
Seems fragile. It may be better to set a hard-coded path, like before.
💬 MarcoFalke commented on pull request "ci: Run "macOS native x86_64" job on GitHub Actions":
(https://github.com/bitcoin/bitcoin/pull/28187#discussion_r1278968101)
any reason to not just use the task name, like before?
💬 MarcoFalke commented on pull request "ci: Run "macOS native x86_64" job on GitHub Actions":
(https://github.com/bitcoin/bitcoin/pull/28187#discussion_r1278961684)
Can delete the arm one now?
💬 glozow commented on pull request "validate package transactions with their in-package ancestor sets":
(https://github.com/bitcoin/bitcoin/pull/26711#discussion_r1278981444)
> So if my understanding of the API is correct, you receive a package from AcceptPackage() ...

Correct

> we have asserted than all packages component linearize are either spending a UTXO in the chainstate set, or spending an in-package component, so the worst-case scenario from a DoS viewpoint will be the limits as set in BIP331 / nversion=3 ?

The first check in `AcceptPackage` is `IsPackageWellFormed` which requires the package to be 25 transactions at most. The linearization with `Min
...
👍 dergoegge approved a pull request: "fuzz: use `ConnmanTestMsg` in `connman`"
(https://github.com/bitcoin/bitcoin/pull/28091#pullrequestreview-1554266221)
utACK ecfe507e07e9bdab210e04ebd3fc3b8ae9d6a094
💬 dergoegge commented on pull request "test: Add UBSan `-fsanitize=integer` suppressions for `src/secp256k1` subtree":
(https://github.com/bitcoin/bitcoin/pull/28131#issuecomment-1657954674)
Concept ACK
💬 MarcoFalke commented on pull request "test: Add UBSan `-fsanitize=integer` suppressions for `src/secp256k1` subtree":
(https://github.com/bitcoin/bitcoin/pull/28131#issuecomment-1657964767)
lgtm ACK a7477744c5e1df56d3a1e9ab9fc400bfb0ef6ec3
💬 fanquake commented on pull request "ci: Run "macOS native x86_64" job on GitHub Actions":
(https://github.com/bitcoin/bitcoin/pull/28187#issuecomment-1657966963)
~0 Is there any reason we can't use the public beta of the arm64 runners? Have we tested that at-least?
💬 naumenkogs commented on pull request "p2p: Diversify automatic outbound connections with respect to networks":
(https://github.com/bitcoin/bitcoin/pull/27213#discussion_r1279003069)
I was pointing out a specific (probably stronger-than-rest) benefit of randomization. So that if one wants to drop the randomization from the code, they consider that.

Feel free to ignore it.
💬 naumenkogs commented on pull request "p2p: Diversify automatic outbound connections with respect to networks":
(https://github.com/bitcoin/bitcoin/pull/27213#issuecomment-1657983184)
ACK 1e65aae8068ecf313a7c3b176dfc1326b3b67fbe
👍 MarcoFalke approved a pull request: "ci: Run "macOS native x86_64" job on GitHub Actions"
(https://github.com/bitcoin/bitcoin/pull/28187#pullrequestreview-1554323041)
> ~0 Is there any reason we can't use the public beta of the arm64 runners? Have we tested that at-least?

Can you add a link to documentation on how to set that up? With details on the runners, etc. In any case, I don't think it matters, unless you can point to a bug that was found with arm64, but not with amd64. In practice, I expect all bugs found by CI to be found by both macOS arches.
💬 MarcoFalke commented on pull request "ci: Run "macOS native x86_64" job on GitHub Actions":
(https://github.com/bitcoin/bitcoin/pull/28187#discussion_r1279021074)
Or just remove the arch from the filename? The included `export HOST` should already take care of it and avoid a filename ping-ping.
💬 fanquake commented on pull request "ci: Integrate `bitcoin-tidy` clang-tidy plugin":
(https://github.com/bitcoin/bitcoin/pull/26296#issuecomment-1657986362)
Dropped `DIR_IWYU`.
Updated logging tests with the above suggestion.
👋 fanquake's pull request is ready for review: "ci: Integrate `bitcoin-tidy` clang-tidy plugin"
(https://github.com/bitcoin/bitcoin/pull/26296)
💬 TheCharlatan commented on pull request "kernel: Prune leveldb headers":
(https://github.com/bitcoin/bitcoin/pull/28186#issuecomment-1657995803)
Re https://github.com/bitcoin/bitcoin/pull/28186#issuecomment-1657883999

> I don't think any user should include the dbwrapper either? No user should be directly writing or reading from the db.

It's hard to speculate on how this will be used in the future. Something calling the db directly for e.g. data science use cases would not be unheard of.

> And if you are worried about the txdb.h include, maybe do a pimpl there? IIRC https://github.com/bitcoin/bitcoin/pull/22242 did that, or so
...
💬 MarcoFalke commented on pull request "ci: Integrate `bitcoin-tidy` clang-tidy plugin":
(https://github.com/bitcoin/bitcoin/pull/26296#discussion_r1279032950)
```suggestion
git clone --depth=1 https://github.com/include-what-you-use/include-what-you-use -b clang_16 /include-what-you-use
cmake -B /iwyu-build/ -G 'Unix Makefiles' -DCMAKE_PREFIX_PATH=/usr/lib/llvm-16 -S /include-what-you-use
make -C /iwyu-build/ install "$MAKEJOBS"
```

nit: I wonder if this is better put directly under `/`? It would give the following (edge-case) benefits:

* When building into a CI image, it installs everything into a hard-coded path, making it less likel
...
💬 MarcoFalke commented on pull request "ci: Integrate `bitcoin-tidy` clang-tidy plugin":
(https://github.com/bitcoin/bitcoin/pull/26296#discussion_r1279033217)
Same
💬 MarcoFalke commented on pull request "ci: Integrate `bitcoin-tidy` clang-tidy plugin":
(https://github.com/bitcoin/bitcoin/pull/26296#issuecomment-1658005023)
Also, the commit message of the last commit is wrong?