Bitcoin Core Github
42 subscribers
128K links
Download Telegram
💬 ryanofsky commented on pull request "validation: Stricter assumeutxo error handling when renaming chainstates":
(https://github.com/bitcoin/bitcoin/pull/27862#discussion_r1228586551)
re: https://github.com/bitcoin/bitcoin/pull/27862#discussion_r1227196719

> This seems like a significant behavior change.

It does only happen when snapshot validation fails (so the node would be shutting down anyway), and renaming the snapshot also fails. Just reraising the exception seemed like this simplest possible approach to take (copied from code in `ValidatedSnapshotCleanup`). But it is simple enough to clean up the code more. I pushed a new version which gets rid of the AbortNode c
...
💬 pinheadmz commented on pull request "test: Add unit & functional test coverage for blockstore":
(https://github.com/bitcoin/bitcoin/pull/27850#issuecomment-1589897031)
I fixed the CI failures by skipping tasks that are run as root. Root privileges override the read-only file permissions and the test fails because we expect an error that doesn't throw (can not open read-only file in write mode).

There are 7 tasks that skip this test for this reason:

[Win64 native [vs2022]](https://cirrus-ci.com/task/6272496312254464?logs=functional_tests#L2742)
[[ASan + LSan + UBSan + integer, no depends, USDT] [lunar]](https://cirrus-ci.com/task/5287333893767168?logs=ci
...
👍 ryanofsky approved a pull request: "test: (refactor) Use datadir from options in chainstatemanager test"
(https://github.com/bitcoin/bitcoin/pull/27876#pullrequestreview-1477921655)
Code review ACK d54819d74e04e6105c1f0362755f5bcfa845eefd
💬 TheCharlatan commented on pull request "validation: Stricter assumeutxo error handling when renaming chainstates":
(https://github.com/bitcoin/bitcoin/pull/27862#discussion_r1228615119)
Nice, this is exactly what I had in mind! Can be resolved.
📝 achow101 opened a pull request: "gui: Disable and uncheck blank when private keys are disabled"
(https://github.com/bitcoin-core/gui/pull/739)
Unify the GUI's create wallet with the RPC createwallet so that the blank flag is not set when private keys are disabled.
🤔 pablomartin4btc reviewed a pull request: "Debug Console implementation of generate method"
(https://github.com/bitcoin-core/gui/pull/692#pullrequestreview-1477911157)
I think you'd need to check some comments.
💬 pablomartin4btc commented on pull request "Debug Console implementation of generate method":
(https://github.com/bitcoin-core/gui/pull/692#discussion_r1228627690)
It would if -> Default to "help generate" when wrong number of parameters are given (line 524), but it's the same case anyway, it's the condition after the`or`operator,
💬 pablomartin4btc commented on pull request "Debug Console implementation of generate method":
(https://github.com/bitcoin-core/gui/pull/692#discussion_r1228605741)
I agree.
💬 pablomartin4btc commented on pull request "Debug Console implementation of generate method":
(https://github.com/bitcoin-core/gui/pull/692#discussion_r1228620295)
I agree, I thought before that could be a pseudo-implementation of a handler pattern but the evaluation is being done checking the key of the map is being the specific command in the command-line.
💬 pablomartin4btc commented on pull request "Debug Console implementation of generate method":
(https://github.com/bitcoin-core/gui/pull/692#discussion_r1228606120)
I agree.
💬 achow101 commented on pull request "wallet, tests: Expand and test when the blank wallet flag should be un/set":
(https://github.com/bitcoin/bitcoin/pull/25634#discussion_r1228631706)
Removed this test so this is no longer relevant.
💬 achow101 commented on pull request "wallet, tests: Expand and test when the blank wallet flag should be un/set":
(https://github.com/bitcoin/bitcoin/pull/25634#issuecomment-1589931354)
> The GUI would be simpler and clearer if it made blank and watch-only wallets separate choices instead of overlapping options.

I've done that in https://github.com/bitcoin-core/gui/pull/739

> So I'd be happier if the PR kept all the new test coverage and bugfixes but dropped the second commit "Set blank when disable private keys in createwallet" [37dd054](https://github.com/bitcoin/bitcoin/commit/37dd054d9c7d58e829338c88df836241c0259f99)

Dropped it.
💬 glozow commented on pull request "Fee estimation: avoid serving stale fee estimate":
(https://github.com/bitcoin/bitcoin/pull/27622#discussion_r1225923606)
in 29814149f29ce1858ee3f6ea2fbd37ec411070d6: for primitive types like bools, it makes more sense to pass by value
💬 glozow commented on pull request "Fee estimation: avoid serving stale fee estimate":
(https://github.com/bitcoin/bitcoin/pull/27622#discussion_r1225924258)
29814149f29ce1858ee3f6ea2fbd37ec411070d6
The comment from L33 seems to belong better above here. Also, please make doxygen compatible.

```suggestion
/** Whether to allow importing a fee_estimates file older than MAX_FILE_AGE */
const bool m_read_stale_estimates;
```
💬 glozow commented on pull request "Fee estimation: avoid serving stale fee estimate":
(https://github.com/bitcoin/bitcoin/pull/27622#discussion_r1225926128)
in efe5f373e12329104f1c706145eee75c2d2079a7

Is this 61 hours? Or 1 second past the 60hour mark?
👍 TheCharlatan approved a pull request: "validation: Stricter assumeutxo error handling when renaming chainstates"
(https://github.com/bitcoin/bitcoin/pull/27862#pullrequestreview-1477986292)
ACK 1ac09b93cdb41eb7dbc1a62364363e59507da1af

That windows build failure is weird though. How can there be a conflict between `std::format` and `tfm::format`, if we are only in the latter's namespace? Why is this only popping up now?
💬 achow101 commented on pull request "test: (refactor) Use datadir from options in chainstatemanager test":
(https://github.com/bitcoin/bitcoin/pull/27876#issuecomment-1589975135)
ACK d54819d74e04e6105c1f0362755f5bcfa845eefd
🚀 achow101 merged a pull request: "test: (refactor) Use datadir from options in chainstatemanager test"
(https://github.com/bitcoin/bitcoin/pull/27876)
💬 TheCharlatan commented on pull request "kernel: Add interrupt class":
(https://github.com/bitcoin/bitcoin/pull/27861#issuecomment-1589979443)
Updated 39d9b5144410c15385ee48bc886e0dea36f34b6a -> 315915b43082a4c43bec3ba8e826abc7280b6cbc ([kernelInterrupt_2](https://github.com/TheCharlatan/bitcoin/commits/kernelInterrupt_2) -> [kernelInterrupt_3](https://github.com/TheCharlatan/bitcoin/commits/kernelInterrupt_3), [compare](https://github.com/TheCharlatan/bitcoin/compare/kernelInterrupt_2..kernelInterrupt_3)).
* Adopted @ryanofsky's [suggestion](https://github.com/bitcoin/bitcoin/pull/27861#discussion_r1228439282), making `FatalErrorf` a
...
💬 TheCharlatan commented on pull request "build: make sure we can overwrite config.{guess,sub} before doing so":
(https://github.com/bitcoin/bitcoin/pull/27875#issuecomment-1589993008)
Concept ACK
💬 MarcoFalke commented on pull request "Add menu option to migrate a wallet":
(https://github.com/bitcoin-core/gui/pull/738#discussion_r1228705790)
```suggestion
return {std::move(out)}; // std::move to work around clang bug
```

No idea if this compiles or works around the clang bug, but I left a comment