💬 fanquake commented on issue "guix: Unable to reproduce macOS SDK tarball on Fedora 40":
(https://github.com/bitcoin/bitcoin/issues/31873#issuecomment-2704130971)
Looks like even if that worked now, it wouldn't work in future (Python 3.14+), as the "only delegate to zlib if mtime is 0" condition has been removed, in favour of always delegating: https://github.com/python/cpython/commit/08d09cf5ba041c9c5c3860200b56bab66fd44a23.
(https://github.com/bitcoin/bitcoin/issues/31873#issuecomment-2704130971)
Looks like even if that worked now, it wouldn't work in future (Python 3.14+), as the "only delegate to zlib if mtime is 0" condition has been removed, in favour of always delegating: https://github.com/python/cpython/commit/08d09cf5ba041c9c5c3860200b56bab66fd44a23.
📝 fanquake opened a pull request: "RFC contrib: turn off compression of macOS SDK to fix determinism (across distros)"
(https://github.com/bitcoin/bitcoin/pull/32009)
This includes two changes. The first is to more selectively pick files for inclusion into our macOS SDK tarball (skip manpages, binaries etc), which is nice because it redues the size of the tarball (from ~80mb to 35mb), and makes the size increase that happens with the next commit, less-bad.
The second change turns off compression of the tarball. Starting with Python 3.11, Pythons gzip might delegate to zlib. Depending on the OS, i.e Ubuntu vs Fedora, the underlying zlib implementation might
...
(https://github.com/bitcoin/bitcoin/pull/32009)
This includes two changes. The first is to more selectively pick files for inclusion into our macOS SDK tarball (skip manpages, binaries etc), which is nice because it redues the size of the tarball (from ~80mb to 35mb), and makes the size increase that happens with the next commit, less-bad.
The second change turns off compression of the tarball. Starting with Python 3.11, Pythons gzip might delegate to zlib. Depending on the OS, i.e Ubuntu vs Fedora, the underlying zlib implementation might
...
💬 fanquake commented on issue "guix: Unable to reproduce macOS SDK tarball on Fedora 40":
(https://github.com/bitcoin/bitcoin/issues/31873#issuecomment-2704337598)
Opened #32009 to discuss.
(https://github.com/bitcoin/bitcoin/issues/31873#issuecomment-2704337598)
Opened #32009 to discuss.
💬 achow101 commented on pull request "RFC contrib: turn off compression of macOS SDK to fix determinism (across distros)":
(https://github.com/bitcoin/bitcoin/pull/32009#issuecomment-2704345342)
Is determinism of that tarball necessary? IIRC it doesn't actually affect the build.
(https://github.com/bitcoin/bitcoin/pull/32009#issuecomment-2704345342)
Is determinism of that tarball necessary? IIRC it doesn't actually affect the build.
💬 fanquake commented on pull request "RFC contrib: turn off compression of macOS SDK to fix determinism (across distros)":
(https://github.com/bitcoin/bitcoin/pull/32009#issuecomment-2704349669)
> Is determinism of that tarball necessary?
I don't see why we wouldn't want it. If we don't care about it, we should remove: "The `sha256sum` should be `c0c2e7bb92c1fee0c4e9f3a485e4530786732d6c6dd9e9f418c282aa6892f55d`." So that issues like #31873 aren't opened.
(https://github.com/bitcoin/bitcoin/pull/32009#issuecomment-2704349669)
> Is determinism of that tarball necessary?
I don't see why we wouldn't want it. If we don't care about it, we should remove: "The `sha256sum` should be `c0c2e7bb92c1fee0c4e9f3a485e4530786732d6c6dd9e9f418c282aa6892f55d`." So that issues like #31873 aren't opened.
💬 achow101 commented on pull request "wallet: Disable creating and loading legacy wallets":
(https://github.com/bitcoin/bitcoin/pull/31250#discussion_r1983725941)
There is a theoretical legacy-sqlite wallet configuration that could reach this. This is actually an unsupported configuration, although it technically works today.
(https://github.com/bitcoin/bitcoin/pull/31250#discussion_r1983725941)
There is a theoretical legacy-sqlite wallet configuration that could reach this. This is actually an unsupported configuration, although it technically works today.
💬 brunoerg commented on pull request "wallet: Disable creating and loading legacy wallets":
(https://github.com/bitcoin/bitcoin/pull/31250#discussion_r1983749256)
Got it, thanks.
(https://github.com/bitcoin/bitcoin/pull/31250#discussion_r1983749256)
Got it, thanks.
💬 m3dwards commented on pull request "ci: Test cross-built Windows executables on Windows natively":
(https://github.com/bitcoin/bitcoin/pull/31176#issuecomment-2704463827)
ACK 515c64c743d581f84b8be45e5d16968d02264389
Tested that everything runs and passes on my fork. Forced a functional test to fail and saw red. Ran `--extended` tests via a push to a branch and saw that extended tests did not run on a PR.
(https://github.com/bitcoin/bitcoin/pull/31176#issuecomment-2704463827)
ACK 515c64c743d581f84b8be45e5d16968d02264389
Tested that everything runs and passes on my fork. Forced a functional test to fail and saw red. Ran `--extended` tests via a push to a branch and saw that extended tests did not run on a PR.
🚀 fanquake merged a pull request: "ci: use LLVM 20.1.0 for MSAN"
(https://github.com/bitcoin/bitcoin/pull/31993)
(https://github.com/bitcoin/bitcoin/pull/31993)
💬 achow101 commented on pull request "descriptor: Move filling of keys from `DescriptorImpl::MakeScripts` to `PubkeyProvider::GetPubKey`":
(https://github.com/bitcoin/bitcoin/pull/31243#discussion_r1983774339)
> Something around this can be mentioned either in the commit message and/or the PR description.
Added to the commit message.
(https://github.com/bitcoin/bitcoin/pull/31243#discussion_r1983774339)
> Something around this can be mentioned either in the commit message and/or the PR description.
Added to the commit message.
💬 achow101 commented on pull request "descriptor: Move filling of keys from `DescriptorImpl::MakeScripts` to `PubkeyProvider::GetPubKey`":
(https://github.com/bitcoin/bitcoin/pull/31243#discussion_r1983774453)
Done
(https://github.com/bitcoin/bitcoin/pull/31243#discussion_r1983774453)
Done
💬 achow101 commented on pull request "descriptor: Move filling of keys from `DescriptorImpl::MakeScripts` to `PubkeyProvider::GetPubKey`":
(https://github.com/bitcoin/bitcoin/pull/31243#discussion_r1983774561)
Done
(https://github.com/bitcoin/bitcoin/pull/31243#discussion_r1983774561)
Done
💬 achow101 commented on pull request "descriptor: Move filling of keys from `DescriptorImpl::MakeScripts` to `PubkeyProvider::GetPubKey`":
(https://github.com/bitcoin/bitcoin/pull/31243#discussion_r1983779662)
Done
(https://github.com/bitcoin/bitcoin/pull/31243#discussion_r1983779662)
Done
💬 achow101 commented on pull request "descriptor: Move filling of keys from `DescriptorImpl::MakeScripts` to `PubkeyProvider::GetPubKey`":
(https://github.com/bitcoin/bitcoin/pull/31243#discussion_r1983779926)
Added the comment.
(https://github.com/bitcoin/bitcoin/pull/31243#discussion_r1983779926)
Added the comment.
💬 achow101 commented on pull request "descriptor: Move filling of keys from `DescriptorImpl::MakeScripts` to `PubkeyProvider::GetPubKey`":
(https://github.com/bitcoin/bitcoin/pull/31243#discussion_r1983780182)
Removed
(https://github.com/bitcoin/bitcoin/pull/31243#discussion_r1983780182)
Removed
💬 achow101 commented on pull request "doc: remove note about macOS self-signing":
(https://github.com/bitcoin/bitcoin/pull/32003#issuecomment-2704569667)
ACK c873ab6f23e027af1c5837256ce3c9eccaf409cb
(https://github.com/bitcoin/bitcoin/pull/32003#issuecomment-2704569667)
ACK c873ab6f23e027af1c5837256ce3c9eccaf409cb
🚀 achow101 merged a pull request: "doc: remove note about macOS self-signing"
(https://github.com/bitcoin/bitcoin/pull/32003)
(https://github.com/bitcoin/bitcoin/pull/32003)
💬 laanwj commented on issue "guix: re-enable exported symbol checking for RISC-V":
(https://github.com/bitcoin/bitcoin/issues/28095#issuecomment-2704673758)
Reproduction (with gcc 13.3.0 , binutils 2.38, everything from guix build context):
```c++
#include <iostream>
int main()
{
std::string test{"12345"};
std::cout << test << std::endl;
return 0;
}
```
```bash
$ x86_64-linux-gnu-g++ test.cpp -o test.x64 -Wl,--exclude-libs,ALL -fvisibility=hidden -static-libstdc++
$ x86_64-linux-gnu-objdump -T test.x64|grep "\.text"
(no output)
$ riscv64-linux-gnu-g++ test.cpp -o test.rv -Wl,--exclude-libs,ALL -fvisibility=hidden -static-libstdc++
...
(https://github.com/bitcoin/bitcoin/issues/28095#issuecomment-2704673758)
Reproduction (with gcc 13.3.0 , binutils 2.38, everything from guix build context):
```c++
#include <iostream>
int main()
{
std::string test{"12345"};
std::cout << test << std::endl;
return 0;
}
```
```bash
$ x86_64-linux-gnu-g++ test.cpp -o test.x64 -Wl,--exclude-libs,ALL -fvisibility=hidden -static-libstdc++
$ x86_64-linux-gnu-objdump -T test.x64|grep "\.text"
(no output)
$ riscv64-linux-gnu-g++ test.cpp -o test.rv -Wl,--exclude-libs,ALL -fvisibility=hidden -static-libstdc++
...
💬 jonatack commented on pull request "seeds: add signet/testnet4, update makeseeds regex, minblocks, fixed seeds":
(https://github.com/bitcoin/bitcoin/pull/31960#discussion_r1983912898)
Hi @l0rinc, this diff, if I understand you correctly?
```diff
PATTERN_AGENT = re.compile(
r"^/Satoshi:("
- r"0.14.(0|1|2|3|99)"
- r"|0.15.(0|1|2|99)"
- r"|0.16.(0|1|2|3|99)"
- r"|0.17.(0|0.1|1|2|99)"
- r"|0.18.(0|1|99)"
- r"|0.19.(0|1|2|99)"
- r"|0.20.(0|1|2|99)"
- r"|0.21.(0|1|2|99)"
- r"|22.(0|1|99).0"
- r"|23.(0|1|2|99).0"
- r"|24.(0|1|2|99).(0|1)"
- r"|25.(0|1|2|99).0"
- r"|26.(0|1|2|99).0"
- r"|27.(0|1|2|99).0"
- r"|28.(
...
(https://github.com/bitcoin/bitcoin/pull/31960#discussion_r1983912898)
Hi @l0rinc, this diff, if I understand you correctly?
```diff
PATTERN_AGENT = re.compile(
r"^/Satoshi:("
- r"0.14.(0|1|2|3|99)"
- r"|0.15.(0|1|2|99)"
- r"|0.16.(0|1|2|3|99)"
- r"|0.17.(0|0.1|1|2|99)"
- r"|0.18.(0|1|99)"
- r"|0.19.(0|1|2|99)"
- r"|0.20.(0|1|2|99)"
- r"|0.21.(0|1|2|99)"
- r"|22.(0|1|99).0"
- r"|23.(0|1|2|99).0"
- r"|24.(0|1|2|99).(0|1)"
- r"|25.(0|1|2|99).0"
- r"|26.(0|1|2|99).0"
- r"|27.(0|1|2|99).0"
- r"|28.(
...
💬 jonatack commented on pull request "seeds: add signet/testnet4, update makeseeds regex, minblocks, fixed seeds":
(https://github.com/bitcoin/bitcoin/pull/31960#discussion_r1983914533)
> I don't think this needs compression, explicitly listing the minor versions is easier to read IMO.
Agree
(https://github.com/bitcoin/bitcoin/pull/31960#discussion_r1983914533)
> I don't think this needs compression, explicitly listing the minor versions is easier to read IMO.
Agree