💬 zzzi2p commented on issue "I2P: Limit transient addresses":
(https://github.com/bitcoin/bitcoin/issues/26754#issuecomment-1435700510)
Update mid-February:
We are now confident that Dec. 19 marked the start of a DDoS attack that continues to this day. It was not caused by Bitcoin, other applications, or congestion management issues in I2P routers. Our investigations and mitigations continue.
I apologize for the OP theory that Bitcoin could be the cause, and the urgency stated there. My initial research was incorrect.
The PR to reduce resource usage is still important, and we hope it gets merged in for your next release
...
(https://github.com/bitcoin/bitcoin/issues/26754#issuecomment-1435700510)
Update mid-February:
We are now confident that Dec. 19 marked the start of a DDoS attack that continues to this day. It was not caused by Bitcoin, other applications, or congestion management issues in I2P routers. Our investigations and mitigations continue.
I apologize for the OP theory that Bitcoin could be the cause, and the urgency stated there. My initial research was incorrect.
The PR to reduce resource usage is still important, and we hope it gets merged in for your next release
...
💬 jonatack commented on pull request "Add pool based memory resource":
(https://github.com/bitcoin/bitcoin/pull/25325#issuecomment-1435700864)
re-ACK d87cb99bb37637e26a9e00b9f7de4bc6f44cb79d
(https://github.com/bitcoin/bitcoin/pull/25325#issuecomment-1435700864)
re-ACK d87cb99bb37637e26a9e00b9f7de4bc6f44cb79d
📝 pinheadmz opened a pull request: "docs: add ramdisk guide for running tests on OSX"
(https://github.com/bitcoin/bitcoin/pull/27124)
Using a ramdisk on OSX sped up the test suite by about 5x (using default `jobs=4`) on my M1 macbook pro running macOS Monterey 12.3.1. This PR adds the relevant OSX commands following the Linux directions.
Default:
```
8204 s (accumulated)
Runtime: 2104 s
```
following commands from the PR:
```
1606 s (accumulated)
Runtime: 421 s
```
ramdisk + `jobs=32`:
```
2090 s (accumulated)
Runtime: 85 s
```
(https://github.com/bitcoin/bitcoin/pull/27124)
Using a ramdisk on OSX sped up the test suite by about 5x (using default `jobs=4`) on my M1 macbook pro running macOS Monterey 12.3.1. This PR adds the relevant OSX commands following the Linux directions.
Default:
```
8204 s (accumulated)
Runtime: 2104 s
```
following commands from the PR:
```
1606 s (accumulated)
Runtime: 421 s
```
ramdisk + `jobs=32`:
```
2090 s (accumulated)
Runtime: 85 s
```
👍 ryanofsky approved a pull request: "Convert ArgsManager::GetDataDir to a read-only function"
(https://github.com/bitcoin/bitcoin/pull/27073)
Light code review ACK 64b812e9a6df8fb4ec96b978a08dc9bde2ada2f0. I want to look a little more closely at this and test a little more to be sure it works as expecte, but this seems like a very nice change. Avoids confusing side effect of functions like GetDataDirNet, AbsPathForConfigVal, and GetConfigFile creating directories in the background.
(https://github.com/bitcoin/bitcoin/pull/27073)
Light code review ACK 64b812e9a6df8fb4ec96b978a08dc9bde2ada2f0. I want to look a little more closely at this and test a little more to be sure it works as expecte, but this seems like a very nice change. Avoids confusing side effect of functions like GetDataDirNet, AbsPathForConfigVal, and GetConfigFile creating directories in the background.
💬 ryanofsky commented on pull request "Convert ArgsManager::GetDataDir to a read-only function":
(https://github.com/bitcoin/bitcoin/pull/27073#discussion_r1111053194)
re: https://github.com/bitcoin/bitcoin/pull/27073#discussion_r1107231839
Agree new behavior is better than old behavior:
- Having absolute path of the file that could not be loaded provides more information to users
- Internally, new code avoids confusing side effect of `GetConfigFile` actually creating the datadir directory instead of just returning a path string
(https://github.com/bitcoin/bitcoin/pull/27073#discussion_r1111053194)
re: https://github.com/bitcoin/bitcoin/pull/27073#discussion_r1107231839
Agree new behavior is better than old behavior:
- Having absolute path of the file that could not be loaded provides more information to users
- Internally, new code avoids confusing side effect of `GetConfigFile` actually creating the datadir directory instead of just returning a path string
💬 ryanofsky commented on pull request "Convert ArgsManager::GetDataDir to a read-only function":
(https://github.com/bitcoin/bitcoin/pull/27073#discussion_r1110294446)
In commit "util: add ArgsManager datadir helper functions" (f9ee6df4c08a8ef63900359b6c3564db1d4f5073)
Maybe add comment about why this is creating wallet directories. Could say something like:
"wallets" subdirectories are created in all new datadirs, because wallet code will create new wallets in the "wallets" subdirectory only if exists already, otherwise it will create them in the top-level datadir where they could interfere with other files. Wallet init code currently avoids creating "
...
(https://github.com/bitcoin/bitcoin/pull/27073#discussion_r1110294446)
In commit "util: add ArgsManager datadir helper functions" (f9ee6df4c08a8ef63900359b6c3564db1d4f5073)
Maybe add comment about why this is creating wallet directories. Could say something like:
"wallets" subdirectories are created in all new datadirs, because wallet code will create new wallets in the "wallets" subdirectory only if exists already, otherwise it will create them in the top-level datadir where they could interfere with other files. Wallet init code currently avoids creating "
...
👍 ryanofsky approved a pull request: "Convert ArgsManager::GetDataDir to a read-only function"
(https://github.com/bitcoin/bitcoin/pull/27073)
Light code review ACK 64b812e9a6df8fb4ec96b978a08dc9bde2ada2f0. I want to look a little more closely at this and test a little more to be sure it works as expecte, but this seems like a very nice change. Avoids confusing side effect of functions like GetDataDirNet, AbsPathForConfigVal, and GetConfigFile creating directories in the background.
(https://github.com/bitcoin/bitcoin/pull/27073)
Light code review ACK 64b812e9a6df8fb4ec96b978a08dc9bde2ada2f0. I want to look a little more closely at this and test a little more to be sure it works as expecte, but this seems like a very nice change. Avoids confusing side effect of functions like GetDataDirNet, AbsPathForConfigVal, and GetConfigFile creating directories in the background.
💬 Riahiamirreza commented on issue "Improve porting documentation for legacy-only wallet RPCs":
(https://github.com/bitcoin/bitcoin/issues/25363#issuecomment-1435744687)
How can I update error messages for one of the remaining rpc's error messages?
Do they still need improvement?
(https://github.com/bitcoin/bitcoin/issues/25363#issuecomment-1435744687)
How can I update error messages for one of the remaining rpc's error messages?
Do they still need improvement?
💬 furszy commented on issue "Improve porting documentation for legacy-only wallet RPCs":
(https://github.com/bitcoin/bitcoin/issues/25363#issuecomment-1435756155)
@Riahiamirreza seems that #25680 aims to fix this issue. Maybe you could go there and help reviewing.
And to #27034 if you like the `importaddress` compatibility idea.
(https://github.com/bitcoin/bitcoin/issues/25363#issuecomment-1435756155)
@Riahiamirreza seems that #25680 aims to fix this issue. Maybe you could go there and help reviewing.
And to #27034 if you like the `importaddress` compatibility idea.
👍 ponury1990 approved a pull request: "rpc: make importaddress compatible with descriptors wallet"
(https://github.com/bitcoin/bitcoin/pull/27034)
(https://github.com/bitcoin/bitcoin/pull/27034)
💬 llazzaro commented on pull request "lint: enable E722 do not use bare except":
(https://github.com/bitcoin/bitcoin/pull/25867#issuecomment-1435779314)
z@MarcoFalke @aureleoules new commit [61bb4e7](https://github.com/bitcoin/bitcoin/commit/61bb4e783b3acc62b121a228f6b14c2462e23315)
(https://github.com/bitcoin/bitcoin/pull/25867#issuecomment-1435779314)
z@MarcoFalke @aureleoules new commit [61bb4e7](https://github.com/bitcoin/bitcoin/commit/61bb4e783b3acc62b121a228f6b14c2462e23315)
👋 KolbyML's pull request is ready for review: "Add Import to Wallet GUI"
(https://github.com/bitcoin-core/gui/pull/650)
(https://github.com/bitcoin-core/gui/pull/650)
📝 TheCharlatan opened a pull request: "refactor, kernel: Decouple ArgsManager from blockstorage"
(https://github.com/bitcoin/bitcoin/pull/27125)
The libbitcoin_kernel library should not rely on the `ArgsManager`, but rather use option structs that can be passed to the various classes it uses. This PR removes reliance on the `ArgsManager` from the `blockstorage.*` files. Like similar prior work, it introduces an options struct to the `BlockManager` that can be populated with `ArgsManager` values.
Some related prior work: https://github.com/bitcoin/bitcoin/pull/26889 https://github.com/bitcoin/bitcoin/pull/25862 https://github.com/bitco
...
(https://github.com/bitcoin/bitcoin/pull/27125)
The libbitcoin_kernel library should not rely on the `ArgsManager`, but rather use option structs that can be passed to the various classes it uses. This PR removes reliance on the `ArgsManager` from the `blockstorage.*` files. Like similar prior work, it introduces an options struct to the `BlockManager` that can be populated with `ArgsManager` values.
Some related prior work: https://github.com/bitcoin/bitcoin/pull/26889 https://github.com/bitcoin/bitcoin/pull/25862 https://github.com/bitco
...
🚀 fanquake merged a pull request: "refactor: remove windows-only compat.h usage in random"
(https://github.com/bitcoin/bitcoin/pull/26814)
(https://github.com/bitcoin/bitcoin/pull/26814)
💬 fanquake commented on pull request "refactor, kernel: Decouple ArgsManager from blockstorage":
(https://github.com/bitcoin/bitcoin/pull/27125#issuecomment-1435999830)
```bash
validation.cpp:80:13: error: using decl 'ReadBlockFromDisk' is unused [misc-unused-using-decls,-warnings-as-errors]
using node::ReadBlockFromDisk;
^
/tmp/cirrus-ci-build/ci/scratch/build/bitcoin-x86_64-pc-linux-gnu/src/validation.cpp:80:13: note: remove the using
using node::ReadBlockFromDisk;
```
(https://github.com/bitcoin/bitcoin/pull/27125#issuecomment-1435999830)
```bash
validation.cpp:80:13: error: using decl 'ReadBlockFromDisk' is unused [misc-unused-using-decls,-warnings-as-errors]
using node::ReadBlockFromDisk;
^
/tmp/cirrus-ci-build/ci/scratch/build/bitcoin-x86_64-pc-linux-gnu/src/validation.cpp:80:13: note: remove the using
using node::ReadBlockFromDisk;
```
:lock: fanquake locked an issue: "Received BTC not showing in ( btc core ) address nor private key"
(https://github.com/bitcoin/bitcoin/issues/27115)
(https://github.com/bitcoin/bitcoin/issues/27115)
:lock: fanquake locked an issue: "Why is Bitcoin Core structured as a wallet? I know that it began as a wallet, but is it possible to make it like a GUI block explorer instead?"
(https://github.com/bitcoin/bitcoin/issues/27110)
(https://github.com/bitcoin/bitcoin/issues/27110)
:lock: fanquake locked an issue: "bitcoin failed to build with "EXEC : error : invalid triplet: arm64ec-windows-static " with MSVC on Windows arm64ec"
(https://github.com/bitcoin/bitcoin/issues/27059)
(https://github.com/bitcoin/bitcoin/issues/27059)
📝 fanquake locked a pull request: "Blockstorage: Dont access gArgs to get blocks_dir"
(https://github.com/bitcoin/bitcoin/pull/27103)
<!--
*** Please remove the following help text before submitting: ***
Pull requests without a rationale and clear improvement may be closed
immediately.
GUI-related pull requests should be opened against
https://github.com/bitcoin-core/gui
first. See CONTRIBUTING.md
-->
<!--
Please provide clear motivation for your patch and explain how it improves
Bitcoin Core user experience or Bitcoin Core developer experience
significantly:
* Any test improvements or new tests that improv
...
(https://github.com/bitcoin/bitcoin/pull/27103)
<!--
*** Please remove the following help text before submitting: ***
Pull requests without a rationale and clear improvement may be closed
immediately.
GUI-related pull requests should be opened against
https://github.com/bitcoin-core/gui
first. See CONTRIBUTING.md
-->
<!--
Please provide clear motivation for your patch and explain how it improves
Bitcoin Core user experience or Bitcoin Core developer experience
significantly:
* Any test improvements or new tests that improv
...
📝 fanquake locked a pull request: "Fix minor typo"
(https://github.com/bitcoin/bitcoin/pull/27102)
<!--
Just a small typo fix
-->
(https://github.com/bitcoin/bitcoin/pull/27102)
<!--
Just a small typo fix
-->