π¬ l0rinc commented on pull request "feefrac: add support for evaluating at given size":
(https://github.com/bitcoin/bitcoin/pull/30535#discussion_r1949745452)
It seems to me that `std::floor` and `std::ceil` already have overloads for `long double`, which we could use instead to appease the CI gods:
> feefrac.cpp:144:44: error: βfloorlβ is not a member of βstdβ; did you mean βfloorβ?
(https://github.com/bitcoin/bitcoin/pull/30535#discussion_r1949745452)
It seems to me that `std::floor` and `std::ceil` already have overloads for `long double`, which we could use instead to appease the CI gods:
> feefrac.cpp:144:44: error: βfloorlβ is not a member of βstdβ; did you mean βfloorβ?
π¬ pseudoramdom commented on pull request "multiprocess: Add capnp wrapper for Chain interface":
(https://github.com/bitcoin/bitcoin/pull/29409#issuecomment-2649015969)
Hi @ryanofsky! I'm new to this and I'm looking to test the feature on macOS. Couple of questions -
1. Can I use the branch as is or would I need to rebase on `master` since I see some related changes like #31740, #31552 landed on `master`.
2. Do I need to install `libmultiprocess` from source or is `MULTIPROCESS=1` needed? I see some related work in #31741 . Would I benefit from that?
I tried building on this branch rebased on `master` and I got the following errors while building.
...
(https://github.com/bitcoin/bitcoin/pull/29409#issuecomment-2649015969)
Hi @ryanofsky! I'm new to this and I'm looking to test the feature on macOS. Couple of questions -
1. Can I use the branch as is or would I need to rebase on `master` since I see some related changes like #31740, #31552 landed on `master`.
2. Do I need to install `libmultiprocess` from source or is `MULTIPROCESS=1` needed? I see some related work in #31741 . Would I benefit from that?
I tried building on this branch rebased on `master` and I got the following errors while building.
...
π l0rinc approved a pull request: "feefrac: add support for evaluating at given size"
(https://github.com/bitcoin/bitcoin/pull/30535#pullrequestreview-2606987771)
ACK cf00540f54302e37f8af08f15fce16cbcab0f8c9
Added approximately floating point comparisons to fuzz tests and removed the lingering `[[maybe_unused]]` in `feefrac_tests.cpp`
(https://github.com/bitcoin/bitcoin/pull/30535#pullrequestreview-2606987771)
ACK cf00540f54302e37f8af08f15fce16cbcab0f8c9
Added approximately floating point comparisons to fuzz tests and removed the lingering `[[maybe_unused]]` in `feefrac_tests.cpp`
π¬ l0rinc commented on pull request "feefrac: add support for evaluating at given size":
(https://github.com/bitcoin/bitcoin/pull/30535#discussion_r1949777887)
I was wondering if we could measure [ULP tolerance](https://randomascii.wordpress.com/2012/02/25/comparing-floating-point-numbers-2012-edition) here instead to better control the step sizes - or if that would be too much effort in this context.
(https://github.com/bitcoin/bitcoin/pull/30535#discussion_r1949777887)
I was wondering if we could measure [ULP tolerance](https://randomascii.wordpress.com/2012/02/25/comparing-floating-point-numbers-2012-edition) here instead to better control the step sizes - or if that would be too much effort in this context.
π¬ ryanofsky commented on pull request "multiprocess: Add capnp wrapper for Chain interface":
(https://github.com/bitcoin/bitcoin/pull/29409#issuecomment-2649091209)
re: https://github.com/bitcoin/bitcoin/pull/29409#issuecomment-2649015969
> Can I use the branch as is or would I need to rebase on `master`
Hi @pseudoramdom, definitely it should be easiest to just check out this branch and use it as is. The errors that you are seeing with the branch rebased happen due to https://github.com/chaincodelabs/libmultiprocess/pull/135, and require some code changes here to be compatible. I should be able to update this branch in the next day or two in case you
...
(https://github.com/bitcoin/bitcoin/pull/29409#issuecomment-2649091209)
re: https://github.com/bitcoin/bitcoin/pull/29409#issuecomment-2649015969
> Can I use the branch as is or would I need to rebase on `master`
Hi @pseudoramdom, definitely it should be easiest to just check out this branch and use it as is. The errors that you are seeing with the branch rebased happen due to https://github.com/chaincodelabs/libmultiprocess/pull/135, and require some code changes here to be compatible. I should be able to update this branch in the next day or two in case you
...
π¬ sipa commented on pull request "feefrac: add support for evaluating at given size":
(https://github.com/bitcoin/bitcoin/pull/30535#discussion_r1949791787)
Honestly, I think the code I included here already is more complicated than what I think was worth writing. But it's just test code, and it's already written, and it works.
Its added value is adding confidence for anyone looking at the test who has difficulty following, the exact `arith_uint256`-based test code, or otherwise doubts its correctness. The exact precision used here won't make much difference I think - it should just be enough so someone can a single glance say "ok, if this test d
...
(https://github.com/bitcoin/bitcoin/pull/30535#discussion_r1949791787)
Honestly, I think the code I included here already is more complicated than what I think was worth writing. But it's just test code, and it's already written, and it works.
Its added value is adding confidence for anyone looking at the test who has difficulty following, the exact `arith_uint256`-based test code, or otherwise doubts its correctness. The exact precision used here won't make much difference I think - it should just be enough so someone can a single glance say "ok, if this test d
...
π¬ achow101 commented on pull request "Implement BIP 370 PSBTv2":
(https://github.com/bitcoin/bitcoin/pull/21283#discussion_r1949798690)
Done
(https://github.com/bitcoin/bitcoin/pull/21283#discussion_r1949798690)
Done
π¬ achow101 commented on pull request "Implement BIP 370 PSBTv2":
(https://github.com/bitcoin/bitcoin/pull/21283#discussion_r1949798769)
Done
(https://github.com/bitcoin/bitcoin/pull/21283#discussion_r1949798769)
Done
π¬ achow101 commented on pull request "Implement BIP 370 PSBTv2":
(https://github.com/bitcoin/bitcoin/pull/21283#discussion_r1949799165)
Done
(https://github.com/bitcoin/bitcoin/pull/21283#discussion_r1949799165)
Done
π¬ achow101 commented on pull request "Implement BIP 370 PSBTv2":
(https://github.com/bitcoin/bitcoin/pull/21283#discussion_r1949799382)
Done
(https://github.com/bitcoin/bitcoin/pull/21283#discussion_r1949799382)
Done
π¬ achow101 commented on pull request "Implement BIP 370 PSBTv2":
(https://github.com/bitcoin/bitcoin/pull/21283#discussion_r1949799552)
Done
(https://github.com/bitcoin/bitcoin/pull/21283#discussion_r1949799552)
Done
π¬ achow101 commented on pull request "Implement BIP 370 PSBTv2":
(https://github.com/bitcoin/bitcoin/pull/21283#discussion_r1949799654)
Done
(https://github.com/bitcoin/bitcoin/pull/21283#discussion_r1949799654)
Done
π¬ achow101 commented on pull request "Implement BIP 370 PSBTv2":
(https://github.com/bitcoin/bitcoin/pull/21283#discussion_r1949799739)
Done
(https://github.com/bitcoin/bitcoin/pull/21283#discussion_r1949799739)
Done
π¬ achow101 commented on pull request "Implement BIP 370 PSBTv2":
(https://github.com/bitcoin/bitcoin/pull/21283#discussion_r1949799852)
Done
(https://github.com/bitcoin/bitcoin/pull/21283#discussion_r1949799852)
Done
π¬ achow101 commented on pull request "Implement BIP 370 PSBTv2":
(https://github.com/bitcoin/bitcoin/pull/21283#discussion_r1949799938)
Done
(https://github.com/bitcoin/bitcoin/pull/21283#discussion_r1949799938)
Done
π¬ achow101 commented on pull request "Implement BIP 370 PSBTv2":
(https://github.com/bitcoin/bitcoin/pull/21283#discussion_r1949800043)
Done
(https://github.com/bitcoin/bitcoin/pull/21283#discussion_r1949800043)
Done
π¬ achow101 commented on pull request "wallet: Automatically repair corrupted metadata with doubled derivation path":
(https://github.com/bitcoin/bitcoin/pull/29124#discussion_r1949801025)
Added a constant.
(https://github.com/bitcoin/bitcoin/pull/29124#discussion_r1949801025)
Added a constant.
π¬ achow101 commented on pull request "wallet: Automatically repair corrupted metadata with doubled derivation path":
(https://github.com/bitcoin/bitcoin/pull/29124#discussion_r1949801147)
Done
(https://github.com/bitcoin/bitcoin/pull/29124#discussion_r1949801147)
Done
π¬ achow101 commented on pull request "wallet: Automatically repair corrupted metadata with doubled derivation path":
(https://github.com/bitcoin/bitcoin/pull/29124#discussion_r1949801345)
Done
(https://github.com/bitcoin/bitcoin/pull/29124#discussion_r1949801345)
Done
π¬ sipa commented on pull request "feefrac: add support for evaluating at given size":
(https://github.com/bitcoin/bitcoin/pull/30535#discussion_r1949807125)
Fixed.
(https://github.com/bitcoin/bitcoin/pull/30535#discussion_r1949807125)
Fixed.