💬 willcl-ark commented on pull request "Convert ArgsManager::GetDataDir to a read-only function":
(https://github.com/bitcoin/bitcoin/pull/27073#discussion_r1109015893)
The reason is that we do not test relative `-conf=` arguments [here](https://github.com/bitcoin/bitcoin/blob/73966f75f67fb797163f0a766292a79d4b2c1b70/test/functional/feature_config_args.py#L287), even though we pass a realtive conf argument in.
This means that we are only testing the `os.path.join` sum of default `DataDir` and the relative arg.
(https://github.com/bitcoin/bitcoin/pull/27073#discussion_r1109015893)
The reason is that we do not test relative `-conf=` arguments [here](https://github.com/bitcoin/bitcoin/blob/73966f75f67fb797163f0a766292a79d4b2c1b70/test/functional/feature_config_args.py#L287), even though we pass a realtive conf argument in.
This means that we are only testing the `os.path.join` sum of default `DataDir` and the relative arg.
💬 john-moffett commented on pull request "script: add description for the functionality of each opcode":
(https://github.com/bitcoin/bitcoin/pull/27109#discussion_r1109011531)
We should probably be consistent in describing how Script deals with true/false, since it's later described as `if top stack value != 0`. Maybe add a section along the lines of:
```
/**
* Opcodes that take a true/false value will evaluate the following as false:
* an empty vector
* a vector (of any length) of all zero bytes
* a single byte of "\x80" ('negative zero')
* a vector (of any length) of all zero bytes except the last byte is "\x80"
*
* Any other value wil
...
(https://github.com/bitcoin/bitcoin/pull/27109#discussion_r1109011531)
We should probably be consistent in describing how Script deals with true/false, since it's later described as `if top stack value != 0`. Maybe add a section along the lines of:
```
/**
* Opcodes that take a true/false value will evaluate the following as false:
* an empty vector
* a vector (of any length) of all zero bytes
* a single byte of "\x80" ('negative zero')
* a vector (of any length) of all zero bytes except the last byte is "\x80"
*
* Any other value wil
...
💬 willcl-ark commented on issue "Setting `onlynet=onion` still makes some IPv4 connections.":
(https://github.com/bitcoin/bitcoin/issues/12344#issuecomment-1433731288)
@Willtech I see from your User Agent you are using v0.20.1 (now outside of maintainance I think too FYI), are you able to try with v24.0.1 to see if the problem still occurs?
(https://github.com/bitcoin/bitcoin/issues/12344#issuecomment-1433731288)
@Willtech I see from your User Agent you are using v0.20.1 (now outside of maintainance I think too FYI), are you able to try with v24.0.1 to see if the problem still occurs?
👍 brunoerg approved a pull request: "net: remove orphaned CSubNet::SanityCheck()"
(https://github.com/bitcoin/bitcoin/pull/27106)
crACK 30a3230e86dfd49c771432be6219841df5066eb4
(https://github.com/bitcoin/bitcoin/pull/27106)
crACK 30a3230e86dfd49c771432be6219841df5066eb4
💬 Xekyo commented on pull request "Implement Mini version of BlockAssembler to calculate mining scores":
(https://github.com/bitcoin/bitcoin/pull/27021#issuecomment-1433738562)
Awesome, thanks for the reworking this, @glozow, and the work on the fuzzer, @dergoegge. I've fixed a minor `tidy` issue and I’ll pick the chain interface changes into #26152 and rebase on this shortly.
Ready for review
(https://github.com/bitcoin/bitcoin/pull/27021#issuecomment-1433738562)
Awesome, thanks for the reworking this, @glozow, and the work on the fuzzer, @dergoegge. I've fixed a minor `tidy` issue and I’ll pick the chain interface changes into #26152 and rebase on this shortly.
Ready for review
👋 Xekyo's pull request is ready for review: "Implement Mini version of BlockAssembler to calculate mining scores"
(https://github.com/bitcoin/bitcoin/pull/27021)
(https://github.com/bitcoin/bitcoin/pull/27021)
💬 1440000bytes commented on issue "Setting `onlynet=onion` still makes some IPv4 connections.":
(https://github.com/bitcoin/bitcoin/issues/12344#issuecomment-1433784979)
> @Willtech I see from your User Agent you are using v0.20.1 (now outside of maintainance I think too FYI), are you able to try with v24.0.1 to see if the problem still occurs?
its user agent of one of the peer
(https://github.com/bitcoin/bitcoin/issues/12344#issuecomment-1433784979)
> @Willtech I see from your User Agent you are using v0.20.1 (now outside of maintainance I think too FYI), are you able to try with v24.0.1 to see if the problem still occurs?
its user agent of one of the peer
💬 Xekyo commented on pull request "Implement Mini version of BlockAssembler to calculate mining scores":
(https://github.com/bitcoin/bitcoin/pull/27021#issuecomment-1433798783)
Pushed again to provide signed commits
(https://github.com/bitcoin/bitcoin/pull/27021#issuecomment-1433798783)
Pushed again to provide signed commits
💬 mzumsande commented on pull request "validation: Improve error handling when VerifyDB dosn't finish successfully":
(https://github.com/bitcoin/bitcoin/pull/25574#discussion_r1109097868)
done
(https://github.com/bitcoin/bitcoin/pull/25574#discussion_r1109097868)
done
💬 mzumsande commented on pull request "validation: Improve error handling when VerifyDB dosn't finish successfully":
(https://github.com/bitcoin/bitcoin/pull/25574#discussion_r1109098979)
That would break the existing API though - there might be users out there who'd need to adjust automated scripts if -`verifychain` returned a more complicated JSON object instead of a bool.
I think I'd ACK a pull that does that, but would prefer not to include it here unless people really want it.
(https://github.com/bitcoin/bitcoin/pull/25574#discussion_r1109098979)
That would break the existing API though - there might be users out there who'd need to adjust automated scripts if -`verifychain` returned a more complicated JSON object instead of a bool.
I think I'd ACK a pull that does that, but would prefer not to include it here unless people really want it.
💬 mzumsande commented on pull request "validation: Improve error handling when VerifyDB dosn't finish successfully":
(https://github.com/bitcoin/bitcoin/pull/25574#discussion_r1109099170)
fixed, though my local clang-format didn't complain before.
(https://github.com/bitcoin/bitcoin/pull/25574#discussion_r1109099170)
fixed, though my local clang-format didn't complain before.
💬 mzumsande commented on pull request "validation: Improve error handling when VerifyDB dosn't finish successfully":
(https://github.com/bitcoin/bitcoin/pull/25574#discussion_r1109099295)
done
(https://github.com/bitcoin/bitcoin/pull/25574#discussion_r1109099295)
done
💬 mzumsande commented on pull request "validation: Improve error handling when VerifyDB dosn't finish successfully":
(https://github.com/bitcoin/bitcoin/pull/25574#discussion_r1109101200)
Done - decided to use an if instead of ternary because `skipped_no_block_data` is treated similarly.
I decided to give `skipped_l3_checks` precedence - so if in addition to this, `skipped_no_block_data` is also true, we'd report `VerifyDBResult::SKIPPED_L3_CHECKS`.
(https://github.com/bitcoin/bitcoin/pull/25574#discussion_r1109101200)
Done - decided to use an if instead of ternary because `skipped_no_block_data` is treated similarly.
I decided to give `skipped_l3_checks` precedence - so if in addition to this, `skipped_no_block_data` is also true, we'd report `VerifyDBResult::SKIPPED_L3_CHECKS`.
💬 mzumsande commented on pull request "validation: Improve error handling when VerifyDB dosn't finish successfully":
(https://github.com/bitcoin/bitcoin/pull/25574#discussion_r1109101932)
done, using the latter suggestion.
(https://github.com/bitcoin/bitcoin/pull/25574#discussion_r1109101932)
done, using the latter suggestion.
💬 mzumsande commented on pull request "validation: Improve error handling when VerifyDB dosn't finish successfully":
(https://github.com/bitcoin/bitcoin/pull/25574#discussion_r1109103203)
changed to use same setting as in `AppInitMain`.
(https://github.com/bitcoin/bitcoin/pull/25574#discussion_r1109103203)
changed to use same setting as in `AppInitMain`.
💬 mzumsande commented on pull request "validation: Improve error handling when VerifyDB dosn't finish successfully":
(https://github.com/bitcoin/bitcoin/pull/25574#discussion_r1109104170)
Good point! I added a commit to do this and adjusted the release notes (since this also changes the behavior of the `-verifydb` RPC)
(https://github.com/bitcoin/bitcoin/pull/25574#discussion_r1109104170)
Good point! I added a commit to do this and adjusted the release notes (since this also changes the behavior of the `-verifydb` RPC)
💬 mzumsande commented on pull request "validation: Improve error handling when VerifyDB dosn't finish successfully":
(https://github.com/bitcoin/bitcoin/pull/25574#discussion_r1109110569)
changed to `ChainstateLoadOptions::fail_on_insufficient_dbcache`
I don't understand the comment. It's not an option the user can set, it's determined by `-checkblocks` and `-checklevel`. So if a user wants to run with an extremely low dbcache, they should change those parameters (or just use the default so that init will only warn).
(https://github.com/bitcoin/bitcoin/pull/25574#discussion_r1109110569)
changed to `ChainstateLoadOptions::fail_on_insufficient_dbcache`
I don't understand the comment. It's not an option the user can set, it's determined by `-checkblocks` and `-checklevel`. So if a user wants to run with an extremely low dbcache, they should change those parameters (or just use the default so that init will only warn).
💬 mzumsande commented on pull request "validation: Improve error handling when VerifyDB dosn't finish successfully":
(https://github.com/bitcoin/bitcoin/pull/25574#issuecomment-1433870960)
[42b192f ](https://github.com/bitcoin/bitcoin/commit/42b192f0cbf9c04da111145c921344b0881b3ce3)to [0af16e7](https://github.com/bitcoin/bitcoin/commit/0af16e7134459e0820ab95d751093876c1ec4c6d):
Addressed comments by @MarcoFalke and @ryanofsky, thanks for the reviews!
Also changed title and adjusted OP since this is no longer just about `-dbcache`-related error handling.
(https://github.com/bitcoin/bitcoin/pull/25574#issuecomment-1433870960)
[42b192f ](https://github.com/bitcoin/bitcoin/commit/42b192f0cbf9c04da111145c921344b0881b3ce3)to [0af16e7](https://github.com/bitcoin/bitcoin/commit/0af16e7134459e0820ab95d751093876c1ec4c6d):
Addressed comments by @MarcoFalke and @ryanofsky, thanks for the reviews!
Also changed title and adjusted OP since this is no longer just about `-dbcache`-related error handling.
💬 Hyunhum commented on pull request "script: add description for the functionality of each opcode":
(https://github.com/bitcoin/bitcoin/pull/27109#issuecomment-1434020186)
clang-format applied and description for evaluating false added!
(https://github.com/bitcoin/bitcoin/pull/27109#issuecomment-1434020186)
clang-format applied and description for evaluating false added!
👍 WM7586 approved a pull request: "script: add description for the functionality of each opcode"
(https://github.com/bitcoin/bitcoin/pull/27109)
(https://github.com/bitcoin/bitcoin/pull/27109)