💬 ismaelsadeeq commented on pull request "Fees: add Fee rate Forecaster Manager":
(https://github.com/bitcoin/bitcoin/pull/31664#discussion_r2142250207)
Nice Idea, this lead me to think about doing
```cpp
const int32_t p95_weight = 0.95 * total_weight;
int32_t total_package_size = std::accumulate(
package_feerates.begin(),
package_feerates.end(),
0,
[](int32_t sum, const FeeFrac& f) {
return sum + f.size;
}
);
// Return empty percentiles if the total packages weight is less than the the 95th percentile weight.
if (total_package_size < p95_weight) return Percentil
...
(https://github.com/bitcoin/bitcoin/pull/31664#discussion_r2142250207)
Nice Idea, this lead me to think about doing
```cpp
const int32_t p95_weight = 0.95 * total_weight;
int32_t total_package_size = std::accumulate(
package_feerates.begin(),
package_feerates.end(),
0,
[](int32_t sum, const FeeFrac& f) {
return sum + f.size;
}
);
// Return empty percentiles if the total packages weight is less than the the 95th percentile weight.
if (total_package_size < p95_weight) return Percentil
...
💬 ismaelsadeeq commented on pull request "Fees: add Fee rate Forecaster Manager":
(https://github.com/bitcoin/bitcoin/pull/31664#discussion_r2142219150)
I think it it correct we also use it to decide which percentile fee rate to return to user in mempool forecaster.
50th or 75th percentile fee rate.
The main idea is that conservative fee rate is for users who are willing to pay a bit higher to increase likelihood of confirmation; because they don't want to fee bump.
Since all packages can be fee bumped now (due to full rbf).
I rephrased this to
"If true, returns a higher fee rate for greater confirmation probability." let me know h
...
(https://github.com/bitcoin/bitcoin/pull/31664#discussion_r2142219150)
I think it it correct we also use it to decide which percentile fee rate to return to user in mempool forecaster.
50th or 75th percentile fee rate.
The main idea is that conservative fee rate is for users who are willing to pay a bit higher to increase likelihood of confirmation; because they don't want to fee bump.
Since all packages can be fee bumped now (due to full rbf).
I rephrased this to
"If true, returns a higher fee rate for greater confirmation probability." let me know h
...
💬 ismaelsadeeq commented on pull request "Fees: add Fee rate Forecaster Manager":
(https://github.com/bitcoin/bitcoin/pull/31664#discussion_r2142268856)
I think [doc guideline](https://github.com/bitcoin/bitcoin/blob/master/doc/developer-notes.md#coding-style-c) say camel case, so I switched to that.
(https://github.com/bitcoin/bitcoin/pull/31664#discussion_r2142268856)
I think [doc guideline](https://github.com/bitcoin/bitcoin/blob/master/doc/developer-notes.md#coding-style-c) say camel case, so I switched to that.
💬 ismaelsadeeq commented on pull request "Fees: add Fee rate Forecaster Manager":
(https://github.com/bitcoin/bitcoin/pull/31664#discussion_r2142269615)
done
(https://github.com/bitcoin/bitcoin/pull/31664#discussion_r2142269615)
done
💬 ismaelsadeeq commented on pull request "Fees: add Fee rate Forecaster Manager":
(https://github.com/bitcoin/bitcoin/pull/31664#discussion_r2142269814)
Taken
(https://github.com/bitcoin/bitcoin/pull/31664#discussion_r2142269814)
Taken
💬 ismaelsadeeq commented on pull request "Fees: add Fee rate Forecaster Manager":
(https://github.com/bitcoin/bitcoin/pull/31664#discussion_r2142270436)
Nice catch, fixed.
(https://github.com/bitcoin/bitcoin/pull/31664#discussion_r2142270436)
Nice catch, fixed.
💬 willcl-ark commented on pull request "Fees: add Fee rate Forecaster Manager":
(https://github.com/bitcoin/bitcoin/pull/31664#discussion_r2142273192)
Ok that makes sense to me
(https://github.com/bitcoin/bitcoin/pull/31664#discussion_r2142273192)
Ok that makes sense to me
💬 ismaelsadeeq commented on pull request "Fees: add Fee rate Forecaster Manager":
(https://github.com/bitcoin/bitcoin/pull/31664#discussion_r2142274723)
The defaults round down I think, not sure if there is any potential difference by rounding up.
So will leave as is.
(https://github.com/bitcoin/bitcoin/pull/31664#discussion_r2142274723)
The defaults round down I think, not sure if there is any potential difference by rounding up.
So will leave as is.
👍 rkrux approved a pull request: "wallet: Fix wallet interface detection of encrypted wallets"
(https://github.com/bitcoin/bitcoin/pull/32620#pullrequestreview-2920415710)
utACK 130a922980778b293b22169d5e5649afde3ba33b
In #31250, the check was added for `require_format` to be equal to `BERKELEY_RO`, which occurs only in migration, so for encrypted legacy wallets to be migrated from the GUI this format fallback is required. The migration flow from the RPC accepts the passphrase argument for encrypted wallets, and this `isEncrypted` function is not called from there.
(https://github.com/bitcoin/bitcoin/pull/32620#pullrequestreview-2920415710)
utACK 130a922980778b293b22169d5e5649afde3ba33b
In #31250, the check was added for `require_format` to be equal to `BERKELEY_RO`, which occurs only in migration, so for encrypted legacy wallets to be migrated from the GUI this format fallback is required. The migration flow from the RPC accepts the passphrase argument for encrypted wallets, and this `isEncrypted` function is not called from there.
💬 rkrux commented on pull request "wallet: Fix wallet interface detection of encrypted wallets":
(https://github.com/bitcoin/bitcoin/pull/32620#discussion_r2142270773)
While adding this `BERKELEY_RO` database format fallback in this seemingly generic `isEncrypted` function looks unsafe, it is fine because the only usage of this function lies in the wallet migration functionality in the GUI. The `FAILED_LEGACY_DISABLED` error from `MakeDatabase` also enforces the flow towards wallet migration.
Using the `require_format = DatabaseFormat::BERKELEY_RO` checks seems like an indirect way of validating the migration flow though when the `MakeWalletDatabase` funct
...
(https://github.com/bitcoin/bitcoin/pull/32620#discussion_r2142270773)
While adding this `BERKELEY_RO` database format fallback in this seemingly generic `isEncrypted` function looks unsafe, it is fine because the only usage of this function lies in the wallet migration functionality in the GUI. The `FAILED_LEGACY_DISABLED` error from `MakeDatabase` also enforces the flow towards wallet migration.
Using the `require_format = DatabaseFormat::BERKELEY_RO` checks seems like an indirect way of validating the migration flow though when the `MakeWalletDatabase` funct
...
💬 TheCharlatan commented on pull request "kernel: Separate UTXO set access from validation functions":
(https://github.com/bitcoin/bitcoin/pull/32317#issuecomment-2966042888)
Rebased df0eb65bd98f300618cccd667720f1ccc6145865 -> 969799291d34da706b43209ba1209038ec349424 ([spendblock_5](https://github.com/TheCharlatan/bitcoin/tree/spendblock_5) -> [spendblock_6](https://github.com/TheCharlatan/bitcoin/tree/spendblock_6), [compare](https://github.com/TheCharlatan/bitcoin/compare/spendblock_5..spendblock_6))
* Fixed conflict with #32673
* Fixed conflict with #32421
(https://github.com/bitcoin/bitcoin/pull/32317#issuecomment-2966042888)
Rebased df0eb65bd98f300618cccd667720f1ccc6145865 -> 969799291d34da706b43209ba1209038ec349424 ([spendblock_5](https://github.com/TheCharlatan/bitcoin/tree/spendblock_5) -> [spendblock_6](https://github.com/TheCharlatan/bitcoin/tree/spendblock_6), [compare](https://github.com/TheCharlatan/bitcoin/compare/spendblock_5..spendblock_6))
* Fixed conflict with #32673
* Fixed conflict with #32421
💬 PeterWrighten commented on pull request "wallet: Allow read-only database access for info and dump commands":
(https://github.com/bitcoin/bitcoin/pull/32685#discussion_r2142290203)
You mean we should throw an exception before get a return from `sqlite3_exec` ?
(https://github.com/bitcoin/bitcoin/pull/32685#discussion_r2142290203)
You mean we should throw an exception before get a return from `sqlite3_exec` ?
💬 ismaelsadeeq commented on pull request "Fees: add Fee rate Forecaster Manager":
(https://github.com/bitcoin/bitcoin/pull/31664#discussion_r2142292007)
I don't think users should configure this. It should be determined by the forecaster, based on the potential increment of the top block in the mempool.
Previously, I researched how long it takes for a transaction to finish propagating through the network. @sr-gi responded with an estimate of approximately 7 seconds:
https://bitcoin.stackexchange.com/questions/125776/how-long-does-it-take-for-a-transaction-to-propagate-through-the-network.
I thought I had updated this accordingly, but
...
(https://github.com/bitcoin/bitcoin/pull/31664#discussion_r2142292007)
I don't think users should configure this. It should be determined by the forecaster, based on the potential increment of the top block in the mempool.
Previously, I researched how long it takes for a transaction to finish propagating through the network. @sr-gi responded with an estimate of approximately 7 seconds:
https://bitcoin.stackexchange.com/questions/125776/how-long-does-it-take-for-a-transaction-to-propagate-through-the-network.
I thought I had updated this accordingly, but
...
💬 ismaelsadeeq commented on pull request "Fees: add Fee rate Forecaster Manager":
(https://github.com/bitcoin/bitcoin/pull/31664#discussion_r2142292170)
Done
(https://github.com/bitcoin/bitcoin/pull/31664#discussion_r2142292170)
Done
💬 ismaelsadeeq commented on pull request "Fees: add Fee rate Forecaster Manager":
(https://github.com/bitcoin/bitcoin/pull/31664#discussion_r2142297543)
Not sure whether that a good idea for ASAP-mempool Forecaster.
But can good if you want something like https://github.com/FelixWeis/WhatTheFee--legacy
So far I've not experimented with whatTheFee yet to determine its correctness.
(https://github.com/bitcoin/bitcoin/pull/31664#discussion_r2142297543)
Not sure whether that a good idea for ASAP-mempool Forecaster.
But can good if you want something like https://github.com/FelixWeis/WhatTheFee--legacy
So far I've not experimented with whatTheFee yet to determine its correctness.
💬 ismaelsadeeq commented on pull request "Fees: add Fee rate Forecaster Manager":
(https://github.com/bitcoin/bitcoin/pull/31664#issuecomment-2966076465)
> This looks pretty complete now, nice work.
Thanks 👍🏾
> Slightly sad it's not wired up to the rpc for so I could do some live testing, but the unit tests confirm the expected behaviour.
Please do it is implemented in the complete PR https://github.com/bitcoin/bitcoin/pull/30157, the RPC changes is next to review If we manage to get this in.
> Left a few comments about possibly allowing some of the mempool-based fee estimator constants to be altered at startup, as I suspect those
...
(https://github.com/bitcoin/bitcoin/pull/31664#issuecomment-2966076465)
> This looks pretty complete now, nice work.
Thanks 👍🏾
> Slightly sad it's not wired up to the rpc for so I could do some live testing, but the unit tests confirm the expected behaviour.
Please do it is implemented in the complete PR https://github.com/bitcoin/bitcoin/pull/30157, the RPC changes is next to review If we manage to get this in.
> Left a few comments about possibly allowing some of the mempool-based fee estimator constants to be altered at startup, as I suspect those
...
💬 josibake commented on pull request "depends: fix cmake compatibility error for freetype":
(https://github.com/bitcoin/bitcoin/pull/32693#issuecomment-2966079989)
Updated to add a patch per @hebasto 's [suggestion](https://github.com/bitcoin/bitcoin/pull/32693#discussion_r2140453692).
(https://github.com/bitcoin/bitcoin/pull/32693#issuecomment-2966079989)
Updated to add a patch per @hebasto 's [suggestion](https://github.com/bitcoin/bitcoin/pull/32693#discussion_r2140453692).
💬 fanquake commented on pull request "Add bitcoin-{node,gui} to release binaries for IPC":
(https://github.com/bitcoin/bitcoin/pull/31802#discussion_r2142312348)
```suggestion
- `NO_IPC`: Don't build Cap’n Proto and libmultiprocess packages
```
I don't think we need to list binaries, it's another list to sync, and we don't do it for other options (i.e bitcoin-wallet) and `NO_WALLET`.
(https://github.com/bitcoin/bitcoin/pull/31802#discussion_r2142312348)
```suggestion
- `NO_IPC`: Don't build Cap’n Proto and libmultiprocess packages
```
I don't think we need to list binaries, it's another list to sync, and we don't do it for other options (i.e bitcoin-wallet) and `NO_WALLET`.
💬 fanquake commented on pull request "Add bitcoin-{node,gui} to release binaries for IPC":
(https://github.com/bitcoin/bitcoin/pull/31802#discussion_r2142312539)
Unrelated CI formatting changes, in a `cmake:` commit?
(https://github.com/bitcoin/bitcoin/pull/31802#discussion_r2142312539)
Unrelated CI formatting changes, in a `cmake:` commit?
💬 Sjors commented on pull request "deps: Bump lief to 0.16.6":
(https://github.com/bitcoin/bitcoin/pull/32431#issuecomment-2966089437)
Unfortunately this introduced a dependency on `/gnu/store/hmd1s3jd77jxnc084pdb4i6i1qrxacx9-go-1.17.13.drv` which fails to build on guix for those (some??) who don't use substitutes (not just aarch64) due to an invalid certificate in its test: https://lists.gnu.org/archive/html/bug-guix/2025-01/msg00288.html
(https://github.com/bitcoin/bitcoin/pull/32431#issuecomment-2966089437)
Unfortunately this introduced a dependency on `/gnu/store/hmd1s3jd77jxnc084pdb4i6i1qrxacx9-go-1.17.13.drv` which fails to build on guix for those (some??) who don't use substitutes (not just aarch64) due to an invalid certificate in its test: https://lists.gnu.org/archive/html/bug-guix/2025-01/msg00288.html
💬 pinheadmz commented on pull request "policy: uncap datacarrier by default":
(https://github.com/bitcoin/bitcoin/pull/32406#issuecomment-2966094663)
> Completely misses the fact that this PR lowers the barrier to entry for such garbage infinitely, but again, that doesn't seem to matter to anyone here along with any of the other adverse issues causes by this PR.
gmaxwell made a great point earlier in this thread, which has been repeated in [Antoine's post](https://delvingbitcoin.org/t/addressing-community-concerns-and-objections-regarding-my-recent-proposal-to-relax-bitcoin-cores-standardness-limits-on-op-return-outputs/1697) that the entr
...
(https://github.com/bitcoin/bitcoin/pull/32406#issuecomment-2966094663)
> Completely misses the fact that this PR lowers the barrier to entry for such garbage infinitely, but again, that doesn't seem to matter to anyone here along with any of the other adverse issues causes by this PR.
gmaxwell made a great point earlier in this thread, which has been repeated in [Antoine's post](https://delvingbitcoin.org/t/addressing-community-concerns-and-objections-regarding-my-recent-proposal-to-relax-bitcoin-cores-standardness-limits-on-op-return-outputs/1697) that the entr
...