š¬ achow101 commented on pull request "wallet: cache descriptor ID to avoid repeated descriptor string creation":
(https://github.com/bitcoin/bitcoin/pull/28799#issuecomment-1796284261)
ACK 5e6bc6d830664a5afeb5d5bd7e7b3818a01376b7
(https://github.com/bitcoin/bitcoin/pull/28799#issuecomment-1796284261)
ACK 5e6bc6d830664a5afeb5d5bd7e7b3818a01376b7
š¬ ariard commented on pull request "policy: Enable full-rbf by default":
(https://github.com/bitcoin/bitcoin/pull/28132#issuecomment-1796295871)
Hi @Daniel600
> HI @ariard - has this PR been decided to be merged already? What would the timeline to expect if it will be released with 27.0 or 28.0? (i.e When should we expect 27.0 or 28.0 to released?)
For your clarity and wider transparency, to the best of my understanding, we don't have a decision process among the community about mempool policy changes affecting Bitcoin applications in a wide scale fashion, as `mempoolfullrbf` is I believe one of them. I think the best process we m
...
(https://github.com/bitcoin/bitcoin/pull/28132#issuecomment-1796295871)
Hi @Daniel600
> HI @ariard - has this PR been decided to be merged already? What would the timeline to expect if it will be released with 27.0 or 28.0? (i.e When should we expect 27.0 or 28.0 to released?)
For your clarity and wider transparency, to the best of my understanding, we don't have a decision process among the community about mempool policy changes affecting Bitcoin applications in a wide scale fashion, as `mempoolfullrbf` is I believe one of them. I think the best process we m
...
š¬ fjahr commented on pull request "contrib: Add asmap-tool":
(https://github.com/bitcoin/bitcoin/pull/28793#discussion_r1383924519)
done
(https://github.com/bitcoin/bitcoin/pull/28793#discussion_r1383924519)
done
š¬ achow101 commented on pull request "ArgsManager: support subcommand-specific options":
(https://github.com/bitcoin/bitcoin/pull/28802#discussion_r1383925133)
In 50368d92ff0f878af2d6a70773bdf6a6e29b25bb "ArgsManager: support subcommand specific options"
I found this name to be confusing since the word "subcommand" implies that the option itself is a subcommand (i.e. the same category as `COMMANDS`), rather than it being an option to a command. Would suggest renaming this to something like `COMMAND_OPT`.
(https://github.com/bitcoin/bitcoin/pull/28802#discussion_r1383925133)
In 50368d92ff0f878af2d6a70773bdf6a6e29b25bb "ArgsManager: support subcommand specific options"
I found this name to be confusing since the word "subcommand" implies that the option itself is a subcommand (i.e. the same category as `COMMANDS`), rather than it being an option to a command. Would suggest renaming this to something like `COMMAND_OPT`.
ā
achow101 closed an issue: "test: wallet_miniscript.py fails with thread sanitizer "
(https://github.com/bitcoin/bitcoin/issues/28800)
(https://github.com/bitcoin/bitcoin/issues/28800)
š achow101 merged a pull request: "wallet: cache descriptor ID to avoid repeated descriptor string creation"
(https://github.com/bitcoin/bitcoin/pull/28799)
(https://github.com/bitcoin/bitcoin/pull/28799)
š¬ nerd2ninja commented on pull request "policy: Enable full-rbf by default":
(https://github.com/bitcoin/bitcoin/pull/28132#issuecomment-1796429893)
> This major Bitcoin protocol change will most likely result in services wanting to offer 0-conf to
0-conf is bad design philosophy from the start. Simply running a custom client with a different transaction relay policy or paying miners out of band breaks it. However, a 0-conf design with much better security guarantees has been designed. They're called "MAD transactions" you can read about them here: https://coinexplorers.com/general/mad-transactions-mutual-assured-destruction-transactions-
...
(https://github.com/bitcoin/bitcoin/pull/28132#issuecomment-1796429893)
> This major Bitcoin protocol change will most likely result in services wanting to offer 0-conf to
0-conf is bad design philosophy from the start. Simply running a custom client with a different transaction relay policy or paying miners out of band breaks it. However, a 0-conf design with much better security guarantees has been designed. They're called "MAD transactions" you can read about them here: https://coinexplorers.com/general/mad-transactions-mutual-assured-destruction-transactions-
...
š¬ brunoerg commented on pull request "fuzz: add target for `DescriptorScriptPubKeyMan`":
(https://github.com/bitcoin/bitcoin/pull/28578#issuecomment-1796506821)
> Is there a reason not to cover more of DescriptorScriptPubKeyMan in this PR? e.g. DescriptorScriptPubKeyMan::SignTransaction or DescriptorScriptPubKeyMan::FillPSBT.
Not exactly, perhaps one of them may be very slow, let me test more functions and then I can add them all here, np.
(https://github.com/bitcoin/bitcoin/pull/28578#issuecomment-1796506821)
> Is there a reason not to cover more of DescriptorScriptPubKeyMan in this PR? e.g. DescriptorScriptPubKeyMan::SignTransaction or DescriptorScriptPubKeyMan::FillPSBT.
Not exactly, perhaps one of them may be very slow, let me test more functions and then I can add them all here, np.
š¬ brunoerg commented on pull request "contrib: Add asmap-tool":
(https://github.com/bitcoin/bitcoin/pull/28793#issuecomment-1796514184)
Concept ACK
(https://github.com/bitcoin/bitcoin/pull/28793#issuecomment-1796514184)
Concept ACK
š¬ brunoerg commented on pull request "contrib: Add asmap-tool":
(https://github.com/bitcoin/bitcoin/pull/28793#discussion_r1384011959)
In fde0193e687ad50a01a191e14fb6c052b3534bc1: perhaps using f-strings in all similar cases?
(https://github.com/bitcoin/bitcoin/pull/28793#discussion_r1384011959)
In fde0193e687ad50a01a191e14fb6c052b3534bc1: perhaps using f-strings in all similar cases?
š¬ brunoerg commented on pull request "contrib: Add asmap-tool":
(https://github.com/bitcoin/bitcoin/pull/28793#discussion_r1384016700)
from https://github.com/sipa/asmap/pull/9/
```suggestion
print(
"# %i%s IPv4 addresses changed; %i%s IPv6 addresses changed"
% (
ipv4_changed,
"" if ipv4_changed == 0 else " (2^%.2f)" % math.log2(ipv4_changed),
ipv6_changed,
"" if ipv6_changed == 0 else " (2^%.2f)" % math.log2(ipv6_changed),
)
)
```
(https://github.com/bitcoin/bitcoin/pull/28793#discussion_r1384016700)
from https://github.com/sipa/asmap/pull/9/
```suggestion
print(
"# %i%s IPv4 addresses changed; %i%s IPv6 addresses changed"
% (
ipv4_changed,
"" if ipv4_changed == 0 else " (2^%.2f)" % math.log2(ipv4_changed),
ipv6_changed,
"" if ipv6_changed == 0 else " (2^%.2f)" % math.log2(ipv6_changed),
)
)
```
š¤ murchandamus reviewed a pull request: "validation: return more helpful results for reconsiderable fee failures and skipped transactions"
(https://github.com/bitcoin/bitcoin/pull/28785#pullrequestreview-1716255880)
crACK 0150e860863f95b18448e7b67f5db27017660670 with grain of salt:
Iām pretty new to reviewing mempool code:
- The introduction of an explicit class for `Wtxid` makes sense to me
- The introduction of `TX_RECONSIDERABLE` makes sense to me in the context of transactions being tested in the context of packages where they might be resubmitted with a higher resulting mining score
- It makes sense to me that some mempool acceptance tests would now fail with `TX_RECONSIDERABLE` and the ones th
...
(https://github.com/bitcoin/bitcoin/pull/28785#pullrequestreview-1716255880)
crACK 0150e860863f95b18448e7b67f5db27017660670 with grain of salt:
Iām pretty new to reviewing mempool code:
- The introduction of an explicit class for `Wtxid` makes sense to me
- The introduction of `TX_RECONSIDERABLE` makes sense to me in the context of transactions being tested in the context of packages where they might be resubmitted with a higher resulting mining score
- It makes sense to me that some mempool acceptance tests would now fail with `TX_RECONSIDERABLE` and the ones th
...
š¬ murchandamus commented on pull request "validation: return more helpful results for reconsiderable fee failures and skipped transactions":
(https://github.com/bitcoin/bitcoin/pull/28785#discussion_r1384000302)
After the name change, perhaps:
```suggestion
const bool is_reconsiderable{res.m_state.GetResult() == TxValidationResult::TX_RECONSIDERABLE};
```
(https://github.com/bitcoin/bitcoin/pull/28785#discussion_r1384000302)
After the name change, perhaps:
```suggestion
const bool is_reconsiderable{res.m_state.GetResult() == TxValidationResult::TX_RECONSIDERABLE};
```
š¬ murchandamus commented on pull request "validation: return more helpful results for reconsiderable fee failures and skipped transactions":
(https://github.com/bitcoin/bitcoin/pull/28785#discussion_r1384005669)
Perhaps:
```suggestion
const bool valid_or_reconsiderable{atmp_result.m_result_type == MempoolAcceptResult::ResultType::VALID ||
```
(https://github.com/bitcoin/bitcoin/pull/28785#discussion_r1384005669)
Perhaps:
```suggestion
const bool valid_or_reconsiderable{atmp_result.m_result_type == MempoolAcceptResult::ResultType::VALID ||
```
š¬ brunoerg commented on pull request "contrib: Add asmap-tool":
(https://github.com/bitcoin/bitcoin/pull/28793#discussion_r1384023104)
In fde0193e687ad50a01a191e14fb6c052b3534bc1: Is there any case of `state` not being `None` for any `load_file` usage?
(https://github.com/bitcoin/bitcoin/pull/28793#discussion_r1384023104)
In fde0193e687ad50a01a191e14fb6c052b3534bc1: Is there any case of `state` not being `None` for any `load_file` usage?
š¬ ismaelsadeeq commented on pull request "validation: return more helpful results for reconsiderable fee failures and skipped transactions":
(https://github.com/bitcoin/bitcoin/pull/28785#discussion_r1384025601)
PR description also needs to be updated to `TX_RECONSIDERABLE`
(https://github.com/bitcoin/bitcoin/pull/28785#discussion_r1384025601)
PR description also needs to be updated to `TX_RECONSIDERABLE`
š¬ achow101 commented on pull request "wallet: track mempool conflicts with wallet transactions":
(https://github.com/bitcoin/bitcoin/pull/27307#discussion_r1383974021)
In 003efbbe45079c4416810a025b2bc372559dff15 "test: Add tests for wallet mempool conflicts"
nit: When doing separate test cases like this, we should also use different wallets to prevent state from one test cases from effecting another. So this should be making its own wallets once again.
(https://github.com/bitcoin/bitcoin/pull/27307#discussion_r1383974021)
In 003efbbe45079c4416810a025b2bc372559dff15 "test: Add tests for wallet mempool conflicts"
nit: When doing separate test cases like this, we should also use different wallets to prevent state from one test cases from effecting another. So this should be making its own wallets once again.
š¬ achow101 commented on pull request "wallet: track mempool conflicts with wallet transactions":
(https://github.com/bitcoin/bitcoin/pull/27307#discussion_r1384017154)
In 28a7e883c2f9249213fddbe24948ec5bb90b0fad "wallet: track mempool conflicts"
It's not clear to me that this change has any effect.
(https://github.com/bitcoin/bitcoin/pull/27307#discussion_r1384017154)
In 28a7e883c2f9249213fddbe24948ec5bb90b0fad "wallet: track mempool conflicts"
It's not clear to me that this change has any effect.
š¬ achow101 commented on pull request "wallet: track mempool conflicts with wallet transactions":
(https://github.com/bitcoin/bitcoin/pull/27307#discussion_r1384032166)
In 003efbbe45079c4416810a025b2bc372559dff15 "test: Add tests for wallet mempool conflicts"
It would be useful to have a comment that explains that 11 blocks are mined so that when they are invalidated, `tx2_conflict` does not get put back into the mempool.
(https://github.com/bitcoin/bitcoin/pull/27307#discussion_r1384032166)
In 003efbbe45079c4416810a025b2bc372559dff15 "test: Add tests for wallet mempool conflicts"
It would be useful to have a comment that explains that 11 blocks are mined so that when they are invalidated, `tx2_conflict` does not get put back into the mempool.
š¬ achow101 commented on pull request "wallet: track mempool conflicts with wallet transactions":
(https://github.com/bitcoin/bitcoin/pull/27307#discussion_r1383975379)
In 003efbbe45079c4416810a025b2bc372559dff15 "test: Add tests for wallet mempool conflicts"
nit: No need to make another wallet for the receiver, just use the default wallet.
(https://github.com/bitcoin/bitcoin/pull/27307#discussion_r1383975379)
In 003efbbe45079c4416810a025b2bc372559dff15 "test: Add tests for wallet mempool conflicts"
nit: No need to make another wallet for the receiver, just use the default wallet.