💬 SatoshiFans888 commented on issue "(removed)":
(https://github.com/bitcoin/bitcoin/issues/32165#issuecomment-2764500880)
@laanwj Either I understand or I'm wrong, the essence of the message is the determination of z and p values in the Double Poisson Sum, I always calculate the risk before calculating the reward, I also had a headache with how it was applied to Mathematics but I could only tell the numbers were 1.96 and 0.04999579029644097 and some other criteria, maybe Bitcoin is still the Bitcoin that Satoshi asked for at the beginning of his speech, so proud.
(https://github.com/bitcoin/bitcoin/issues/32165#issuecomment-2764500880)
@laanwj Either I understand or I'm wrong, the essence of the message is the determination of z and p values in the Double Poisson Sum, I always calculate the risk before calculating the reward, I also had a headache with how it was applied to Mathematics but I could only tell the numbers were 1.96 and 0.04999579029644097 and some other criteria, maybe Bitcoin is still the Bitcoin that Satoshi asked for at the beginning of his speech, so proud.
📝 eval-exec opened a pull request: "torcontrol: Define tor reply code as cosnt to improve readability) torcontrol: Define tor replay code as const to improve our maintainability"
(https://github.com/bitcoin/bitcoin/pull/32166)
This PR want to replace tor repy code with const to improve out maintainability.
Friendly invite
(https://github.com/bitcoin/bitcoin/pull/32166)
This PR want to replace tor repy code with const to improve out maintainability.
Friendly invite
💬 eval-exec commented on pull request "torcontrol: Add comment explaining Proxy credential randomization for Tor privacy":
(https://github.com/bitcoin/bitcoin/pull/31973#issuecomment-2764507260)
Friendly ping @fanquake , I think this PR is ready to be merged.
(https://github.com/bitcoin/bitcoin/pull/31973#issuecomment-2764507260)
Friendly ping @fanquake , I think this PR is ready to be merged.
💬 maflcko commented on pull request "torcontrol: Define tor reply code as const to improve our maintainability":
(https://github.com/bitcoin/bitcoin/pull/32166#issuecomment-2764511611)
Could probably be cherry-picked into https://github.com/bitcoin/bitcoin/pull/31973, so that there is only a single pull with doc/refactor fixups of the same file?
(https://github.com/bitcoin/bitcoin/pull/32166#issuecomment-2764511611)
Could probably be cherry-picked into https://github.com/bitcoin/bitcoin/pull/31973, so that there is only a single pull with doc/refactor fixups of the same file?
✅ eval-exec closed a pull request: "torcontrol: Define tor reply code as const to improve our maintainability"
(https://github.com/bitcoin/bitcoin/pull/32166)
(https://github.com/bitcoin/bitcoin/pull/32166)
💬 eval-exec commented on pull request "torcontrol: Define tor reply code as const to improve our maintainability":
(https://github.com/bitcoin/bitcoin/pull/32166#issuecomment-2764512073)
> Could probably be cherry-picked into #31973, so that there is only a single pull with doc/refactor fixups of the same file?
Sure.
(https://github.com/bitcoin/bitcoin/pull/32166#issuecomment-2764512073)
> Could probably be cherry-picked into #31973, so that there is only a single pull with doc/refactor fixups of the same file?
Sure.
📝 eval-exec reopened a pull request: "torcontrol: Define tor reply code as const to improve our maintainability"
(https://github.com/bitcoin/bitcoin/pull/32166)
This PR want to replace tor repy code with const to improve out maintainability.
Friendly invite @fanquake @laanwj @luke-jr to review this PR.
(https://github.com/bitcoin/bitcoin/pull/32166)
This PR want to replace tor repy code with const to improve out maintainability.
Friendly invite @fanquake @laanwj @luke-jr to review this PR.
✅ eval-exec closed a pull request: "torcontrol: Add comment explaining Proxy credential randomization for Tor privacy"
(https://github.com/bitcoin/bitcoin/pull/31973)
(https://github.com/bitcoin/bitcoin/pull/31973)
💬 eval-exec commented on pull request "torcontrol: Add comment explaining Proxy credential randomization for Tor privacy":
(https://github.com/bitcoin/bitcoin/pull/31973#issuecomment-2764512464)
Has cherry-pick this commit into https://github.com/bitcoin/bitcoin/pull/32166
(https://github.com/bitcoin/bitcoin/pull/31973#issuecomment-2764512464)
Has cherry-pick this commit into https://github.com/bitcoin/bitcoin/pull/32166
⚠️ maflcko opened an issue: "oss-fuzz build fails"
(https://github.com/bitcoin/bitcoin/issues/32167)
https://oss-fuzz-build-logs.storage.googleapis.com/index.html#bitcoin-core
Passing: https://oss-fuzz-build-logs.storage.googleapis.com/log-412269f7-edf7-41df-bf45-c7c19e4a6518.txt
(commit f1d129d96340503ec5f6b347c2fdf6a6901b1f7e)
Failing: https://oss-fuzz-build-logs.storage.googleapis.com/log-55825031-7dd1-470e-a768-1dd6d1cc1d8a.txt
(commit 0a1e36effaa5aa27bc5f2c4955c1fa2eb2f0c8fa)
output:
```
Step #30 - "compile-libfuzzer-address-i386": copying packages: boost libevent sqlite
Step #30 - "
...
(https://github.com/bitcoin/bitcoin/issues/32167)
https://oss-fuzz-build-logs.storage.googleapis.com/index.html#bitcoin-core
Passing: https://oss-fuzz-build-logs.storage.googleapis.com/log-412269f7-edf7-41df-bf45-c7c19e4a6518.txt
(commit f1d129d96340503ec5f6b347c2fdf6a6901b1f7e)
Failing: https://oss-fuzz-build-logs.storage.googleapis.com/log-55825031-7dd1-470e-a768-1dd6d1cc1d8a.txt
(commit 0a1e36effaa5aa27bc5f2c4955c1fa2eb2f0c8fa)
output:
```
Step #30 - "compile-libfuzzer-address-i386": copying packages: boost libevent sqlite
Step #30 - "
...
💬 maflcko commented on pull request "test: create assert_not_equal util":
(https://github.com/bitcoin/bitcoin/pull/29500#discussion_r2020141507)
No strong opinion, but I think we shouldn't spend too much time on the error message explaining the context because the traceback could contain too little context, or on the traceback containing too much (redundant) context by default. A full log of a test failure could be thousands of lines, so one additional line, even if could be redundant in a strict sense should be fine. Also, looking at the historic failures (in Python) at https://github.com/bitcoin/bitcoin/issues?q=is%3Aissue%20%20label%3
...
(https://github.com/bitcoin/bitcoin/pull/29500#discussion_r2020141507)
No strong opinion, but I think we shouldn't spend too much time on the error message explaining the context because the traceback could contain too little context, or on the traceback containing too much (redundant) context by default. A full log of a test failure could be thousands of lines, so one additional line, even if could be redundant in a strict sense should be fine. Also, looking at the historic failures (in Python) at https://github.com/bitcoin/bitcoin/issues?q=is%3Aissue%20%20label%3
...
💬 maflcko commented on pull request "refactor: Enforce readability-avoid-const-params-in-decls":
(https://github.com/bitcoin/bitcoin/pull/31650#discussion_r2020144640)
The goal of this pull is to avoid `const` params in declarations, not to avoid `const` params in definitions.
I can understand the confusion, so I am happy to do any of the following:
* Close this pull
* Just take the first commit and drop the second one
* Add a commit to remove const in definitions as well, though, this at this point we may enter the territory where it isn't worth it to spend review time on this refactor
(https://github.com/bitcoin/bitcoin/pull/31650#discussion_r2020144640)
The goal of this pull is to avoid `const` params in declarations, not to avoid `const` params in definitions.
I can understand the confusion, so I am happy to do any of the following:
* Close this pull
* Just take the first commit and drop the second one
* Add a commit to remove const in definitions as well, though, this at this point we may enter the territory where it isn't worth it to spend review time on this refactor
📝 katesalazar opened a pull request: "doc/descriptors.md: Update next halvening heights"
(https://github.com/bitcoin/bitcoin/pull/32168)
You are welcome to remix these changes in your own way.
(https://github.com/bitcoin/bitcoin/pull/32168)
You are welcome to remix these changes in your own way.
💬 0xNegnin commented on issue "v29.0 Testing":
(https://github.com/bitcoin/bitcoin/issues/32052#issuecomment-2764547856)
I also have upgraded to v29.0rc2 without any issue using the following stack:
- bitcoind
- electrs
- nginx (as reverse proxy for electrs)
- debian12
(https://github.com/bitcoin/bitcoin/issues/32052#issuecomment-2764547856)
I also have upgraded to v29.0rc2 without any issue using the following stack:
- bitcoind
- electrs
- nginx (as reverse proxy for electrs)
- debian12
💬 fjahr commented on pull request "index: Check all necessary block data is available before starting to sync":
(https://github.com/bitcoin/bitcoin/pull/29770#discussion_r2020166642)
That would be nice but I'm not sure how to do it. The one candidate index we have for that is `txindex` but we wholly disable that in the context of pruning because what it is used for is incompatible with pruning.
(https://github.com/bitcoin/bitcoin/pull/29770#discussion_r2020166642)
That would be nice but I'm not sure how to do it. The one candidate index we have for that is `txindex` but we wholly disable that in the context of pruning because what it is used for is incompatible with pruning.
💬 fjahr commented on pull request "index: Check all necessary block data is available before starting to sync":
(https://github.com/bitcoin/bitcoin/pull/29770#issuecomment-2764580300)
I am making one more effort to pick this up see if it can get the necessary support. Upon re-reading our conversation @furszy I have removed the `chain.h` dependency from the indices so that it's a bit closer to what #24230 is planning to do. I looked at it as well to see if there are commits available to pick to add a options object but that didn't seem to be the case and #24230 is also still in draft mode so unsure how valuable it would be if I pick some small piece of code out of it. The code
...
(https://github.com/bitcoin/bitcoin/pull/29770#issuecomment-2764580300)
I am making one more effort to pick this up see if it can get the necessary support. Upon re-reading our conversation @furszy I have removed the `chain.h` dependency from the indices so that it's a bit closer to what #24230 is planning to do. I looked at it as well to see if there are commits available to pick to add a options object but that didn't seem to be the case and #24230 is also still in draft mode so unsure how valuable it would be if I pick some small piece of code out of it. The code
...
💬 l0rinc commented on pull request "Use number of dirty cache entries in flush warnings/logs":
(https://github.com/bitcoin/bitcoin/pull/31703#discussion_r2020168731)
This could also be useful to avoid the needless DB_HEAD_BLOCKS erase and rewrite for empty batches.
(https://github.com/bitcoin/bitcoin/pull/31703#discussion_r2020168731)
This could also be useful to avoid the needless DB_HEAD_BLOCKS erase and rewrite for empty batches.
📝 l0rinc converted_to_draft a pull request: "[IBD] flush UTXOs in bigger batches"
(https://github.com/bitcoin/bitcoin/pull/31645)
This change is part of [[IBD] - Tracking PR for speeding up Initial Block Download](https://github.com/bitcoin/bitcoin/pull/32043)
### Summary
The final UTXO set is [written to disk in batches](https://github.com/bitcoin/bitcoin/blob/master/src/txdb.cpp#L130-L133) to avoid a gigantic spike at flush time.
There is already a [-dbbatchsize](https://github.com/bitcoin/bitcoin/blob/master/src/init.cpp#L490) config option to change this value, this PR adjusts the default only.
By increasing th
...
(https://github.com/bitcoin/bitcoin/pull/31645)
This change is part of [[IBD] - Tracking PR for speeding up Initial Block Download](https://github.com/bitcoin/bitcoin/pull/32043)
### Summary
The final UTXO set is [written to disk in batches](https://github.com/bitcoin/bitcoin/blob/master/src/txdb.cpp#L130-L133) to avoid a gigantic spike at flush time.
There is already a [-dbbatchsize](https://github.com/bitcoin/bitcoin/blob/master/src/init.cpp#L490) config option to change this value, this PR adjusts the default only.
By increasing th
...
💬 hebasto commented on issue "oss-fuzz build fails":
(https://github.com/bitcoin/bitcoin/issues/32167#issuecomment-2764589279)
Reverting https://github.com/bitcoin/bitcoin/pull/31849 fixes the issue.
cc @fanquake
(https://github.com/bitcoin/bitcoin/issues/32167#issuecomment-2764589279)
Reverting https://github.com/bitcoin/bitcoin/pull/31849 fixes the issue.
cc @fanquake
💬 bigspider commented on pull request "OP_CHECKCONTRACTVERIFY":
(https://github.com/bitcoin/bitcoin/pull/32080#issuecomment-2764601895)
I added a workaround to disable the two failing tests from the `script_assets_test`; those tests do indeed assume the `OP_SUCCESS` behaviour of the `0xBB` opcode.
(https://github.com/bitcoin/bitcoin/pull/32080#issuecomment-2764601895)
I added a workaround to disable the two failing tests from the `script_assets_test`; those tests do indeed assume the `OP_SUCCESS` behaviour of the `0xBB` opcode.
💬 l0rinc commented on pull request "[IBD] flush UTXOs in bigger batches":
(https://github.com/bitcoin/bitcoin/pull/31645#issuecomment-2764621216)
I've experimented a bit with changing the fixed write batch size to a dynamic value that scales with dbcache size, basically something like:
```C++
static int64_t GetDefaultDbBatchSize(int64_t dbcache_bytes) {
return std::min<int64_t>(
MAX_DB_CACHE_BATCH, // 512 MiB upper limit
std::max<int64_t>(
MIN_DB_CACHE, // 4 MiB lower limit
dbcache_bytes * DEFAULT_KERNEL_CACHE_BATCH_SIZE / DEFAULT_KERNEL_CACHE
)
);
}
```
Corresponding
...
(https://github.com/bitcoin/bitcoin/pull/31645#issuecomment-2764621216)
I've experimented a bit with changing the fixed write batch size to a dynamic value that scales with dbcache size, basically something like:
```C++
static int64_t GetDefaultDbBatchSize(int64_t dbcache_bytes) {
return std::min<int64_t>(
MAX_DB_CACHE_BATCH, // 512 MiB upper limit
std::max<int64_t>(
MIN_DB_CACHE, // 4 MiB lower limit
dbcache_bytes * DEFAULT_KERNEL_CACHE_BATCH_SIZE / DEFAULT_KERNEL_CACHE
)
);
}
```
Corresponding
...