💬 maflcko commented on pull request "fuzz: Generate with random libFuzzer settings":
(https://github.com/bitcoin/bitcoin/pull/28178#issuecomment-1927243781)
Removed the max_len and mutate_depth randomization, because it seemed too controversial? Removed this from OP:
----
Also, randomize `-max_len=` to possibly get some runs with faster iterations, or to produce smaller reduced fuzz inputs over time.
Also, randomize `-mutate_depth`, as lower values seem to be beneficial as well. [2]
[2] https://github.com/bitcoin/bitcoin/pull/27888#issuecomment-1655477388
This picks up the work started in commit https://www.github.com/bitcoin/bitcoin/
...
(https://github.com/bitcoin/bitcoin/pull/28178#issuecomment-1927243781)
Removed the max_len and mutate_depth randomization, because it seemed too controversial? Removed this from OP:
----
Also, randomize `-max_len=` to possibly get some runs with faster iterations, or to produce smaller reduced fuzz inputs over time.
Also, randomize `-mutate_depth`, as lower values seem to be beneficial as well. [2]
[2] https://github.com/bitcoin/bitcoin/pull/27888#issuecomment-1655477388
This picks up the work started in commit https://www.github.com/bitcoin/bitcoin/
...
🤔 furszy reviewed a pull request: "index: blockfilter initial sync speedup, parallelize process"
(https://github.com/bitcoin/bitcoin/pull/26966#pullrequestreview-1863088709)
Focus is on #28955, which contains a good number of commits decoupled from this PR.
Will come back here after it.
(https://github.com/bitcoin/bitcoin/pull/26966#pullrequestreview-1863088709)
Focus is on #28955, which contains a good number of commits decoupled from this PR.
Will come back here after it.
💬 maflcko commented on pull request "fuzz: Generate with random libFuzzer settings":
(https://github.com/bitcoin/bitcoin/pull/28178#issuecomment-1927247191)
Also, added missing rss limit to avoid OOM
(https://github.com/bitcoin/bitcoin/pull/28178#issuecomment-1927247191)
Also, added missing rss limit to avoid OOM
💬 maflcko commented on pull request "fuzz: Generate with random libFuzzer settings":
(https://github.com/bitcoin/bitcoin/pull/28178#discussion_r1478433023)
Sure, most have done it, but have you done it while *this* script is running? :)
(https://github.com/bitcoin/bitcoin/pull/28178#discussion_r1478433023)
Sure, most have done it, but have you done it while *this* script is running? :)
💬 maflcko commented on pull request "fuzz: Generate with random libFuzzer settings":
(https://github.com/bitcoin/bitcoin/pull/28178#discussion_r1478434665)
I am happy to review a pull request to change from running all targets to run `N` randomly drawn targets. However, I don't need the feature, so I won't be working on this personally.
(https://github.com/bitcoin/bitcoin/pull/28178#discussion_r1478434665)
I am happy to review a pull request to change from running all targets to run `N` randomly drawn targets. However, I don't need the feature, so I won't be working on this personally.
💬 maflcko commented on pull request "fuzz: Generate with random libFuzzer settings":
(https://github.com/bitcoin/bitcoin/pull/28178#discussion_r1478435806)
In any case, the change to max_total_time seems fine, given that https://github.com/bitcoin/bitcoin/pull/28178/files#r1346327126 also does it.
(https://github.com/bitcoin/bitcoin/pull/28178#discussion_r1478435806)
In any case, the change to max_total_time seems fine, given that https://github.com/bitcoin/bitcoin/pull/28178/files#r1346327126 also does it.
💬 maflcko commented on pull request "fuzz: Generate with random libFuzzer settings":
(https://github.com/bitcoin/bitcoin/pull/28178#discussion_r1478436472)
(removed max_len randomization for now)
(https://github.com/bitcoin/bitcoin/pull/28178#discussion_r1478436472)
(removed max_len randomization for now)
💬 maflcko commented on pull request "fuzz: Generate with random libFuzzer settings":
(https://github.com/bitcoin/bitcoin/pull/28178#discussion_r1478438572)
mutate_depth was dropped from this pull, for now
(https://github.com/bitcoin/bitcoin/pull/28178#discussion_r1478438572)
mutate_depth was dropped from this pull, for now
💬 maflcko commented on pull request "fuzz: Generate with random libFuzzer settings":
(https://github.com/bitcoin/bitcoin/pull/28178#issuecomment-1927264262)
cc @dergoegge are you still unconvinced about this? Is there more references or data I can provide?
(https://github.com/bitcoin/bitcoin/pull/28178#issuecomment-1927264262)
cc @dergoegge are you still unconvinced about this? Is there more references or data I can provide?
💬 maflcko commented on pull request "util: check for errors after close and read in AutoFile":
(https://github.com/bitcoin/bitcoin/pull/29307#issuecomment-1927271889)
AutoFile holds a file, which will be nullptr when it is closed. So if the file is nullptr, then it can be assumed to be flushed.
(https://github.com/bitcoin/bitcoin/pull/29307#issuecomment-1927271889)
AutoFile holds a file, which will be nullptr when it is closed. So if the file is nullptr, then it can be assumed to be flushed.
💬 edilmedeiros commented on pull request "test: Add makefile target for running unit tests":
(https://github.com/bitcoin/bitcoin/pull/29377#issuecomment-1927295459)
Tested ACK
`make -C src check-unit` does execute the same unit tests as `make check`.
I tried to include as many things as possible:
```
Options used to compile and link:
external signer = yes
multiprocess = no
with libs = yes
with wallet = yes
with sqlite = yes
with bdb = yes
with gui / qt = yes
with qr = yes
with zmq = yes
with test = yes
with fuzz binary = yes
with bench = yes
with upnp
...
(https://github.com/bitcoin/bitcoin/pull/29377#issuecomment-1927295459)
Tested ACK
`make -C src check-unit` does execute the same unit tests as `make check`.
I tried to include as many things as possible:
```
Options used to compile and link:
external signer = yes
multiprocess = no
with libs = yes
with wallet = yes
with sqlite = yes
with bdb = yes
with gui / qt = yes
with qr = yes
with zmq = yes
with test = yes
with fuzz binary = yes
with bench = yes
with upnp
...
💬 josibake commented on pull request "CKey: add Serialize and Unserialize":
(https://github.com/bitcoin/bitcoin/pull/29295#issuecomment-1927304095)
> > It also seems strange to me that all of this care is being taken to keep the secret data secure in memory when you are reading writing it unencrypted to and from disk.
>
> That's literally what the wallet does by default. `CKey` provides extra security for free, so it's better to use it. The optional wallet encryption feature makes use of this security feature, by ensuring that once a wallet is (re)locked the key data is erased from memory.
https://github.com/bitcoin/bitcoin/blob/maste
...
(https://github.com/bitcoin/bitcoin/pull/29295#issuecomment-1927304095)
> > It also seems strange to me that all of this care is being taken to keep the secret data secure in memory when you are reading writing it unencrypted to and from disk.
>
> That's literally what the wallet does by default. `CKey` provides extra security for free, so it's better to use it. The optional wallet encryption feature makes use of this security feature, by ensuring that once a wallet is (re)locked the key data is erased from memory.
https://github.com/bitcoin/bitcoin/blob/maste
...
💬 aureleoules commented on pull request "serialization: c++20 endian/byteswap/clz modernization":
(https://github.com/bitcoin/bitcoin/pull/29263#issuecomment-1927311589)
@theuni yeah the `AddrManGetAddr` and `PrevectorDeserializeNontrivial` are known to be flaky. I'll filter them out from the UI while I find a better solution.
Some benchmarks depend on I/O or randomness so it's hard a have consistent results between runs.
You can see ignored benchmarks here in the meantime: https://github.com/corecheck/frontend/blob/master/src/routes/%5Bowner%5D/%5Brepo%5D/pulls/%5Bnumber%5D/Benchmarks.svelte#L334
(https://github.com/bitcoin/bitcoin/pull/29263#issuecomment-1927311589)
@theuni yeah the `AddrManGetAddr` and `PrevectorDeserializeNontrivial` are known to be flaky. I'll filter them out from the UI while I find a better solution.
Some benchmarks depend on I/O or randomness so it's hard a have consistent results between runs.
You can see ignored benchmarks here in the meantime: https://github.com/corecheck/frontend/blob/master/src/routes/%5Bowner%5D/%5Brepo%5D/pulls/%5Bnumber%5D/Benchmarks.svelte#L334
👍 dergoegge approved a pull request: "fuzz: Generate with random libFuzzer settings"
(https://github.com/bitcoin/bitcoin/pull/28178#pullrequestreview-1863171718)
utACK fa3a4102ef0ae06d8930d7a7b567759e2a5b5fde
(https://github.com/bitcoin/bitcoin/pull/28178#pullrequestreview-1863171718)
utACK fa3a4102ef0ae06d8930d7a7b567759e2a5b5fde
💬 Sjors commented on pull request "Stratum v2 Template Provider (take 2)":
(https://github.com/bitcoin/bitcoin/pull/28983#issuecomment-1927349134)
Added to `2024/02/sv2-poll-ellswift`: we now hold on to templates for 10 seconds after a new block arrives, in a case a miner was still working on it. The resulting block still wouldn't get broadcast.
(https://github.com/bitcoin/bitcoin/pull/28983#issuecomment-1927349134)
Added to `2024/02/sv2-poll-ellswift`: we now hold on to templates for 10 seconds after a new block arrives, in a case a miner was still working on it. The resulting block still wouldn't get broadcast.
💬 aureleoules commented on pull request "rpc: Optimize serialization disk space of dumptxoutset":
(https://github.com/bitcoin/bitcoin/pull/26045#issuecomment-1927351585)
Rebased. I had to change the offset again in `feature_assumeutxo.py`.
(https://github.com/bitcoin/bitcoin/pull/26045#issuecomment-1927351585)
Rebased. I had to change the offset again in `feature_assumeutxo.py`.
💬 theuni commented on pull request "serialization: c++20 endian/byteswap/clz modernization":
(https://github.com/bitcoin/bitcoin/pull/29263#issuecomment-1927359849)
@aureleoules Thanks, that's helpful.
(https://github.com/bitcoin/bitcoin/pull/29263#issuecomment-1927359849)
@aureleoules Thanks, that's helpful.
💬 Sjors commented on pull request "CKey: add Serialize and Unserialize":
(https://github.com/bitcoin/bitcoin/pull/29295#issuecomment-1927368536)
> In your case, loss of a passphrase would simply mean regenerating a new key.
There is no passphrase for sv2 keys. It would make running a template provider much too complicated. It could be added an advanced feature later of course.
> 'd be more inclined if this PR was proposing a general refactor
I just need to store a key a disk, I'm not interested in a general refactor.
> You're not blocked on this PR being merged, and it seems we wont need this change if the other PRs don't pro
...
(https://github.com/bitcoin/bitcoin/pull/29295#issuecomment-1927368536)
> In your case, loss of a passphrase would simply mean regenerating a new key.
There is no passphrase for sv2 keys. It would make running a template provider much too complicated. It could be added an advanced feature later of course.
> 'd be more inclined if this PR was proposing a general refactor
I just need to store a key a disk, I'm not interested in a general refactor.
> You're not blocked on this PR being merged, and it seems we wont need this change if the other PRs don't pro
...
💬 glozow commented on pull request "v3 transaction policy for anti-pinning":
(https://github.com/bitcoin/bitcoin/pull/28948#issuecomment-1927418035)
Last push made all the debug strings include txid and wtxid of transactions - @sdaftuar pointed out it's more useful to have both.
(https://github.com/bitcoin/bitcoin/pull/28948#issuecomment-1927418035)
Last push made all the debug strings include txid and wtxid of transactions - @sdaftuar pointed out it's more useful to have both.
💬 vasild commented on pull request "util: check for errors after close and read in AutoFile":
(https://github.com/bitcoin/bitcoin/pull/29307#issuecomment-1927420896)
How/when would the file be closed?
(https://github.com/bitcoin/bitcoin/pull/29307#issuecomment-1927420896)
How/when would the file be closed?