Bitcoin Core Github
44 subscribers
120K links
Download Telegram
👍 TheCharlatan approved a pull request: "depends: sqlite 3.46.1"
(https://github.com/bitcoin/bitcoin/pull/29991#pullrequestreview-2369019884)
ACK def6dd0c597f2c7b0c55910792e646b8ff93e36c
💬 darosior commented on issue "Unexpected behaviour when using `sortedmulti_a` descriptor":
(https://github.com/bitcoin/bitcoin/issues/30518#issuecomment-2413624990)
This is also very specific to one usecase. If the descriptor used by the application is `c:or_i(pk_k(A),pk_k(B))` does this mean the language needs a `sorted_or_i` (same goes for all combination fragments)? In my opinion no, it just means the application shouldn't leak the order by always placing the key for the same role in the same spot.
📝 dergoegge opened a pull request: "Introduce `g_fuzzing` global for fuzzing checks"
(https://github.com/bitcoin/bitcoin/pull/31093)
This PR introduces a global `g_fuzzing` that indicates if we are fuzzing.

If `g_fuzzing` is `true` then:

* Assume checks are enabled
* Special fuzzing paths are taken (e.g. pow check is reduced to one bit)

Closes #30950 #31059
💬 dergoegge commented on pull request "Introduce `g_fuzzing` global for fuzzing checks":
(https://github.com/bitcoin/bitcoin/pull/31093#issuecomment-2413637869)
cc @maflcko @ryanofsky
💬 cryptoquick commented on issue "Fatal LevelDB error: Corruption: block checksum mismatch on Linux ext4 SATA SSDs":
(https://github.com/bitcoin/bitcoin/issues/30692#issuecomment-2413762106)
bitcoind hasn't been updated on Arch yet. I'm waiting for that to come out.
https://archlinux.org/packages/?sort=&q=bitcoin&maintainer=&flagged=
💬 maflcko commented on pull request "Introduce `g_fuzzing` global for fuzzing checks":
(https://github.com/bitcoin/bitcoin/pull/31093#issuecomment-2413763916)
Looks like this fails, because it can't be used via `Assume` in a consteval context? However, I had difficulties anyway using `Assert`/`Assume` in those contexts, so I wonder if they shouldn't just use `assert` directly?
💬 maflcko commented on pull request "Introduce `g_fuzzing` global for fuzzing checks":
(https://github.com/bitcoin/bitcoin/pull/31093#discussion_r1801063717)
Any reason to use a different branch here? Removing the constexpr above and adding `||g_fuzzing` to the if should achieve the same? There shouldn't be a downside, because the `g_fuzzing` will always be checked anyway?
fanquake closed an issue: "docs: "Fuzzing the Bitcoin Core P2P layer using Honggfuzz NetDriver" is outdated"
(https://github.com/bitcoin/bitcoin/issues/30957)
💬 maflcko commented on pull request "refactor: Clean up messy strformat and bilingual_str usages":
(https://github.com/bitcoin/bitcoin/pull/31072#discussion_r1801085975)
nit in faa34ad0a7f5271958e5313e7aae2baaed41587e: Since you include the commit here, but just as a note: The commit message isn't 100% correct. Should there be an error in the format string, the `ConstevalFormatString` fails substitution and leads to the `std::string` one being selected.

This commit (message) only becomes true after commit 4ce60d82a0c1e21ee7ecba69e4c8926720829429 from https://github.com/bitcoin/bitcoin/pull/30928. So I wonder if 4ce60d82a0c1e21ee7ecba69e4c8926720829429+faa34ad
...
💬 maflcko commented on pull request "refactor: Clean up messy strformat and bilingual_str usages":
(https://github.com/bitcoin/bitcoin/pull/31072#discussion_r1801093580)
nit in 6fb39655c5cd2bebad902d271d1edae64b817d2b: Are you sure this change is correct? I'd presume this was intentionally written to denote an Untranslated string that would otherwise be translated. Alternatively, it seems like an oversight that should be translated?

My preference would be to leave this as-is for now.
👍 maflcko approved a pull request: "refactor: Clean up messy strformat and bilingual_str usages"
(https://github.com/bitcoin/bitcoin/pull/31072#pullrequestreview-2369229188)
lgtm. Left some comments for context.
💬 maflcko commented on pull request "refactor: Clean up messy strformat and bilingual_str usages":
(https://github.com/bitcoin/bitcoin/pull/31072#discussion_r1801097275)
fd188650f0aefced09fdb5c3d21c960791104774: Just for reference, everything in this call graph is untranslated, so if there was a translation, it would already be a bug, and this patch wouldn't fix that bug.
💬 maflcko commented on pull request "refactor: Clean up messy strformat and bilingual_str usages":
(https://github.com/bitcoin/bitcoin/pull/31072#discussion_r1801118756)
fdd1992e44c4eb49b802aad30c12638cf92fcf8e: I am thinking that `strprintf(Untranslated("something"), ...)` is something that may be used normally. Right now, it may not be used extensively, or only used to concatenate two blobs. However, I can imagine that in the future someone may want to write `strprintf(Untranslated("<a href="...">%s</a><br>%s<br>"), ...)` to format some bilingual strings into html, which would be a bit more verbose by doing with plenty of `+`.

Not saying that this is someth
...
💬 dergoegge commented on pull request "Introduce `g_fuzzing` global for fuzzing checks":
(https://github.com/bitcoin/bitcoin/pull/31093#discussion_r1801145478)
Will change on next push
💬 brunoerg commented on pull request "fuzz: wallet: add target for `CreateTransaction`":
(https://github.com/bitcoin/bitcoin/pull/29936#discussion_r1801153793)
Thanks, in case I touch it again I can address it.
💬 theuni commented on pull request "CI: Add label to scripted-diffs":
(https://github.com/bitcoin/bitcoin/pull/31089#issuecomment-2414031525)
Agree with @maflcko that this isn't adding much as-is. My suggestion was for @DrahtBot to add the label only once it had actually run the scripted-diff successfully.
💬 achow101 commented on pull request "rpc: getdescriptorinfo also returns normalized descriptor":
(https://github.com/bitcoin/bitcoin/pull/29396#issuecomment-2414064252)
Are you still working on this?
achow101 closed a pull request: "refactor: extract CCheckQueue's data handling into a separate container "Bag""
(https://github.com/bitcoin/bitcoin/pull/27331)
💬 achow101 commented on pull request "refactor: extract CCheckQueue's data handling into a separate container "Bag"":
(https://github.com/bitcoin/bitcoin/pull/27331#issuecomment-2414068322)
This PR does not seem to have attracted much attention from reviewers. As such, it does not seem important enough right now to keep it sitting idle in the list of open PRs.

Closing due to lack of interest.
💬 laanwj commented on pull request "chainparams: Re-add seed.bitcoinstats.com":
(https://github.com/bitcoin/bitcoin/pull/31086#issuecomment-2414068733)
It currently doesn't give me any results for `x9`, IIRC the most common filter:
```
host x9.seed.bitcoinstats.com.
```