π€ furszy reviewed a pull request: "index: initial sync speedup, parallelize process"
(https://github.com/bitcoin/bitcoin/pull/26966#pullrequestreview-3048467543)
> What is the step to reproduce your result?
1. Sync your node without any index.
2. Restart the node with block filter or txindex enabled and let it run (you could also set `-connect=0` to sync only the index, without running the net/validation threads. Since threads won't be competing for `cs_main`, this will give you a more accurate result).
Youβll see a "[index name] is enabled at height [height]" log entry once it finishes. Then itβs just a matter of subtracting the index startup tim
...
(https://github.com/bitcoin/bitcoin/pull/26966#pullrequestreview-3048467543)
> What is the step to reproduce your result?
1. Sync your node without any index.
2. Restart the node with block filter or txindex enabled and let it run (you could also set `-connect=0` to sync only the index, without running the net/validation threads. Since threads won't be competing for `cs_main`, this will give you a more accurate result).
Youβll see a "[index name] is enabled at height [height]" log entry once it finishes. Then itβs just a matter of subtracting the index startup tim
...
π¬ pinheadmz commented on issue "getbestblockhash is sometimes taking a very long time":
(https://github.com/bitcoin/bitcoin/issues/32733#issuecomment-3109585516)
I am running Bitcoin Core v28.0.0 with `txindex=1` on an RPi 4 with 8 GB RAM and 1 TB USB-SSD and I have no performance issues at all. I also run LND and some other bitcoin monitoring software that makes RPCs every 1 second.
Just for a sanity check, can you ensure that your bitcoin data directory is being written to external SSD and not the MicroSD card?
(https://github.com/bitcoin/bitcoin/issues/32733#issuecomment-3109585516)
I am running Bitcoin Core v28.0.0 with `txindex=1` on an RPi 4 with 8 GB RAM and 1 TB USB-SSD and I have no performance issues at all. I also run LND and some other bitcoin monitoring software that makes RPCs every 1 second.
Just for a sanity check, can you ensure that your bitcoin data directory is being written to external SSD and not the MicroSD card?
π¬ furszy commented on pull request "index: initial sync speedup, parallelize process":
(https://github.com/bitcoin/bitcoin/pull/26966#discussion_r2226285266)
Absolutely
(https://github.com/bitcoin/bitcoin/pull/26966#discussion_r2226285266)
Absolutely
π¬ glozow commented on pull request "p2p: TxOrphanage revamp cleanups":
(https://github.com/bitcoin/bitcoin/pull/32941#discussion_r2226282529)
done
(https://github.com/bitcoin/bitcoin/pull/32941#discussion_r2226282529)
done
π¬ glozow commented on pull request "p2p: TxOrphanage revamp cleanups":
(https://github.com/bitcoin/bitcoin/pull/32941#discussion_r2226282789)
done
(https://github.com/bitcoin/bitcoin/pull/32941#discussion_r2226282789)
done
π¬ glozow commented on pull request "p2p: TxOrphanage revamp cleanups":
(https://github.com/bitcoin/bitcoin/pull/32941#discussion_r2226282376)
Fixed the typos. I didn't mention the `getorphantxs` fields since we haven't mentioned them in release notes before
(https://github.com/bitcoin/bitcoin/pull/32941#discussion_r2226282376)
Fixed the typos. I didn't mention the `getorphantxs` fields since we haven't mentioned them in release notes before
π¬ glozow commented on pull request "p2p: TxOrphanage revamp cleanups":
(https://github.com/bitcoin/bitcoin/pull/32941#discussion_r2226286848)
Added the option again, a warning, and a more explicit recommendation in the release notes.
(https://github.com/bitcoin/bitcoin/pull/32941#discussion_r2226286848)
Added the option again, a warning, and a more explicit recommendation in the release notes.
π¬ glozow commented on pull request "p2p: TxOrphanage revamp cleanups":
(https://github.com/bitcoin/bitcoin/pull/32941#discussion_r2226284019)
Thanks, removed that commit and leaving as is
(https://github.com/bitcoin/bitcoin/pull/32941#discussion_r2226284019)
Thanks, removed that commit and leaving as is
π¬ furszy commented on pull request "index: initial sync speedup, parallelize process":
(https://github.com/bitcoin/bitcoin/pull/26966#discussion_r2226304853)
> In " init: provide thread pool to indexes " [82fa9d2](https://github.com/bitcoin/bitcoin/commit/82fa9d29653b445118fc2d03e2ced520a5d4c7dc)
>
> Define the max and then use it here and in checking the bounds
Since the maximum number of threads for indexes should depend on how many threads Core has at runtime and the number of available processors, I don't think hardcoding it here is the best approach. I agree with adding it on the error side: https://github.com/bitcoin/bitcoin/pull/26966#di
...
(https://github.com/bitcoin/bitcoin/pull/26966#discussion_r2226304853)
> In " init: provide thread pool to indexes " [82fa9d2](https://github.com/bitcoin/bitcoin/commit/82fa9d29653b445118fc2d03e2ced520a5d4c7dc)
>
> Define the max and then use it here and in checking the bounds
Since the maximum number of threads for indexes should depend on how many threads Core has at runtime and the number of available processors, I don't think hardcoding it here is the best approach. I agree with adding it on the error side: https://github.com/bitcoin/bitcoin/pull/26966#di
...
π¬ furszy commented on pull request "index: initial sync speedup, parallelize process":
(https://github.com/bitcoin/bitcoin/pull/26966#discussion_r2226307172)
> In "util: introduce general purpose thread pool" [7d984c3](https://github.com/bitcoin/bitcoin/commit/7d984c3b2dca085ef7f49d21568b06c7b89c7807)
>
> Also verify that no work queue size is 0.
sure. Done.
(https://github.com/bitcoin/bitcoin/pull/26966#discussion_r2226307172)
> In "util: introduce general purpose thread pool" [7d984c3](https://github.com/bitcoin/bitcoin/commit/7d984c3b2dca085ef7f49d21568b06c7b89c7807)
>
> Also verify that no work queue size is 0.
sure. Done.
π¬ pinheadmz commented on pull request "fees: rpc: `estimatesmartfee` now returns a fee rate estimate during low network activity":
(https://github.com/bitcoin/bitcoin/pull/32395#issuecomment-3109644770)
concept ACK -- I think like https://github.com/bitcoin/bitcoin/pull/32528 a little fudge factor against what is "most correct" is worth the tradeoff for a more predictable user experience, especially on test networks
(https://github.com/bitcoin/bitcoin/pull/32395#issuecomment-3109644770)
concept ACK -- I think like https://github.com/bitcoin/bitcoin/pull/32528 a little fudge factor against what is "most correct" is worth the tradeoff for a more predictable user experience, especially on test networks
π¬ furszy commented on pull request "index: initial sync speedup, parallelize process":
(https://github.com/bitcoin/bitcoin/pull/26966#discussion_r2226319906)
Done
(https://github.com/bitcoin/bitcoin/pull/26966#discussion_r2226319906)
Done
π€ glozow reviewed a pull request: "package validation: relax the package-not-child-with-unconfirmed-parents rule"
(https://github.com/bitcoin/bitcoin/pull/31385#pullrequestreview-3048518467)
Thanks @ishaanam! Took all suggestions
(https://github.com/bitcoin/bitcoin/pull/31385#pullrequestreview-3048518467)
Thanks @ishaanam! Took all suggestions
π¬ glozow commented on pull request "package validation: relax the package-not-child-with-unconfirmed-parents rule":
(https://github.com/bitcoin/bitcoin/pull/31385#discussion_r2226318223)
changed them to `parent_relative, child_relative`
(https://github.com/bitcoin/bitcoin/pull/31385#discussion_r2226318223)
changed them to `parent_relative, child_relative`
π¬ glozow commented on pull request "package validation: relax the package-not-child-with-unconfirmed-parents rule":
(https://github.com/bitcoin/bitcoin/pull/31385#discussion_r2226317096)
Good point, added a definition
(https://github.com/bitcoin/bitcoin/pull/31385#discussion_r2226317096)
Good point, added a definition
π¬ glozow commented on pull request "package validation: relax the package-not-child-with-unconfirmed-parents rule":
(https://github.com/bitcoin/bitcoin/pull/31385#discussion_r2226317312)
done
(https://github.com/bitcoin/bitcoin/pull/31385#discussion_r2226317312)
done
π¬ glozow commented on pull request "package validation: relax the package-not-child-with-unconfirmed-parents rule":
(https://github.com/bitcoin/bitcoin/pull/31385#discussion_r2226318676)
done, thanks
(https://github.com/bitcoin/bitcoin/pull/31385#discussion_r2226318676)
done, thanks
π¬ furszy commented on pull request "index: initial sync speedup, parallelize process":
(https://github.com/bitcoin/bitcoin/pull/26966#discussion_r2226322535)
done as suggested
(https://github.com/bitcoin/bitcoin/pull/26966#discussion_r2226322535)
done as suggested
π¬ achow101 commented on pull request "wallet, rpc: add v3 transaction creation and wallet support":
(https://github.com/bitcoin/bitcoin/pull/32896#discussion_r2226356487)
In 2bcdf53a58ee6cd7c70f2afd97a16fce5dcc21c6 "rpc: Support v3 raw transactions creation"
If `createrawtransaction` is going to support setting the version, then `createpsbt`, `walletcreatefundedpsbt`, `send`, and `sendall` need to as well.
(https://github.com/bitcoin/bitcoin/pull/32896#discussion_r2226356487)
In 2bcdf53a58ee6cd7c70f2afd97a16fce5dcc21c6 "rpc: Support v3 raw transactions creation"
If `createrawtransaction` is going to support setting the version, then `createpsbt`, `walletcreatefundedpsbt`, `send`, and `sendall` need to as well.
π¬ achow101 commented on pull request "wallet, rpc: add v3 transaction creation and wallet support":
(https://github.com/bitcoin/bitcoin/pull/32896#discussion_r2226343248)
In 40c6d135f37a1d8dd64cbea3ca30229c2e012fa2 "wallet: throw error at conflicting tx versions in pre-selected inputs"
We want to avoid querying `mapWallet` as much as possible for performance. `txo.GetWalletTx` returns a reference to the `CWalletTx` that can be used here instead of a `mapWallet` lookup.
(https://github.com/bitcoin/bitcoin/pull/32896#discussion_r2226343248)
In 40c6d135f37a1d8dd64cbea3ca30229c2e012fa2 "wallet: throw error at conflicting tx versions in pre-selected inputs"
We want to avoid querying `mapWallet` as much as possible for performance. `txo.GetWalletTx` returns a reference to the `CWalletTx` that can be used here instead of a `mapWallet` lookup.