Bitcoin Core Github
44 subscribers
120K links
Download Telegram
πŸ’¬ hebasto commented on pull request "depends: Specify CMake generator explicitly":
(https://github.com/bitcoin/bitcoin/pull/31171#issuecomment-2457674743)
> > in environments where the CMAKE_GENERATOR variable is set.
>
> Which environment/distro did you see this in?

I don’t mean a specific distro, but rather a user-modified environmentβ€”for example, setting `CMAKE_GENERATOR` in the `~/.profile` file.
πŸ’¬ stickies-v commented on pull request "refactor: ensure type safety for txid and wtxid in `RelayTransaction`":
(https://github.com/bitcoin/bitcoin/pull/31001#issuecomment-2457675192)
> I'll look to expand this one a bit then.

Are you planning to rework this PR, or is it ready for review as is? If the former, perhaps best to mark this as draft until that's done?
πŸ’¬ maflcko commented on pull request "test: cover edge case for lockunspent rpc":
(https://github.com/bitcoin/bitcoin/pull/31209#issuecomment-2457694748)
If the error message is confusing, it would be a reason to improve the error message. However, this applies to all RPCs and maintaining the error message in a single RPC (or each RPC individually) seems inconsistent (or brittle and verbose).
πŸ“ marcofleon converted_to_draft a pull request: "refactor: ensure type safety for txid and wtxid in `RelayTransaction`"
(https://github.com/bitcoin/bitcoin/pull/31001)
This PR updates the `RelayTransaction` function to replace `uint256` with the `Txid` and `Wtxid` types, improving type safety and helping with the gradual transition to using these types throughout the codebase.
πŸ’¬ fjahr commented on pull request "wallet, assumeutxo: Don't Assume m_chain_tx_count, Improve wallet RPC errors":
(https://github.com/bitcoin/bitcoin/pull/30909#discussion_r1829706921)
done
πŸ’¬ fjahr commented on pull request "wallet, assumeutxo: Don't Assume m_chain_tx_count, Improve wallet RPC errors":
(https://github.com/bitcoin/bitcoin/pull/30909#issuecomment-2457711117)
Rebased and addressed nit from @maflcko
πŸ“ dergoegge converted_to_draft a pull request: "ci: Split out native fuzz jobs for macOS and windows (take 2)"
(https://github.com/bitcoin/bitcoin/pull/31221)
Split out two new CI jobs (for native macOS and windows) that run the fuzz tests on the qa-assets input corpora.

In both jobs the fuzz binary is built with -DBUILD_FOR_FUZZING to enable Assume assertions as well as FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION.
πŸ’¬ Christewart commented on pull request "consensus: Consistently encode and decode `OP_1NEGATE` similar to other small ints in Script":
(https://github.com/bitcoin/bitcoin/pull/29589#discussion_r1829738339)
This seems like a reasonable thing to do. However it seems like the `script.py` implementation should still handle `OP_1NEGATE` imo.

IIUC the `solver.cpp`'s `IsSmallInteger()` and `script.py`'s `is_small_int()` serve 2 different purposes, and renaming the solver.cpp function name would help differentiate them.
πŸ’¬ stickies-v commented on pull request "Package validation: accept packages of size 1":
(https://github.com/bitcoin/bitcoin/pull/31096#issuecomment-2457771782)
re-ACK 5e4df9f67179e9cc284cb2ad2264de6b8bb6c606, no changes except for addressing merge conflict from #31139
πŸ’¬ achow101 commented on issue "intermittent issue in wallet_upgradewallet.py: AssertionError: bdb magic does not match bdb btree magic":
(https://github.com/bitcoin/bitcoin/issues/31210#issuecomment-2457791648)
I don't think this issue has to do with ZFS. I'm debugging the test on the problematic system and it seems that BDB decided to use a page size of 16384 for some reason, rather than our expected and hardcoded 4096. Changing it to 16384 resolves this, but we should instead be using the pagesize given by the wallet file rather than a fixed pagesize. This is a test only issue as the C++ parser does not use a fixed pagesize.
πŸ’¬ marcofleon commented on pull request "fuzz: Fix difficulty target generation in `p2p_headers_presync`":
(https://github.com/bitcoin/bitcoin/pull/31213#discussion_r1829772701)
I should also add, I used the expression in `GetBlockProof` https://github.com/bitcoin/bitcoin/blob/65b194193661e27cf2d9c0e0d7e3b627a379513a/src/chain.cpp#L143 to calculate the work on a single header.
πŸ“ achow101 opened a pull request: "tests: Handle BDB dynamic pagesize"
(https://github.com/bitcoin/bitcoin/pull/31222)
BDB may choose to use a pagesize other than 4096. As such, the parser should use the pagesize given by the BDB file.

Fixes #31210
πŸ“ mzumsande opened a pull request: "net, init: derive default onion port if a user specified a -port"
(https://github.com/bitcoin/bitcoin/pull/31223)
This resolves #31133 (setups with multiple local nodes each using a different `-port` no longer working with v28.0, see the issue description for more details) by deriving the default onion listening port to be the value specified by `-port` incremented by 1 (idea by vasild / laanwj).
Note that with this fix, the chosen `-port` values of two local nodes cannot be adjacent, otherwise there will be port collisions again.

From the discussion in the linked issue, this was the most popular option
...
πŸ’¬ mzumsande commented on issue "net: Tor service target port collides when running multiple nodes, making bitcoind error out":
(https://github.com/bitcoin/bitcoin/issues/31133#issuecomment-2457841759)
I opened #31223 to move this forward (it seems to be consensus that we should fix this either now or not at all).
πŸ’¬ bigspider commented on pull request "wallet: Be able to receive and spend inputs involving MuSig2 aggregate keys":
(https://github.com/bitcoin/bitcoin/pull/29675#discussion_r1829804219)
These three constants are `0x1a` , `0x1b`, `0x1c` in the final version of [BIP-373](https://github.com/bitcoin/bips/blob/master/bip-0373.mediawiki).
πŸ’¬ hebasto commented on pull request "build: Improve `ccache` performance for different build directories":
(https://github.com/bitcoin/bitcoin/pull/30861#discussion_r1829817574)
@theuni
> Arguably the issue here is that we have debug symbols for secp at all.

What are your suggestions?
πŸ’¬ Christewart commented on pull request "net, init: derive default onion port if a user specified a -port":
(https://github.com/bitcoin/bitcoin/pull/31223#issuecomment-2457898255)
concept ACK
πŸ’¬ furszy commented on pull request "bench: add support for custom data directory":
(https://github.com/bitcoin/bitcoin/pull/31000#issuecomment-2457975437)
Sorry for the delay.
@maflcko, the issue seems to be that the exception occurs in the test base class constructor. Which is not part of the actual test code and runs prior to it. So it might not be captured by the framework, throwing the "unknown location error".
Just dropped the fix and pushed a commit to verify it. Let's see what the CI prints now.
βœ… fanquake closed an issue: "Sm"
(https://github.com/bitcoin/bitcoin/issues/31224)
:lock: fanquake locked an issue: "Sm"
(https://github.com/bitcoin/bitcoin/issues/31224)