💬 garlonicon commented on pull request "Testnet4 including PoW difficulty adjustment fix":
(https://github.com/bitcoin/bitcoin/pull/29775#issuecomment-2366902493)
> difficulty appears to be rising exponentially
Not necessarily. There are many CPU-mined blocks, but the chainwork is not rising by that much. And CPU miners are not only producing more blocks than needed: they are also pushing timestamps forward. Which means, that if it will be too hard to mine, then:
1. More people will be mining with CPU difficulty (which is good, because then, everything is left to lottery-based network propagation).
2. The difficulty will stop rising, because if you
...
(https://github.com/bitcoin/bitcoin/pull/29775#issuecomment-2366902493)
> difficulty appears to be rising exponentially
Not necessarily. There are many CPU-mined blocks, but the chainwork is not rising by that much. And CPU miners are not only producing more blocks than needed: they are also pushing timestamps forward. Which means, that if it will be too hard to mine, then:
1. More people will be mining with CPU difficulty (which is good, because then, everything is left to lottery-based network propagation).
2. The difficulty will stop rising, because if you
...
📝 tdb3 opened a pull request: "doc: correct the zmq automatic build info"
(https://github.com/bitcoin/bitcoin/pull/30946)
The current documentation states that ZMQ feature is automatically included when building.
Noticed this was not the case when building to review PR #30942.
(https://github.com/bitcoin/bitcoin/pull/30946)
The current documentation states that ZMQ feature is automatically included when building.
Noticed this was not the case when building to review PR #30942.
👍 tdb3 approved a pull request: "test: Remove dead code from interface_zmq test"
(https://github.com/bitcoin/bitcoin/pull/30942#pullrequestreview-2320908742)
CR and light test ACK ed1af8386b34eafed7a2d634ab96d23d6732e5bf
Thanks for simplifying the test.
(https://github.com/bitcoin/bitcoin/pull/30942#pullrequestreview-2320908742)
CR and light test ACK ed1af8386b34eafed7a2d634ab96d23d6732e5bf
Thanks for simplifying the test.
💬 tdb3 commented on pull request "test: Remove dead code from interface_zmq test":
(https://github.com/bitcoin/bitcoin/pull/30942#discussion_r1770618663)
Thought about this assert being turned into a loop (retrying until `get_raw_seq` is 6), but it doesn't seem to fail currently, and the `sync_all()` call above might be helping to ensure this.
(https://github.com/bitcoin/bitcoin/pull/30942#discussion_r1770618663)
Thought about this assert being turned into a loop (retrying until `get_raw_seq` is 6), but it doesn't seem to fail currently, and the `sync_all()` call above might be helping to ensure this.
💬 tdb3 commented on pull request "doc: correct the zmq automatic build info":
(https://github.com/bitcoin/bitcoin/pull/30946#issuecomment-2366936335)
CI failure seems to be another instance of https://github.com/bitcoin/bitcoin/issues/30922
```
test 2024-09-22T19:16:03.915000Z TestFramework (ERROR): Assertion failed
Traceback (most recent call last):
File "/Users/runner/work/bitcoin/bitcoin/test/functional/test_framework/test_framework.py", line 132, in main
self.run_test()
File "/Users/
...
(https://github.com/bitcoin/bitcoin/pull/30946#issuecomment-2366936335)
CI failure seems to be another instance of https://github.com/bitcoin/bitcoin/issues/30922
```
test 2024-09-22T19:16:03.915000Z TestFramework (ERROR): Assertion failed
Traceback (most recent call last):
File "/Users/runner/work/bitcoin/bitcoin/test/functional/test_framework/test_framework.py", line 132, in main
self.run_test()
File "/Users/
...
💬 tdb3 commented on issue "Intermittent failure in p2p_1p1c_network.py", line 58, in raise_network_minfee assert_greater_than(node.getmempoolinfo()['mempoolminfee'], FEERATE_1SAT_VB) ; AssertionError: 0.00001000 <= 0.00001000":
(https://github.com/bitcoin/bitcoin/issues/30922#issuecomment-2366936790)
Encountered this in PR #30946 as well.
```
test 2024-09-22T19:16:03.915000Z TestFramework (ERROR): Assertion failed
Traceback (most recent call last):
File "/Users/runner/work/bitcoin/bitcoin/test/functional/test_framework/test_framework.py", line 132, in main
self.run_test()
File "/Users/runner/work/bitcoin/bitcoin/ci/scratch/build-aarch64
...
(https://github.com/bitcoin/bitcoin/issues/30922#issuecomment-2366936790)
Encountered this in PR #30946 as well.
```
test 2024-09-22T19:16:03.915000Z TestFramework (ERROR): Assertion failed
Traceback (most recent call last):
File "/Users/runner/work/bitcoin/bitcoin/test/functional/test_framework/test_framework.py", line 132, in main
self.run_test()
File "/Users/runner/work/bitcoin/bitcoin/ci/scratch/build-aarch64
...
💬 fjahr commented on pull request "doc: correct the zmq automatic build info":
(https://github.com/bitcoin/bitcoin/pull/30946#issuecomment-2366958861)
ACK 858bb0c5285cb713bb1de056135d1331c17c35a9
(https://github.com/bitcoin/bitcoin/pull/30946#issuecomment-2366958861)
ACK 858bb0c5285cb713bb1de056135d1331c17c35a9
💬 beage666 commented on pull request "test: Remove dead code from interface_zmq test":
(https://github.com/bitcoin/bitcoin/pull/30942#discussion_r1770637021)
Next update
(https://github.com/bitcoin/bitcoin/pull/30942#discussion_r1770637021)
Next update
💬 instagibbs commented on pull request "refactor: TxDownloadManager + fuzzing":
(https://github.com/bitcoin/bitcoin/pull/30110#discussion_r1770637906)
> I don't understand how 0 tests failed, though 😬 gotta look into that
yeah was a bit worrying to me too... glad we can add unit tests in this PR!
(https://github.com/bitcoin/bitcoin/pull/30110#discussion_r1770637906)
> I don't understand how 0 tests failed, though 😬 gotta look into that
yeah was a bit worrying to me too... glad we can add unit tests in this PR!
💬 kegdeg commented on issue "rpc auth fails 'Error parsing command line arguments: Invalid parameter -rpcpasssword=password":
(https://github.com/bitcoin/bitcoin/issues/30939#issuecomment-2366973982)
yes, that solved it, thanks!
(https://github.com/bitcoin/bitcoin/issues/30939#issuecomment-2366973982)
yes, that solved it, thanks!
✅ kegdeg closed an issue: "rpc auth fails 'Error parsing command line arguments: Invalid parameter -rpcpasssword=password"
(https://github.com/bitcoin/bitcoin/issues/30939)
(https://github.com/bitcoin/bitcoin/issues/30939)
💬 kegdeg commented on issue "rpc auth fails 'Error parsing command line arguments: Invalid parameter -rpcpasssword=password":
(https://github.com/bitcoin/bitcoin/issues/30939#issuecomment-2366974641)
-datadir specified, must use bitcoin.conf in datadir
(https://github.com/bitcoin/bitcoin/issues/30939#issuecomment-2366974641)
-datadir specified, must use bitcoin.conf in datadir
💬 paulmaleauxney commented on issue "Improve description of the `filename` parameter of `loadwallet` RPC":
(https://github.com/bitcoin/bitcoin/issues/30269#issuecomment-2367076019)
@murchandamus if this is still open I can work in it. Please let me know.
(https://github.com/bitcoin/bitcoin/issues/30269#issuecomment-2367076019)
@murchandamus if this is still open I can work in it. Please let me know.
💬 BenWestgate commented on pull request "Drop -dbcache limit":
(https://github.com/bitcoin/bitcoin/pull/28358#issuecomment-2367264753)
Didn’t #28280 resolve this?
On Fri, Sep 20, 2024 at 05:16, l0rinc ***@***.***(mailto:On Fri, Sep 20, 2024 at 05:16, l0rinc <<a href=)> wrote:
> Unsurprisingly (should we document this?), setting -prune makes the -dbcache value less important:
>
> benchmark
>
> // 6d7f24595b08b8d1eba53e648533bcf87c30b48f
> hyperfine \
> --runs 2 \
> --export-json /mnt/ibd_dbcache_prune.json \
> --parameter-list DBCACHE 10240,16384,20480,30720,40960 \
> --prepare
>
> '
>
> rm -rf /mnt/BitcoinData/*
>
> '
>
> \
>
...
(https://github.com/bitcoin/bitcoin/pull/28358#issuecomment-2367264753)
Didn’t #28280 resolve this?
On Fri, Sep 20, 2024 at 05:16, l0rinc ***@***.***(mailto:On Fri, Sep 20, 2024 at 05:16, l0rinc <<a href=)> wrote:
> Unsurprisingly (should we document this?), setting -prune makes the -dbcache value less important:
>
> benchmark
>
> // 6d7f24595b08b8d1eba53e648533bcf87c30b48f
> hyperfine \
> --runs 2 \
> --export-json /mnt/ibd_dbcache_prune.json \
> --parameter-list DBCACHE 10240,16384,20480,30720,40960 \
> --prepare
>
> '
>
> rm -rf /mnt/BitcoinData/*
>
> '
>
> \
>
...
⚠️ Sjors opened an issue: "Warn about / refuse unsupported clang version"
(https://github.com/bitcoin/bitcoin/issues/30947)
On an older Intel macOS 13.7 machine:
```
cmake -B build
-- The CXX compiler identification is AppleClang 14.0.3.14030022
...
cmake --build build -j7
...
In file included from /Users/sjors/dev/bitcoin/src/crypto/muhash.h:9:
/Users/sjors/dev/bitcoin/src/uint256.h:133:19: error: call to consteval function 'util::ConstevalHexDigit' is not a constant expression
auto lo = util::ConstevalHexDigit(*(str_it++));
^
(etc)
```
Our minimum required clang
...
(https://github.com/bitcoin/bitcoin/issues/30947)
On an older Intel macOS 13.7 machine:
```
cmake -B build
-- The CXX compiler identification is AppleClang 14.0.3.14030022
...
cmake --build build -j7
...
In file included from /Users/sjors/dev/bitcoin/src/crypto/muhash.h:9:
/Users/sjors/dev/bitcoin/src/uint256.h:133:19: error: call to consteval function 'util::ConstevalHexDigit' is not a constant expression
auto lo = util::ConstevalHexDigit(*(str_it++));
^
(etc)
```
Our minimum required clang
...
💬 Sjors commented on issue "Warn about / refuse unsupported clang version":
(https://github.com/bitcoin/bitcoin/issues/30947#issuecomment-2367467444)
The documentation says "For macOS 11 (Big Sur) and 12 (Monterey) you need to install a more recent version of llvm". That should include macOS 13 and 14 now as well, see https://trac.macports.org/wiki/XcodeVersionInfo#macOS14
But I think as long as cmake warns about llvm being too old, anyone reading `build-osx.md` will probably figure out that they need to install a newer version via llvm.
(https://github.com/bitcoin/bitcoin/issues/30947#issuecomment-2367467444)
The documentation says "For macOS 11 (Big Sur) and 12 (Monterey) you need to install a more recent version of llvm". That should include macOS 13 and 14 now as well, see https://trac.macports.org/wiki/XcodeVersionInfo#macOS14
But I think as long as cmake warns about llvm being too old, anyone reading `build-osx.md` will probably figure out that they need to install a newer version via llvm.
📝 maflcko opened a pull request: "test: Add missing sync_mempools() to fill_mempool()"
(https://github.com/bitcoin/bitcoin/pull/30948)
Not doing the sync will lead to (intermittent) issues, as explained in https://github.com/bitcoin/bitcoin/issues/30922#issuecomment-2364529013.
Fix all issues by doing the sync by default.
However, the sync isn't needed in all places, or it could slow down the test. So disable it, or set `noban_tx_relay` to offset the added cost.
(https://github.com/bitcoin/bitcoin/pull/30948)
Not doing the sync will lead to (intermittent) issues, as explained in https://github.com/bitcoin/bitcoin/issues/30922#issuecomment-2364529013.
Fix all issues by doing the sync by default.
However, the sync isn't needed in all places, or it could slow down the test. So disable it, or set `noban_tx_relay` to offset the added cost.
📝 Sjors opened a pull request: "doc: macOS 15 ships llvm 16"
(https://github.com/bitcoin/bitcoin/pull/30949)
#30263 bumped the minimum clang to 16
macOS versions before 15 ship older versions, see https://en.wikipedia.org/wiki/Xcode#Xcode_15.0_-_(since_visionOS_support)
Updating macOS build instructions to reflect this.
(https://github.com/bitcoin/bitcoin/pull/30949)
#30263 bumped the minimum clang to 16
macOS versions before 15 ship older versions, see https://en.wikipedia.org/wiki/Xcode#Xcode_15.0_-_(since_visionOS_support)
Updating macOS build instructions to reflect this.
💬 maflcko commented on pull request "doc: macOS 15 ships llvm 16":
(https://github.com/bitcoin/bitcoin/pull/30949#issuecomment-2367502905)
Are you sure?
CI checks for this and passes, so you'll have to explain why CI didn't fail. Ideally, with exact steps to reproduce. Otherwise, it will be hard to follow.
Also, keep in mind that the "Clang version string" inside XCode is completely made up by Apple. It does not correspond to the llvm versioning.
(https://github.com/bitcoin/bitcoin/pull/30949#issuecomment-2367502905)
Are you sure?
CI checks for this and passes, so you'll have to explain why CI didn't fail. Ideally, with exact steps to reproduce. Otherwise, it will be hard to follow.
Also, keep in mind that the "Clang version string" inside XCode is completely made up by Apple. It does not correspond to the llvm versioning.
💬 maflcko commented on pull request "test: Add missing sync_mempools() to fill_mempool()":
(https://github.com/bitcoin/bitcoin/pull/30948#issuecomment-2367507024)
Can be tested via the following diff, which should fail on master and pass on this pull request:
```diff
diff --git a/test/functional/p2p_1p1c_network.py b/test/functional/p2p_1p1c_network.py
index f9e782f524..5ea6add9ab 100755
--- a/test/functional/p2p_1p1c_network.py
+++ b/test/functional/p2p_1p1c_network.py
@@ -39,7 +39,7 @@ class PackageRelayTest(BitcoinTestFramework):
self.setup_clean_chain = True
self.num_nodes = 4
# hugely speeds up the test, as it in
...
(https://github.com/bitcoin/bitcoin/pull/30948#issuecomment-2367507024)
Can be tested via the following diff, which should fail on master and pass on this pull request:
```diff
diff --git a/test/functional/p2p_1p1c_network.py b/test/functional/p2p_1p1c_network.py
index f9e782f524..5ea6add9ab 100755
--- a/test/functional/p2p_1p1c_network.py
+++ b/test/functional/p2p_1p1c_network.py
@@ -39,7 +39,7 @@ class PackageRelayTest(BitcoinTestFramework):
self.setup_clean_chain = True
self.num_nodes = 4
# hugely speeds up the test, as it in
...