💬 achow101 commented on pull request "wallet: Remove IsMine from migration code":
(https://github.com/bitcoin/bitcoin/pull/30328#discussion_r1844651416)
Output script level.
(https://github.com/bitcoin/bitcoin/pull/30328#discussion_r1844651416)
Output script level.
💬 achow101 commented on pull request "wallet: Remove IsMine from migration code":
(https://github.com/bitcoin/bitcoin/pull/30328#discussion_r1844652679)
It's basically just casting types.
`sols[0]` contains a vector of bytes which represents the hash of a pubkey. This is cast to the `uint160` type, which is then cast to the `CKeyID` type (which is really just a wrapper around `uint160`) which is the type that `GetPubKey` can take. There is no direct conversion from `std::vector<>` to `CKeyID` hence the `uint160` in between.
It doesn't make sense to pull this apart since the intermediate types are never used.
(https://github.com/bitcoin/bitcoin/pull/30328#discussion_r1844652679)
It's basically just casting types.
`sols[0]` contains a vector of bytes which represents the hash of a pubkey. This is cast to the `uint160` type, which is then cast to the `CKeyID` type (which is really just a wrapper around `uint160`) which is the type that `GetPubKey` can take. There is no direct conversion from `std::vector<>` to `CKeyID` hence the `uint160` in between.
It doesn't make sense to pull this apart since the intermediate types are never used.
💬 achow101 commented on pull request "wallet: Remove IsMine from migration code":
(https://github.com/bitcoin/bitcoin/pull/30328#discussion_r1844723731)
It is possible that the solver could be rewritten to pull out all of the components of scripts into structs with proper typing and member names, but that is a much larger refactor that is out of scope for this PR.
(https://github.com/bitcoin/bitcoin/pull/30328#discussion_r1844723731)
It is possible that the solver could be rewritten to pull out all of the components of scripts into structs with proper typing and member names, but that is a much larger refactor that is out of scope for this PR.
💬 achow101 commented on pull request "wallet: Remove IsMine from migration code":
(https://github.com/bitcoin/bitcoin/pull/30328#discussion_r1844850200)
Done
(https://github.com/bitcoin/bitcoin/pull/30328#discussion_r1844850200)
Done
💬 achow101 commented on pull request "wallet: Remove IsMine from migration code":
(https://github.com/bitcoin/bitcoin/pull/30328#discussion_r1844850300)
I've added a comment.
(https://github.com/bitcoin/bitcoin/pull/30328#discussion_r1844850300)
I've added a comment.
💬 achow101 commented on pull request "wallet: Remove IsMine from migration code":
(https://github.com/bitcoin/bitcoin/pull/30328#discussion_r1844850356)
I've added additional tests to `wallet_migration.py`.
(https://github.com/bitcoin/bitcoin/pull/30328#discussion_r1844850356)
I've added additional tests to `wallet_migration.py`.
💬 achow101 commented on pull request "wallet: Remove IsMine from migration code":
(https://github.com/bitcoin/bitcoin/pull/30328#discussion_r1844851400)
This comment has been reworded
(https://github.com/bitcoin/bitcoin/pull/30328#discussion_r1844851400)
This comment has been reworded
💬 achow101 commented on pull request "wallet: Remove IsMine from migration code":
(https://github.com/bitcoin/bitcoin/pull/30328#discussion_r1844851480)
I've added some additional comments.
(https://github.com/bitcoin/bitcoin/pull/30328#discussion_r1844851480)
I've added some additional comments.
💬 achow101 commented on pull request "wallet: Remove IsMine from migration code":
(https://github.com/bitcoin/bitcoin/pull/30328#discussion_r1844851563)
I've reworded this comment.
(https://github.com/bitcoin/bitcoin/pull/30328#discussion_r1844851563)
I've reworded this comment.
💬 achow101 commented on pull request "wallet: Remove IsMine from migration code":
(https://github.com/bitcoin/bitcoin/pull/30328#discussion_r1844851603)
Added a comment
(https://github.com/bitcoin/bitcoin/pull/30328#discussion_r1844851603)
Added a comment
💬 achow101 commented on pull request "wallet: Remove IsMine from migration code":
(https://github.com/bitcoin/bitcoin/pull/30328#discussion_r1844851636)
Reworded the comment.
(https://github.com/bitcoin/bitcoin/pull/30328#discussion_r1844851636)
Reworded the comment.
💬 achow101 commented on pull request "wallet: Remove IsMine from migration code":
(https://github.com/bitcoin/bitcoin/pull/30328#discussion_r1844851676)
Added a comment
(https://github.com/bitcoin/bitcoin/pull/30328#discussion_r1844851676)
Added a comment
💬 achow101 commented on pull request "wallet: Remove IsMine from migration code":
(https://github.com/bitcoin/bitcoin/pull/30328#discussion_r1844851698)
Done
(https://github.com/bitcoin/bitcoin/pull/30328#discussion_r1844851698)
Done
💬 achow101 commented on pull request "wallet: Remove IsMine from migration code":
(https://github.com/bitcoin/bitcoin/pull/30328#discussion_r1844851723)
Reworded the comment.
(https://github.com/bitcoin/bitcoin/pull/30328#discussion_r1844851723)
Reworded the comment.
💬 achow101 commented on pull request "wallet: Remove IsMine from migration code":
(https://github.com/bitcoin/bitcoin/pull/30328#discussion_r1844851735)
Reworded the comment.
(https://github.com/bitcoin/bitcoin/pull/30328#discussion_r1844851735)
Reworded the comment.
💬 achow101 commented on pull request "wallet: Remove IsMine from migration code":
(https://github.com/bitcoin/bitcoin/pull/30328#issuecomment-2480325630)
> There is a bug in the second loop. Before adding the P2WSH program to the spks set, it is necessary to verify that the underlying witness script does not contain any uncompressed keys, as these are prohibited under segwit rules.
I've added a test to `wallet_migration.py` so that it will persist once legacy wallets are removed.
(https://github.com/bitcoin/bitcoin/pull/30328#issuecomment-2480325630)
> There is a bug in the second loop. Before adding the P2WSH program to the spks set, it is necessary to verify that the underlying witness script does not contain any uncompressed keys, as these are prohibited under segwit rules.
I've added a test to `wallet_migration.py` so that it will persist once legacy wallets are removed.
💬 JeremyRand commented on issue "guix: Linux and macOS builds are not cross-arch reproducible with powerpc64le build arch":
(https://github.com/bitcoin/bitcoin/issues/31207#issuecomment-2480341752)
> > I would be happy to upload my binaries
>
> Yes, please do. i'm happy to try to help find the difference but i don't have access to a ppc64 system.
I've uploaded my non-debug binaries here:
https://ynqrnzvuotdgvqj2g73f5tyj4rcvwutdemu23jgadawihbkc3lxkbwid.onion/bitcoin-core/28.0-guix-binaries-built-on-powerpc64le/
If the debug variants would be helpful, I don't mind uploading them too. I don't have any plans to delete these files or decommission this server, but it's personal hobby
...
(https://github.com/bitcoin/bitcoin/issues/31207#issuecomment-2480341752)
> > I would be happy to upload my binaries
>
> Yes, please do. i'm happy to try to help find the difference but i don't have access to a ppc64 system.
I've uploaded my non-debug binaries here:
https://ynqrnzvuotdgvqj2g73f5tyj4rcvwutdemu23jgadawihbkc3lxkbwid.onion/bitcoin-core/28.0-guix-binaries-built-on-powerpc64le/
If the debug variants would be helpful, I don't mind uploading them too. I don't have any plans to delete these files or decommission this server, but it's personal hobby
...
💬 rkrux commented on pull request "test: enable running independent functional test sub-tests":
(https://github.com/bitcoin/bitcoin/pull/30991#discussion_r1844883670)
I meant removing only "or other methods".
(https://github.com/bitcoin/bitcoin/pull/30991#discussion_r1844883670)
I meant removing only "or other methods".
💬 Maxzy000 commented on issue "Tracepoint Interface Tracking Issue":
(https://github.com/bitcoin/bitcoin/issues/31274#issuecomment-2480348740)
Let me guide you on this
(https://github.com/bitcoin/bitcoin/issues/31274#issuecomment-2480348740)
Let me guide you on this
💬 andrewtoth commented on pull request "validation: fetch block inputs on parallel threads ~17% faster IBD":
(https://github.com/bitcoin/bitcoin/pull/31132#issuecomment-2480372333)
Even with just 2 worker threads, there is significant (~30%) speed improvement for syncing recent blocks.
https://bitcoin-dev-tools.github.io/benchcoin/results/pr-19/11865650166/index.html
(https://github.com/bitcoin/bitcoin/pull/31132#issuecomment-2480372333)
Even with just 2 worker threads, there is significant (~30%) speed improvement for syncing recent blocks.
https://bitcoin-dev-tools.github.io/benchcoin/results/pr-19/11865650166/index.html