🤔 vincenzopalazzo reviewed a pull request: "RPC/Wallet: Convert walletprocesspsbt to use options parameter"
(https://github.com/bitcoin/bitcoin/pull/24963#pullrequestreview-1798511004)
I think the CI is complaing regarding the help command
```
stdout:
2023-12-28T22:14:56.493000Z TestFramework (INFO): PRNG seed is: 8647031483739335376
2023-12-28T22:14:56.493000Z TestFramework (INFO): Initializing test directory /ci_container_base/ci/scratch/test_runner/test_runner_₿_🏃_20231228_220750/rpc_help_5
2023-12-28T22:14:56.823000Z TestFramework (ERROR): Assertion failed
Traceback (most recent call last):
File "/ci_container_base/ci/scratch/build/bitcoin-i686-pc-linux-gnu/tes
...
(https://github.com/bitcoin/bitcoin/pull/24963#pullrequestreview-1798511004)
I think the CI is complaing regarding the help command
```
stdout:
2023-12-28T22:14:56.493000Z TestFramework (INFO): PRNG seed is: 8647031483739335376
2023-12-28T22:14:56.493000Z TestFramework (INFO): Initializing test directory /ci_container_base/ci/scratch/test_runner/test_runner_₿_🏃_20231228_220750/rpc_help_5
2023-12-28T22:14:56.823000Z TestFramework (ERROR): Assertion failed
Traceback (most recent call last):
File "/ci_container_base/ci/scratch/build/bitcoin-i686-pc-linux-gnu/tes
...
💬 amitiuttarwar commented on issue "Increase # of block-relay-only connections ":
(https://github.com/bitcoin/bitcoin/issues/28462#issuecomment-1871635546)
thank you @virtu & @mzumsande for the thoughtful discussion around estimating available slots by network! I agree that estimating clearnet inbound slots to be 114 per address to be an overestimation because of availability on multiple networks, so we should update our expectations accordingly.
### suggestion on next steps
from an offline conversation with @mzumsande, we think a reasonable path forward is to continue with the proposal in #28463 to increase max connections to 200 while contin
...
(https://github.com/bitcoin/bitcoin/issues/28462#issuecomment-1871635546)
thank you @virtu & @mzumsande for the thoughtful discussion around estimating available slots by network! I agree that estimating clearnet inbound slots to be 114 per address to be an overestimation because of availability on multiple networks, so we should update our expectations accordingly.
### suggestion on next steps
from an offline conversation with @mzumsande, we think a reasonable path forward is to continue with the proposal in #28463 to increase max connections to 200 while contin
...
💬 luke-jr commented on pull request "Remove `dnsseed.bitcoin.dashjr.org` temporarily":
(https://github.com/bitcoin/bitcoin/pull/29149#issuecomment-1871655061)
This PR is just trolling and should be closed/deleted.
(https://github.com/bitcoin/bitcoin/pull/29149#issuecomment-1871655061)
This PR is just trolling and should be closed/deleted.
💬 luke-jr commented on pull request "guix: Use DOS newlines for SHA256SUMS files":
(https://github.com/bitcoin/bitcoin/pull/29147#issuecomment-1871656371)
It seems @DrahtBot stops short of making the full SHA256SUMS file?
(https://github.com/bitcoin/bitcoin/pull/29147#issuecomment-1871656371)
It seems @DrahtBot stops short of making the full SHA256SUMS file?
💬 luke-jr commented on pull request "init: Add option for rpccookie permissions (replace 26088)":
(https://github.com/bitcoin/bitcoin/pull/28167#discussion_r1437941333)
This won't work if multiple bits are set
(https://github.com/bitcoin/bitcoin/pull/28167#discussion_r1437941333)
This won't work if multiple bits are set
💬 1440000bytes commented on pull request "Remove `dnsseed.bitcoin.dashjr.org` temporarily":
(https://github.com/bitcoin/bitcoin/pull/29149#issuecomment-1871662501)
> This PR is just trolling and should be closed/deleted.
So you are not willing to answer questions about your DNS seed and think its hardcoded forever?
(https://github.com/bitcoin/bitcoin/pull/29149#issuecomment-1871662501)
> This PR is just trolling and should be closed/deleted.
So you are not willing to answer questions about your DNS seed and think its hardcoded forever?
💬 luke-jr commented on pull request "init: Add option for rpccookie permissions (replace 26088)":
(https://github.com/bitcoin/bitcoin/pull/28167#discussion_r1437941696)
These bits seem to typically manifest by replacing the 'x' field with either 's' (setuid/setgid+executable), 'S' (setuid/setgid WITHOUT executable), 't' (sticky+exec), or 'T' (sticky NO exec)
(https://github.com/bitcoin/bitcoin/pull/28167#discussion_r1437941696)
These bits seem to typically manifest by replacing the 'x' field with either 's' (setuid/setgid+executable), 'S' (setuid/setgid WITHOUT executable), 't' (sticky+exec), or 'T' (sticky NO exec)
💬 1440000bytes commented on pull request "Remove `dnsseed.bitcoin.dashjr.org` temporarily":
(https://github.com/bitcoin/bitcoin/pull/29149#issuecomment-1871670659)
BTW I am working on a [project](https://x.com/1440000bytes/status/1740258212430106966) to monitor DNS seeds for different things. Last time time I enquired about DNS seeds, they asked me to use `seednode`.
This time Peter Todd told me there are some trade-offs. So 60% nodes are working on those trade-offs.
Maybe the real reason is power you feel by seeding all the bitcoin network or misleading them with seed in your case.
(https://github.com/bitcoin/bitcoin/pull/29149#issuecomment-1871670659)
BTW I am working on a [project](https://x.com/1440000bytes/status/1740258212430106966) to monitor DNS seeds for different things. Last time time I enquired about DNS seeds, they asked me to use `seednode`.
This time Peter Todd told me there are some trade-offs. So 60% nodes are working on those trade-offs.
Maybe the real reason is power you feel by seeding all the bitcoin network or misleading them with seed in your case.
💬 luke-jr commented on pull request "Remove `dnsseed.bitcoin.dashjr.org` temporarily":
(https://github.com/bitcoin/bitcoin/pull/29149#issuecomment-1871680509)
You have asked no questions, only posted false accusations.
(https://github.com/bitcoin/bitcoin/pull/29149#issuecomment-1871680509)
You have asked no questions, only posted false accusations.
🤔 mzumsande reviewed a pull request: "Remove `dnsseed.bitcoin.dashjr.org` temporarily"
(https://github.com/bitcoin/bitcoin/pull/29149#pullrequestreview-1798562130)
I don't think a removal is warranted, just fix (or explain if there is a legit reason) the issue with only returinng old nodes.
There is the monitoring site at https://www.21.ninja/dns-seeds/ run by @virtu - maybe having some additional statistics about the diversity of results could have caught this issue?
(https://github.com/bitcoin/bitcoin/pull/29149#pullrequestreview-1798562130)
I don't think a removal is warranted, just fix (or explain if there is a legit reason) the issue with only returinng old nodes.
There is the monitoring site at https://www.21.ninja/dns-seeds/ run by @virtu - maybe having some additional statistics about the diversity of results could have caught this issue?
💬 1440000bytes commented on pull request "Remove `dnsseed.bitcoin.dashjr.org` temporarily":
(https://github.com/bitcoin/bitcoin/pull/29149#issuecomment-1871696902)
> I don't think a removal is warranted, just fix (or explain if there is a legit reason) the issue with only returinng old nodes.
>
> There is the monitoring site at https://www.21.ninja/dns-seeds/ run by @virtu - maybe having some additional statistics about the diversity of results could have caught this issue?
It juts covers count and share. There are lot of things you monitor for DNS seeds. You know better than me.
> I don't think a removal is warranted, just fix (or explain if ther
...
(https://github.com/bitcoin/bitcoin/pull/29149#issuecomment-1871696902)
> I don't think a removal is warranted, just fix (or explain if there is a legit reason) the issue with only returinng old nodes.
>
> There is the monitoring site at https://www.21.ninja/dns-seeds/ run by @virtu - maybe having some additional statistics about the diversity of results could have caught this issue?
It juts covers count and share. There are lot of things you monitor for DNS seeds. You know better than me.
> I don't think a removal is warranted, just fix (or explain if ther
...
💬 1440000bytes commented on pull request "Remove `dnsseed.bitcoin.dashjr.org` temporarily":
(https://github.com/bitcoin/bitcoin/pull/29149#issuecomment-1871700172)
> You have asked no questions, only posted false accusations.
1. Why seeder returns IP address of nodes with user agent that look like old nodes?
2. If warnings on your server are true, why should we trust your domain will resolve to "honest" bitcoin nodes?
3. Are you sure that server used for DNS seed is secure?
4. What is the probability that US government agencies wont work with you and affect this last point? Then you spread on social media about your biased opinion with 0.01 %
...
(https://github.com/bitcoin/bitcoin/pull/29149#issuecomment-1871700172)
> You have asked no questions, only posted false accusations.
1. Why seeder returns IP address of nodes with user agent that look like old nodes?
2. If warnings on your server are true, why should we trust your domain will resolve to "honest" bitcoin nodes?
3. Are you sure that server used for DNS seed is secure?
4. What is the probability that US government agencies wont work with you and affect this last point? Then you spread on social media about your biased opinion with 0.01 %
...
🤔 furszy reviewed a pull request: "test: test_bitcoin: allow -testdatadir=<datadir>"
(https://github.com/bitcoin/bitcoin/pull/26564#pullrequestreview-1798560817)
Left few comments
(https://github.com/bitcoin/bitcoin/pull/26564#pullrequestreview-1798560817)
Left few comments
💬 furszy commented on pull request "test: test_bitcoin: allow -testdatadir=<datadir>":
(https://github.com/bitcoin/bitcoin/pull/26564#discussion_r1437956165)
Could mention that the datadir will not be removed automatically.
Also, the default value isn't just a random string. It should be:
```suggestion
m_node.args->AddArg("-testdatadir", strprintf("Custom data directory (default: %s<random_string>)", fs::PathToString(fs::temp_directory_path() / "test_common_" PACKAGE_NAME / "")), ArgsManager::ALLOW_ANY, OptionsCategory::DEBUG_TEST);
```
(https://github.com/bitcoin/bitcoin/pull/26564#discussion_r1437956165)
Could mention that the datadir will not be removed automatically.
Also, the default value isn't just a random string. It should be:
```suggestion
m_node.args->AddArg("-testdatadir", strprintf("Custom data directory (default: %s<random_string>)", fs::PathToString(fs::temp_directory_path() / "test_common_" PACKAGE_NAME / "")), ArgsManager::ALLOW_ANY, OptionsCategory::DEBUG_TEST);
```
💬 furszy commented on pull request "test: test_bitcoin: allow -testdatadir=<datadir>":
(https://github.com/bitcoin/bitcoin/pull/26564#discussion_r1437960487)
Same here; let's avoid using the string pointer `c_str()`, and instead use `fs::PathFromString(path)`
(https://github.com/bitcoin/bitcoin/pull/26564#discussion_r1437960487)
Same here; let's avoid using the string pointer `c_str()`, and instead use `fs::PathFromString(path)`
💬 furszy commented on pull request "test: test_bitcoin: allow -testdatadir=<datadir>":
(https://github.com/bitcoin/bitcoin/pull/26564#discussion_r1437962170)
Is this because you are running all tests within a boost fixture test suite or is it happening when you run a single test case?
E.g. fixture test suite: `./test_bitcoin --run_test=db_tests` vs single test case `./test_bitcoin --run_test= db_tests/getwalletenv_file`.
(https://github.com/bitcoin/bitcoin/pull/26564#discussion_r1437962170)
Is this because you are running all tests within a boost fixture test suite or is it happening when you run a single test case?
E.g. fixture test suite: `./test_bitcoin --run_test=db_tests` vs single test case `./test_bitcoin --run_test= db_tests/getwalletenv_file`.
💬 furszy commented on pull request "test: test_bitcoin: allow -testdatadir=<datadir>":
(https://github.com/bitcoin/bitcoin/pull/26564#discussion_r1437963129)
Can use `GetPathArg("-testdatadir")` directly.
Also, I would check the path correctness here and error out early when it is invalid.
(https://github.com/bitcoin/bitcoin/pull/26564#discussion_r1437963129)
Can use `GetPathArg("-testdatadir")` directly.
Also, I would check the path correctness here and error out early when it is invalid.
💬 furszy commented on pull request "test: test_bitcoin: allow -testdatadir=<datadir>":
(https://github.com/bitcoin/bitcoin/pull/26564#discussion_r1437959375)
Let's avoid using the string pointer (`c_str()`), could instead use:
```c++
testdatadir = fs::PathFromString(g_insecure_rand_ctx_temp_path.rand256().ToString())
```
(https://github.com/bitcoin/bitcoin/pull/26564#discussion_r1437959375)
Let's avoid using the string pointer (`c_str()`), could instead use:
```c++
testdatadir = fs::PathFromString(g_insecure_rand_ctx_temp_path.rand256().ToString())
```
💬 furszy commented on pull request "test: test_bitcoin: allow -testdatadir=<datadir>":
(https://github.com/bitcoin/bitcoin/pull/26564#discussion_r1437965595)
If a concurrent process locks the datadir right after the lock release, this process would remove the root path even when the other process is using it?
(https://github.com/bitcoin/bitcoin/pull/26564#discussion_r1437965595)
If a concurrent process locks the datadir right after the lock release, this process would remove the root path even when the other process is using it?
🤔 furszy reviewed a pull request: "index: block filters sync, reduce disk read operations by caching last header"
(https://github.com/bitcoin/bitcoin/pull/28955#pullrequestreview-1798579472)
Finished testing this on a custom directory. Results are favorable @Sjors and @luke-jr.
I have observed that access to the OS temp directory is faster than accessing regular directories locally. Benchmark outputs are provided at the end.
The testing methodology is as following:
Running `./bench_bitcoin -filter="BlockFilterIndexSync" -testdatadir=<custom_test_datadir_path>` on any of the following branches:
[Branch 1](https://github.com/furszy/bitcoin-core/tree/2023_index_blockfilter_ca
...
(https://github.com/bitcoin/bitcoin/pull/28955#pullrequestreview-1798579472)
Finished testing this on a custom directory. Results are favorable @Sjors and @luke-jr.
I have observed that access to the OS temp directory is faster than accessing regular directories locally. Benchmark outputs are provided at the end.
The testing methodology is as following:
Running `./bench_bitcoin -filter="BlockFilterIndexSync" -testdatadir=<custom_test_datadir_path>` on any of the following branches:
[Branch 1](https://github.com/furszy/bitcoin-core/tree/2023_index_blockfilter_ca
...