💬 aiswaryasankar commented on pull request "i2p: make a time gap between creating transient sessions and using them":
(https://github.com/bitcoin/bitcoin/pull/32065#discussion_r1997486623)
The `AddI2PSessionsIfNeeded` function is declared with `EXCLUSIVE_LOCKS_REQUIRED(!m_unused_i2p_sessions_mutex)`, which is incorrect. It should require the lock, not the absence of it.
(https://github.com/bitcoin/bitcoin/pull/32065#discussion_r1997486623)
The `AddI2PSessionsIfNeeded` function is declared with `EXCLUSIVE_LOCKS_REQUIRED(!m_unused_i2p_sessions_mutex)`, which is incorrect. It should require the lock, not the absence of it.
💬 aiswaryasankar commented on pull request "i2p: make a time gap between creating transient sessions and using them":
(https://github.com/bitcoin/bitcoin/pull/32065#discussion_r1997488140)
The function `AddI2PSessionsIfNeeded` is called without checking if `m_i2p_sam_session` is null, which can lead to unnecessary session creation and potential resource leaks.
(https://github.com/bitcoin/bitcoin/pull/32065#discussion_r1997488140)
The function `AddI2PSessionsIfNeeded` is called without checking if `m_i2p_sam_session` is null, which can lead to unnecessary session creation and potential resource leaks.
💬 aiswaryasankar commented on pull request "i2p: make a time gap between creating transient sessions and using them":
(https://github.com/bitcoin/bitcoin/pull/32065#discussion_r1997488147)
The `AddI2PSessionsIfNeeded` function is declared with `EXCLUSIVE_LOCKS_REQUIRED(!m_unused_i2p_sessions_mutex)`, which is incorrect. The `!` negation implies that the lock should not be held, but the function likely needs the lock to safely modify `m_unused_i2p_sessions`.
(https://github.com/bitcoin/bitcoin/pull/32065#discussion_r1997488147)
The `AddI2PSessionsIfNeeded` function is declared with `EXCLUSIVE_LOCKS_REQUIRED(!m_unused_i2p_sessions_mutex)`, which is incorrect. The `!` negation implies that the lock should not be held, but the function likely needs the lock to safely modify `m_unused_i2p_sessions`.
📝 ajtowns converted_to_draft a pull request: "ArgsManager: support subcommand-specific options"
(https://github.com/bitcoin/bitcoin/pull/28802)
Adds the ability to link particular options to one or more subcommands, and uses this feature in `bitcoin-wallet`. Separates out the help information for subcommand-specific options (duplicating it if an option applies to multiple subcommands), and provides a function for checking if some options have been specified that only apply to different subcommands.
(https://github.com/bitcoin/bitcoin/pull/28802)
Adds the ability to link particular options to one or more subcommands, and uses this feature in `bitcoin-wallet`. Separates out the help information for subcommand-specific options (duplicating it if an option applies to multiple subcommands), and provides a function for checking if some options have been specified that only apply to different subcommands.
💬 ajtowns commented on pull request "ArgsManager: support subcommand-specific options":
(https://github.com/bitcoin/bitcoin/pull/28802#issuecomment-2727215147)
Leaving as draft pending #31250
(https://github.com/bitcoin/bitcoin/pull/28802#issuecomment-2727215147)
Leaving as draft pending #31250
💬 Eunovo commented on pull request "[EXPERIMENTAL] Schnorr batch verification for blocks":
(https://github.com/bitcoin/bitcoin/pull/29491#discussion_r1997499892)
https://github.com/bitcoin/bitcoin/pull/29491/commits/d333d5c6e3c4b454621998772ff74ff6656af691: This is nice! sets us up nicely to later do batch taptweak checking since we can "collect" it too.
(https://github.com/bitcoin/bitcoin/pull/29491#discussion_r1997499892)
https://github.com/bitcoin/bitcoin/pull/29491/commits/d333d5c6e3c4b454621998772ff74ff6656af691: This is nice! sets us up nicely to later do batch taptweak checking since we can "collect" it too.
🤔 Prabhat1308 reviewed a pull request: "test: Check datadir cleanup after assumeutxo was successful"
(https://github.com/bitcoin/bitcoin/pull/32033#pullrequestreview-2688530616)
tACK [`0d10f1a`](https://github.com/bitcoin/bitcoin/pull/32033/commits/0d10f1a66436cd2ddab6b04247bcd6c4747cccc3)
(https://github.com/bitcoin/bitcoin/pull/32033#pullrequestreview-2688530616)
tACK [`0d10f1a`](https://github.com/bitcoin/bitcoin/pull/32033/commits/0d10f1a66436cd2ddab6b04247bcd6c4747cccc3)
🚀 fanquake merged a pull request: "test: Use rpc_deprecated only for testing deprecation"
(https://github.com/bitcoin/bitcoin/pull/31977)
(https://github.com/bitcoin/bitcoin/pull/31977)
🚀 fanquake merged a pull request: "fuzz: provide more realistic values to the base58(check) decoders"
(https://github.com/bitcoin/bitcoin/pull/31917)
(https://github.com/bitcoin/bitcoin/pull/31917)
🚀 fanquake merged a pull request: "test: Rename send_message to send_without_ping"
(https://github.com/bitcoin/bitcoin/pull/31859)
(https://github.com/bitcoin/bitcoin/pull/31859)
✅ fanquake closed an issue: "depends: capnp build ignores config_opts"
(https://github.com/bitcoin/bitcoin/issues/32068)
(https://github.com/bitcoin/bitcoin/issues/32068)
🚀 fanquake merged a pull request: "build: use make < 3.82 syntax for define directive"
(https://github.com/bitcoin/bitcoin/pull/32070)
(https://github.com/bitcoin/bitcoin/pull/32070)
💬 polespinasa commented on pull request "wallet, rpc: deprecate settxfee and paytxfee":
(https://github.com/bitcoin/bitcoin/pull/31278#issuecomment-2727317686)
Code rebased to avoid conflicts with https://github.com/bitcoin/bitcoin/pull/31977
(https://github.com/bitcoin/bitcoin/pull/31278#issuecomment-2727317686)
Code rebased to avoid conflicts with https://github.com/bitcoin/bitcoin/pull/31977
💬 janb84 commented on pull request "test: Update coverage.cpp to drop linux restriction":
(https://github.com/bitcoin/bitcoin/pull/32059#discussion_r1997560882)
Ah thanks! Have changed the commit message accordingly.
(https://github.com/bitcoin/bitcoin/pull/32059#discussion_r1997560882)
Ah thanks! Have changed the commit message accordingly.
💬 janb84 commented on pull request "test: Update coverage.cpp to drop linux restriction":
(https://github.com/bitcoin/bitcoin/pull/32059#discussion_r1997563469)
I have made the fallback functions `weak` to make the code more robust, it will build without it but it highly depends on linker implementation differences (E.g. if a linker builder makes different choices it will break). Making the fallback weak is just removing the ambiguity from the equation. Resulting in more robust code.
Removing the `weak` attribute from the declarations will result again being at the mercy of the linker.
Strong declarations expect strong definitions. If profiling is
...
(https://github.com/bitcoin/bitcoin/pull/32059#discussion_r1997563469)
I have made the fallback functions `weak` to make the code more robust, it will build without it but it highly depends on linker implementation differences (E.g. if a linker builder makes different choices it will break). Making the fallback weak is just removing the ambiguity from the equation. Resulting in more robust code.
Removing the `weak` attribute from the declarations will result again being at the mercy of the linker.
Strong declarations expect strong definitions. If profiling is
...
💬 maflcko commented on pull request "test: fix intermittent failure in p2p_orphan_handling.py":
(https://github.com/bitcoin/bitcoin/pull/32063#issuecomment-2727341862)
lgtm ACK 02942056fd861581503a8a35a06dcf22d4ba1473
(https://github.com/bitcoin/bitcoin/pull/32063#issuecomment-2727341862)
lgtm ACK 02942056fd861581503a8a35a06dcf22d4ba1473
💬 fjahr commented on pull request "wallet, rpc: deprecate settxfee and paytxfee":
(https://github.com/bitcoin/bitcoin/pull/31278#issuecomment-2727342830)
re-ACK 2f2ab47bf74f4da37aad75a186cb0bb16e8af579
(https://github.com/bitcoin/bitcoin/pull/31278#issuecomment-2727342830)
re-ACK 2f2ab47bf74f4da37aad75a186cb0bb16e8af579
💬 instagibbs commented on pull request "test: fix intermittent failure in p2p_orphan_handling.py":
(https://github.com/bitcoin/bitcoin/pull/32063#issuecomment-2727344887)
ACK https://github.com/bitcoin/bitcoin/pull/32063/commits/02942056fd861581503a8a35a06dcf22d4ba1473
(https://github.com/bitcoin/bitcoin/pull/32063#issuecomment-2727344887)
ACK https://github.com/bitcoin/bitcoin/pull/32063/commits/02942056fd861581503a8a35a06dcf22d4ba1473
💬 maflcko commented on pull request "test: Update coverage.cpp to drop linux restriction":
(https://github.com/bitcoin/bitcoin/pull/32059#issuecomment-2727364835)
review-only ACK 54e6eacc1fccd602897d9e3025c62f83194ffd5b
(https://github.com/bitcoin/bitcoin/pull/32059#issuecomment-2727364835)
review-only ACK 54e6eacc1fccd602897d9e3025c62f83194ffd5b
💬 Prabhat1308 commented on pull request "doc: Update documentation to include Clang/llvm based coverage report generation":
(https://github.com/bitcoin/bitcoin/pull/31933#issuecomment-2727372085)
Addressed the comments to fix nits. On the use of `-DEBUG` , I haven't been able to do a comparison from lcov generated reports as I don't have any other system . Since `-02` introduces optimisation , I have chosen to keep the `-DEBUG` flag to use `-00` as mentioned here to keep it close to gcov reports.
https://stackoverflow.com/questions/36930207/code-coverage-with-optimization
> it seems if I want to collect coverage information with tools like gcov, any optimization flag must be disabled
(https://github.com/bitcoin/bitcoin/pull/31933#issuecomment-2727372085)
Addressed the comments to fix nits. On the use of `-DEBUG` , I haven't been able to do a comparison from lcov generated reports as I don't have any other system . Since `-02` introduces optimisation , I have chosen to keep the `-DEBUG` flag to use `-00` as mentioned here to keep it close to gcov reports.
https://stackoverflow.com/questions/36930207/code-coverage-with-optimization
> it seems if I want to collect coverage information with tools like gcov, any optimization flag must be disabled