Bitcoin Core Github
44 subscribers
120K links
Download Telegram
πŸ“ ajtowns opened a pull request: "net, validation: don't punish peers for consensus-invalid txs"
(https://github.com/bitcoin/bitcoin/pull/33050)
Because we do not discourage nodes for transactions we consider non-standard, we don't get any DoS protection from this check in adversarial scenarios, so remove the check entirely both to simplify the code and reduce the risk of splitting the network due to changes in tx relay policy.

Then, because we no longer make use of the distinction between consensus and standardness failures during script validation, don't re-validate each script with only-consensus rules, reducing the cost to us of t
...
πŸ’¬ fanquake commented on pull request "depends: disable builtin rules and suffixes.":
(https://github.com/bitcoin/bitcoin/pull/33045#issuecomment-3112964377)
Guix build (aarch64):
```bash
5702ab3b5222a5ec2c2d901692f8d9f1eddd93b40b39ff48fd87076a3e11c6b7 guix-build-9ef65a3df7a8/output/aarch64-linux-gnu/SHA256SUMS.part
808b47ca979c07c77e26073f1fab3c5bc894541298092bbc99d2e9f59ff7cb4b guix-build-9ef65a3df7a8/output/aarch64-linux-gnu/bitcoin-9ef65a3df7a8-aarch64-linux-gnu-debug.tar.gz
64ff4842f37a1e8ea949a2946144cce1cbb7ec4351424f85b2fc90e4e7d24ef6 guix-build-9ef65a3df7a8/output/aarch64-linux-gnu/bitcoin-9ef65a3df7a8-aarch64-linux-gnu.tar.gz
30273f
...
πŸ’¬ danielabrozzoni commented on pull request "headerssync: Preempt unrealistic unit test behavior":
(https://github.com/bitcoin/bitcoin/pull/32579#discussion_r2228161506)
Thanks a lot for the explanation, and the updated comments! It's much more understandable now.
πŸ€” marcofleon reviewed a pull request: "[29.x] test: Do not pass tests on unhandled exceptions"
(https://github.com/bitcoin/bitcoin/pull/33046#pullrequestreview-3051143596)
lgtm ACK 411e15194b3a770ff455d413a0fe2495f0362297
πŸ’¬ maflcko commented on pull request "refactor: inline constant return values from `dbwrapper` write methods":
(https://github.com/bitcoin/bitcoin/pull/33042#issuecomment-3112999265)
Looks like this was introduced in 421218d3040279c84616891e8d14b05576b07c57, I guess because it was less verbose. How verbose would it be to pass it up and check it everywhere? Also, `git grep '\<catch\>' ./src/index/base.*` doesn't return anything, so I wonder how index code deals with those exceptions?
πŸ’¬ ajtowns commented on pull request "net, validation: don't punish peers for consensus-invalid txs":
(https://github.com/bitcoin/bitcoin/pull/33050#issuecomment-3113000946)
See also #33012.

DoS banning was introduced in #517. DoS banning for some txs was removed in #896, #2540 and #3843, and then extended back to cover various post-p2sh soft forks in #26291. DoS banning was changed to be less banny in #14929, changed to discouragement in #19219 and changed from score-based to instant in #29575.

Also related is the `RECENT_CONSENSUS_CHANGE` validation state, which was removed in #31269, but which was intended to prevent banning/discouragement of peers that wou
...
πŸš€ fanquake merged a pull request: "wallet: Set migrated wallet name only on success"
(https://github.com/bitcoin/bitcoin/pull/32984)
πŸš€ fanquake merged a pull request: "doc: update headers and remove manual TOCs"
(https://github.com/bitcoin/bitcoin/pull/33040)
πŸš€ fanquake merged a pull request: "[29.x] test: Do not pass tests on unhandled exceptions"
(https://github.com/bitcoin/bitcoin/pull/33046)
πŸ’¬ bigshiny90 commented on pull request "test: Add functional tests for blockreconstructionextratxn parameter":
(https://github.com/bitcoin/bitcoin/pull/33023#issuecomment-3113073248)
updated to fix CI Lint fail (whitespace removal)
πŸš€ fanquake merged a pull request: "test: check proper OP_2ROT behavior"
(https://github.com/bitcoin/bitcoin/pull/33047)
πŸ’¬ bigshiny90 commented on pull request "test: Add functional tests for blockreconstructionextratxn parameter":
(https://github.com/bitcoin/bitcoin/pull/33023#issuecomment-3113104256)
updated to fix CI Lint errors
πŸ’¬ laanwj commented on pull request "Enable `-natpmp` by default":
(https://github.com/bitcoin/bitcoin/pull/33004#issuecomment-3113109911)
Post-merge ACK b2d07f872c58af9cfdf9f9a4af0645376f9b98cb
πŸ€” fanquake reviewed a pull request: "ci: Use optimized Debug build type in test-each-commit"
(https://github.com/bitcoin/bitcoin/pull/32888#pullrequestreview-3051259900)
Seems fine to add this and be using `mold` in one job.

> This ci run took 30min7sec (https://github.com/bitcoin/bitcoin/actions/runs/16112781421/job/45459901801?pr=32888)

This doesn't actually show the new changes here right?
πŸ’¬ fanquake commented on pull request "ci: Use optimized Debug build type in test-each-commit":
(https://github.com/bitcoin/bitcoin/pull/32888#discussion_r2228252688)
The CMake here is one version too old, otherwise we could also have used `CMAKE_LINKER_TYPE=MOLD`
πŸš€ fanquake merged a pull request: "ci: Use optimized Debug build type in test-each-commit"
(https://github.com/bitcoin/bitcoin/pull/32888)
πŸ‘‹ fanquake's pull request is ready for review: "test: Add functional tests for blockreconstructionextratxn parameter"
(https://github.com/bitcoin/bitcoin/pull/33023)
πŸ’¬ stickies-v commented on pull request "rpc: refactor: use string_view in Arg/MaybeArg":
(https://github.com/bitcoin/bitcoin/pull/32983#issuecomment-3113155030)
Force-pushed from [319abd6](https://github.com/bitcoin/bitcoin/commit/319abd609b3d2194e7a05454b6af55b6f16adbf1) to [b8772ef](https://github.com/bitcoin/bitcoin/commit/b8772efebace3f4f0cfed6479648bce7a521ff27) to remove a `std::string` copy in `rpc/mining.cpp`, addressing (part of) @pablomartin4btc's feedback.

---

> It seems like we’re going from `string` β†’ `string_view` β†’ `string`

`string_view` is a non-owning read-only reference, so by definition it has to point to some other string-li
...
πŸ“ Sjors opened a pull request: "Don't fix Python patch version"
(https://github.com/bitcoin/bitcoin/pull/33051)
Fixing the patch version can cause problems when interacting with other programs such as HWI.

E.g. if the user installed Python 3.10.14 and 3.10.16 through PyEnv, if HWI was locked to 3.10 it would default to 3.10.16. HWI then can't find any of its dependencies.

See also https://github.com/bitcoin-core/HWI/pull/695
πŸ’¬ maflcko commented on pull request "Don't fix Python patch version":
(https://github.com/bitcoin/bitcoin/pull/33051#issuecomment-3113282579)
the lint CI failed