π¬ kristapsk commented on pull request "ci: move ASan job to GitHub Actions from Cirrus CI":
(https://github.com/bitcoin/bitcoin/pull/30193#issuecomment-2163464919)
Concept ACK
(https://github.com/bitcoin/bitcoin/pull/30193#issuecomment-2163464919)
Concept ACK
π¬ pinheadmz commented on issue "Add bitcoind and bitcoin-cli to macOS release":
(https://github.com/bitcoin/bitcoin/issues/30262#issuecomment-2163493017)
@achow101 binaries like bitcoind can be signed, even detached signs: https://github.com/bitcoin/bitcoin/issues/29749#issuecomment-2096273770
(https://github.com/bitcoin/bitcoin/issues/30262#issuecomment-2163493017)
@achow101 binaries like bitcoind can be signed, even detached signs: https://github.com/bitcoin/bitcoin/issues/29749#issuecomment-2096273770
π fanquake merged a pull request: "fuzz: add I2P harness"
(https://github.com/bitcoin/bitcoin/pull/30230)
(https://github.com/bitcoin/bitcoin/pull/30230)
β
fanquake closed an issue: "fuzz: Re-introduce i2p target"
(https://github.com/bitcoin/bitcoin/issues/28803)
(https://github.com/bitcoin/bitcoin/issues/28803)
π dergoegge approved a pull request: "fuzz: Use std::span in FuzzBufferType"
(https://github.com/bitcoin/bitcoin/pull/30229#pullrequestreview-2113616582)
utACK faa41e29d5b90e62179d651f4010272dae685621
(https://github.com/bitcoin/bitcoin/pull/30229#pullrequestreview-2113616582)
utACK faa41e29d5b90e62179d651f4010272dae685621
π¬ murchandamus commented on pull request "Testnet4 including PoW difficulty adjustment fix":
(https://github.com/bitcoin/bitcoin/pull/29775#issuecomment-2163533907)
> Why do you think this issue has never happened on Testnet3? Someone can run up the difficulty there today like you describe and leave on the last block of a difficulty adjustment period, the chain would stall the same as with the code here.
Do blocks mined with the exception count towards the total work according to difficulty-1 or the actual difficulty? If itβs the latter, in testnet3 you could just invalidate the last block in the previous difficulty period with a difficulty-1 block. If i
...
(https://github.com/bitcoin/bitcoin/pull/29775#issuecomment-2163533907)
> Why do you think this issue has never happened on Testnet3? Someone can run up the difficulty there today like you describe and leave on the last block of a difficulty adjustment period, the chain would stall the same as with the code here.
Do blocks mined with the exception count towards the total work according to difficulty-1 or the actual difficulty? If itβs the latter, in testnet3 you could just invalidate the last block in the previous difficulty period with a difficulty-1 block. If i
...
π fanquake merged a pull request: "fuzz: Use std::span in FuzzBufferType"
(https://github.com/bitcoin/bitcoin/pull/30229)
(https://github.com/bitcoin/bitcoin/pull/30229)
π sr-gi opened a pull request: "[DO NOT MERGE] Erlay: bandwidth-efficient transaction relay protocol (Full implementation)"
(https://github.com/bitcoin/bitcoin/pull/30277)
Erlay Project Tracking: https://github.com/bitcoin/bitcoin/issues/30249
---
This is a full implementation of Erlay. Its purpose is to check the integrity and correctness of the implementation against changes/additions that may originate from the review process and/or rebases on top of newer functionality.
This is not to be merged. Functionality will be spread across multiple smaller PRs to ease the review process.
(https://github.com/bitcoin/bitcoin/pull/30277)
Erlay Project Tracking: https://github.com/bitcoin/bitcoin/issues/30249
---
This is a full implementation of Erlay. Its purpose is to check the integrity and correctness of the implementation against changes/additions that may originate from the review process and/or rebases on top of newer functionality.
This is not to be merged. Functionality will be spread across multiple smaller PRs to ease the review process.
π sr-gi converted_to_draft a pull request: "[DO NOT MERGE] Erlay: bandwidth-efficient transaction relay protocol (Full implementation)"
(https://github.com/bitcoin/bitcoin/pull/30277)
Erlay Project Tracking: https://github.com/bitcoin/bitcoin/issues/30249
---
This is a full implementation of Erlay. Its purpose is to check the integrity and correctness of the implementation against changes/additions that may originate from the review process and/or rebases on top of newer functionality.
This is not to be merged. Functionality will be spread across multiple smaller PRs to ease the review process.
(https://github.com/bitcoin/bitcoin/pull/30277)
Erlay Project Tracking: https://github.com/bitcoin/bitcoin/issues/30249
---
This is a full implementation of Erlay. Its purpose is to check the integrity and correctness of the implementation against changes/additions that may originate from the review process and/or rebases on top of newer functionality.
This is not to be merged. Functionality will be spread across multiple smaller PRs to ease the review process.
π¬ m3dwards commented on issue "RPC wont bind without an IP address on a non-localhost interface":
(https://github.com/bitcoin/bitcoin/issues/13155#issuecomment-2163548438)
I believe this is the same issue as in https://github.com/bitcoin/bitcoin/pull/30245 but in libevent.
If you pass `::1` to `getaddrinfo` when configured with `AI_ADDRCONFIG` it will check that there is a non loopback IPV6 interface configured. This was to prevent IPV6 DNS lookups on IPV4 only machines which could be slow.
Please see https://github.com/bitcoin/bitcoin/pull/30245 for a more full write up and some references.
As I understand it, there are efforts to replace libevent so rat
...
(https://github.com/bitcoin/bitcoin/issues/13155#issuecomment-2163548438)
I believe this is the same issue as in https://github.com/bitcoin/bitcoin/pull/30245 but in libevent.
If you pass `::1` to `getaddrinfo` when configured with `AI_ADDRCONFIG` it will check that there is a non loopback IPV6 interface configured. This was to prevent IPV6 DNS lookups on IPV4 only machines which could be slow.
Please see https://github.com/bitcoin/bitcoin/pull/30245 for a more full write up and some references.
As I understand it, there are efforts to replace libevent so rat
...
π¬ theuni commented on issue "Won't compile with miniupnpc 2.2.8":
(https://github.com/bitcoin/bitcoin/issues/30266#issuecomment-2163549076)
Looks like we need to update for https://github.com/miniupnp/miniupnp/commit/c0a50ce33e3b99ce8a96fd43049bb5b53ffac62f I'll have a look at this tomorrow.
(https://github.com/bitcoin/bitcoin/issues/30266#issuecomment-2163549076)
Looks like we need to update for https://github.com/miniupnp/miniupnp/commit/c0a50ce33e3b99ce8a96fd43049bb5b53ffac62f I'll have a look at this tomorrow.
π¬ m3dwards commented on pull request "ci: parse TEST_RUNNER_EXTRA into an array":
(https://github.com/bitcoin/bitcoin/pull/30244#issuecomment-2163577539)
Updated `test_runner.py` so that:
`--exclude "rpc_bind.py --IPV6` will only exclude that variant.
`--exclude rpc_bind.py` will exclude all variants
Green test run with `TEST_RUNNER_EXTRA: --exclude "rpc_bind.py --ipv6, feature_proxy.py"`: https://github.com/m3dwards/bitcoin/actions/runs/9485948819/job/26139127116. Note that `rpc_bind.py --ipv4` and `rpc_bind.py --nonloopback` were both run but `rpc_bind.py --ipv6` and `feature_proxy.py` did not run.
Spaces between test names now also
...
(https://github.com/bitcoin/bitcoin/pull/30244#issuecomment-2163577539)
Updated `test_runner.py` so that:
`--exclude "rpc_bind.py --IPV6` will only exclude that variant.
`--exclude rpc_bind.py` will exclude all variants
Green test run with `TEST_RUNNER_EXTRA: --exclude "rpc_bind.py --ipv6, feature_proxy.py"`: https://github.com/m3dwards/bitcoin/actions/runs/9485948819/job/26139127116. Note that `rpc_bind.py --ipv4` and `rpc_bind.py --nonloopback` were both run but `rpc_bind.py --ipv6` and `feature_proxy.py` did not run.
Spaces between test names now also
...
π m3dwards's pull request is ready for review: "ci: parse TEST_RUNNER_EXTRA into an array"
(https://github.com/bitcoin/bitcoin/pull/30244)
(https://github.com/bitcoin/bitcoin/pull/30244)
π¬ luke-jr commented on pull request "refactor: policy: Pass kernel::MemPoolOptions to IsStandard[Tx] rather than long list of individual options":
(https://github.com/bitcoin/bitcoin/pull/30232#issuecomment-2163670519)
Besides making the code cleaner, I'm hoping to get to a point where it's practical to fix the remaining vsize bugs.
(https://github.com/bitcoin/bitcoin/pull/30232#issuecomment-2163670519)
Besides making the code cleaner, I'm hoping to get to a point where it's practical to fix the remaining vsize bugs.
π¬ furszy commented on pull request "refactor, wallet: get serialized size of `CRecipient`s directly":
(https://github.com/bitcoin/bitcoin/pull/30050#discussion_r1636519093)
Structural topic (not really for this PR):
These two functions, and also `CRecipient` seem to fit better on a new `spend_util.h/cpp` file rather than here.
Also `TransactionChangeType` seem to fit better inside `spend.h/cpp` rather than here.
(https://github.com/bitcoin/bitcoin/pull/30050#discussion_r1636519093)
Structural topic (not really for this PR):
These two functions, and also `CRecipient` seem to fit better on a new `spend_util.h/cpp` file rather than here.
Also `TransactionChangeType` seem to fit better inside `spend.h/cpp` rather than here.
π¬ furszy commented on pull request "refactor, wallet: get serialized size of `CRecipient`s directly":
(https://github.com/bitcoin/bitcoin/pull/30050#discussion_r1636591875)
I must also be missing something here because you should be able to write this as:
```c++
size_t GetSerializeSizeForRecipient(const CRecipient& recipient)
{
return ::GetSerializeSize(CTxOut(recipient.nAmount, GetScriptForDestination(recipient.dest)));
}
```
And the follow-up PR should also compile this code:
```c++
size_t GetSerializeSizeForRecipient(const CRecipient& recipient)
{
// A Silent Payements address is instructions on how to create a WitnessV1Taproot output
...
(https://github.com/bitcoin/bitcoin/pull/30050#discussion_r1636591875)
I must also be missing something here because you should be able to write this as:
```c++
size_t GetSerializeSizeForRecipient(const CRecipient& recipient)
{
return ::GetSerializeSize(CTxOut(recipient.nAmount, GetScriptForDestination(recipient.dest)));
}
```
And the follow-up PR should also compile this code:
```c++
size_t GetSerializeSizeForRecipient(const CRecipient& recipient)
{
// A Silent Payements address is instructions on how to create a WitnessV1Taproot output
...
π¬ furszy commented on pull request "refactor, wallet: get serialized size of `CRecipient`s directly":
(https://github.com/bitcoin/bitcoin/pull/30050#discussion_r1636555459)
This include should still be needed. The `CreateTransactionInternal` still calls `GetDustThreshold`.
(https://github.com/bitcoin/bitcoin/pull/30050#discussion_r1636555459)
This include should still be needed. The `CreateTransactionInternal` still calls `GetDustThreshold`.
π¬ mzumsande commented on pull request "test/BIP324: disconnection scenarios during v2 handshake":
(https://github.com/bitcoin/bitcoin/pull/29431#discussion_r1636908381)
commit 4a7f541054d634a34e5f3cbda427e400dc1569f1:
This comment is no longer true and should be removed - the send happens below instead.
(https://github.com/bitcoin/bitcoin/pull/29431#discussion_r1636908381)
commit 4a7f541054d634a34e5f3cbda427e400dc1569f1:
This comment is no longer true and should be removed - the send happens below instead.
π¬ mzumsande commented on pull request "test/BIP324: disconnection scenarios during v2 handshake":
(https://github.com/bitcoin/bitcoin/pull/29431#discussion_r1636906205)
unrelated whitespace change?
(https://github.com/bitcoin/bitcoin/pull/29431#discussion_r1636906205)
unrelated whitespace change?
π¬ mzumsande commented on pull request "test/BIP324: disconnection scenarios during v2 handshake":
(https://github.com/bitcoin/bitcoin/pull/29431#discussion_r1636917686)
commit 4a7f541054d634a34e5f3cbda427e400dc1569f1:
I think that this could fail intermittently (can put a sleep before this line to trigger).
I think we have to first set `can_data_be_received`, and only then send the rest of the data.
(https://github.com/bitcoin/bitcoin/pull/29431#discussion_r1636917686)
commit 4a7f541054d634a34e5f3cbda427e400dc1569f1:
I think that this could fail intermittently (can put a sleep before this line to trigger).
I think we have to first set `can_data_be_received`, and only then send the rest of the data.