Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
77 changes: 25 additions & 52 deletions .github/workflows/ci-expanded.yml
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ jobs:
coverage: ""
options: "--enable-isystem"

- image: ubuntu-24.04
- image: ubuntu-26.04
config: "debug"
link: "dynamic"
cc: "gcc-15"
Expand All @@ -239,7 +239,7 @@ jobs:
package: "g++-15 gcc-15"
options: "--enable-isystem"

- image: ubuntu-24.04
- image: ubuntu-26.04
config: "debug"
link: "static"
cc: "gcc-15"
Expand All @@ -249,7 +249,7 @@ jobs:
package: "g++-15 gcc-15"
options: "--enable-isystem"

- image: ubuntu-24.04
- image: ubuntu-26.04
config: "release"
link: "dynamic"
cc: "gcc-15"
Expand All @@ -259,7 +259,7 @@ jobs:
package: "g++-15 gcc-15"
options: "--enable-isystem"

- image: ubuntu-24.04
- image: ubuntu-26.04
config: "release"
link: "static"
cc: "gcc-15"
Expand All @@ -269,7 +269,7 @@ jobs:
package: "g++-15 gcc-15"
options: "--enable-isystem"

- image: ubuntu-24.04
- image: ubuntu-26.04
config: "debug"
link: "dynamic"
cc: "gcc-16"
Expand All @@ -279,7 +279,7 @@ jobs:
package: "g++-16 gcc-16"
options: "--enable-isystem"

- image: ubuntu-24.04
- image: ubuntu-26.04
config: "debug"
link: "static"
cc: "gcc-16"
Expand All @@ -289,7 +289,7 @@ jobs:
package: "g++-16 gcc-16"
options: "--enable-isystem"

- image: ubuntu-24.04
- image: ubuntu-26.04
config: "release"
link: "dynamic"
cc: "gcc-16"
Expand All @@ -299,7 +299,7 @@ jobs:
package: "g++-16 gcc-16"
options: "--enable-isystem"

- image: ubuntu-24.04
- image: ubuntu-26.04
config: "release"
link: "static"
cc: "gcc-16"
Expand Down Expand Up @@ -361,7 +361,7 @@ jobs:
package: "gcc-14 g++-14"
options: "--enable-isystem"

- image: ubuntu-24.04
- image: ubuntu-26.04
config: "release"
link: "static"
cc: "gcc-15"
Expand Down Expand Up @@ -481,15 +481,6 @@ jobs:
shell: bash
run: |
sudo apt-get update
if [[ "${{ matrix.package }}" == *"g++-15"* ]] ||
[[ "${{ matrix.package }}" == *"gcc-15"* ]] ||
[[ "${{ matrix.package }}" == *"g++-16"* ]] ||
[[ "${{ matrix.package }}" == *"gcc-16"* ]] ||
[[ "${{ matrix.package }}" == *"gcc-15-multilib"* ]] ||
[[ "${{ matrix.package }}" == *"g++-15-multilib"* ]]; then
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
sudo apt-get update
fi
sudo apt-get install git build-essential autoconf automake libtool pkg-config ${{ matrix.package || '' }}
if [[ "${{ matrix.coverage }}" == "lcov" ]]; then
sudo apt-get install lcov
Expand Down Expand Up @@ -1006,7 +997,7 @@ jobs:
coverage: ""
options: ""

- image: ubuntu-24.04
- image: ubuntu-26.04
config: "debug"
link: "dynamic"
cc: "gcc-15"
Expand All @@ -1016,7 +1007,7 @@ jobs:
package: "g++-15 gcc-15"
options: ""

- image: ubuntu-24.04
- image: ubuntu-26.04
config: "debug"
link: "static"
cc: "gcc-15"
Expand All @@ -1026,7 +1017,7 @@ jobs:
package: "g++-15 gcc-15"
options: ""

- image: ubuntu-24.04
- image: ubuntu-26.04
config: "release"
link: "dynamic"
cc: "gcc-15"
Expand All @@ -1036,7 +1027,7 @@ jobs:
package: "g++-15 gcc-15"
options: ""

- image: ubuntu-24.04
- image: ubuntu-26.04
config: "release"
link: "static"
cc: "gcc-15"
Expand All @@ -1046,7 +1037,7 @@ jobs:
package: "g++-15 gcc-15"
options: ""

- image: ubuntu-24.04
- image: ubuntu-26.04
config: "debug"
link: "dynamic"
cc: "gcc-16"
Expand All @@ -1056,7 +1047,7 @@ jobs:
package: "g++-16 gcc-16"
options: ""

- image: ubuntu-24.04
- image: ubuntu-26.04
config: "debug"
link: "static"
cc: "gcc-16"
Expand All @@ -1066,7 +1057,7 @@ jobs:
package: "g++-16 gcc-16"
options: ""

- image: ubuntu-24.04
- image: ubuntu-26.04
config: "release"
link: "dynamic"
cc: "gcc-16"
Expand All @@ -1076,7 +1067,7 @@ jobs:
package: "g++-16 gcc-16"
options: ""

- image: ubuntu-24.04
- image: ubuntu-26.04
config: "release"
link: "static"
cc: "gcc-16"
Expand Down Expand Up @@ -1170,15 +1161,6 @@ jobs:
shell: bash
run: |
sudo apt-get update
if [[ "${{ matrix.package }}" == *"g++-15"* ]] ||
[[ "${{ matrix.package }}" == *"gcc-15"* ]] ||
[[ "${{ matrix.package }}" == *"g++-16"* ]] ||
[[ "${{ matrix.package }}" == *"gcc-16"* ]] ||
[[ "${{ matrix.package }}" == *"gcc-15-multilib"* ]] ||
[[ "${{ matrix.package }}" == *"g++-15-multilib"* ]]; then
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
sudo apt-get update
fi
sudo apt-get install git build-essential autoconf automake libtool pkg-config ${{ matrix.package || '' }}
if [[ "${{ matrix.coverage }}" == "lcov" ]]; then
sudo apt-get install lcov
Expand Down Expand Up @@ -1493,7 +1475,7 @@ jobs:
coverage: ""
options: "--build-skip-tests"

- image: ubuntu-24.04
- image: ubuntu-26.04
preset: "nix-gnu-debug-shared"
cc: "gcc-15"
cxx: "g++-15"
Expand All @@ -1502,7 +1484,7 @@ jobs:
package: "g++-15 gcc-15"
options: "--build-skip-tests"

- image: ubuntu-24.04
- image: ubuntu-26.04
preset: "nix-gnu-debug-static"
cc: "gcc-15"
cxx: "g++-15"
Expand All @@ -1511,7 +1493,7 @@ jobs:
package: "g++-15 gcc-15"
options: "--build-skip-tests"

- image: ubuntu-24.04
- image: ubuntu-26.04
preset: "nix-gnu-release-shared"
cc: "gcc-15"
cxx: "g++-15"
Expand All @@ -1520,7 +1502,7 @@ jobs:
package: "g++-15 gcc-15"
options: "--build-skip-tests"

- image: ubuntu-24.04
- image: ubuntu-26.04
preset: "nix-gnu-release-static"
cc: "gcc-15"
cxx: "g++-15"
Expand All @@ -1529,7 +1511,7 @@ jobs:
package: "g++-15 gcc-15"
options: "--build-skip-tests"

- image: ubuntu-24.04
- image: ubuntu-26.04
preset: "nix-gnu-debug-shared"
cc: "gcc-16"
cxx: "g++-16"
Expand All @@ -1538,7 +1520,7 @@ jobs:
package: "g++-16 gcc-16"
options: "--build-skip-tests"

- image: ubuntu-24.04
- image: ubuntu-26.04
preset: "nix-gnu-debug-static"
cc: "gcc-16"
cxx: "g++-16"
Expand All @@ -1547,7 +1529,7 @@ jobs:
package: "g++-16 gcc-16"
options: "--build-skip-tests"

- image: ubuntu-24.04
- image: ubuntu-26.04
preset: "nix-gnu-release-shared"
cc: "gcc-16"
cxx: "g++-16"
Expand All @@ -1556,7 +1538,7 @@ jobs:
package: "g++-16 gcc-16"
options: "--build-skip-tests"

- image: ubuntu-24.04
- image: ubuntu-26.04
preset: "nix-gnu-release-static"
cc: "gcc-16"
cxx: "g++-16"
Expand Down Expand Up @@ -1616,15 +1598,6 @@ jobs:
shell: bash
run: |
sudo apt-get update
if [[ "${{ matrix.package }}" == *"g++-15"* ]] ||
[[ "${{ matrix.package }}" == *"gcc-15"* ]] ||
[[ "${{ matrix.package }}" == *"g++-16"* ]] ||
[[ "${{ matrix.package }}" == *"gcc-16"* ]] ||
[[ "${{ matrix.package }}" == *"gcc-15-multilib"* ]] ||
[[ "${{ matrix.package }}" == *"g++-15-multilib"* ]]; then
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
sudo apt-get update
fi
sudo apt-get install git build-essential autoconf automake libtool pkg-config ${{ matrix.package || '' }}
if [[ "${{ matrix.coverage }}" == "lcov" ]]; then
sudo apt-get install lcov
Expand Down
31 changes: 2 additions & 29 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ jobs:
package: "gcc-14 g++-14"
options: "--enable-isystem"

- image: ubuntu-24.04
- image: ubuntu-26.04
config: "release"
link: "static"
cc: "gcc-15"
Expand Down Expand Up @@ -229,15 +229,6 @@ jobs:
shell: bash
run: |
sudo apt-get update
if [[ "${{ matrix.package }}" == *"g++-15"* ]] ||
[[ "${{ matrix.package }}" == *"gcc-15"* ]] ||
[[ "${{ matrix.package }}" == *"g++-16"* ]] ||
[[ "${{ matrix.package }}" == *"gcc-16"* ]] ||
[[ "${{ matrix.package }}" == *"gcc-15-multilib"* ]] ||
[[ "${{ matrix.package }}" == *"g++-15-multilib"* ]]; then
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
sudo apt-get update
fi
sudo apt-get install git build-essential autoconf automake libtool pkg-config ${{ matrix.package || '' }}
if [[ "${{ matrix.coverage }}" == "lcov" ]]; then
sudo apt-get install lcov
Expand Down Expand Up @@ -394,7 +385,7 @@ jobs:
coverage: ""
options: ""

- image: ubuntu-24.04
- image: ubuntu-26.04
config: "debug"
link: "dynamic"
cc: "gcc-16"
Expand Down Expand Up @@ -455,15 +446,6 @@ jobs:
shell: bash
run: |
sudo apt-get update
if [[ "${{ matrix.package }}" == *"g++-15"* ]] ||
[[ "${{ matrix.package }}" == *"gcc-15"* ]] ||
[[ "${{ matrix.package }}" == *"g++-16"* ]] ||
[[ "${{ matrix.package }}" == *"gcc-16"* ]] ||
[[ "${{ matrix.package }}" == *"gcc-15-multilib"* ]] ||
[[ "${{ matrix.package }}" == *"g++-15-multilib"* ]]; then
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
sudo apt-get update
fi
sudo apt-get install git build-essential autoconf automake libtool pkg-config ${{ matrix.package || '' }}
if [[ "${{ matrix.coverage }}" == "lcov" ]]; then
sudo apt-get install lcov
Expand Down Expand Up @@ -673,15 +655,6 @@ jobs:
shell: bash
run: |
sudo apt-get update
if [[ "${{ matrix.package }}" == *"g++-15"* ]] ||
[[ "${{ matrix.package }}" == *"gcc-15"* ]] ||
[[ "${{ matrix.package }}" == *"g++-16"* ]] ||
[[ "${{ matrix.package }}" == *"gcc-16"* ]] ||
[[ "${{ matrix.package }}" == *"gcc-15-multilib"* ]] ||
[[ "${{ matrix.package }}" == *"g++-15-multilib"* ]]; then
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
sudo apt-get update
fi
sudo apt-get install git build-essential autoconf automake libtool pkg-config ${{ matrix.package || '' }}
if [[ "${{ matrix.coverage }}" == "lcov" ]]; then
sudo apt-get install lcov
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ obj

# GitNexus tool.
.gitnexus
AI agent tooling

# AI agent tooling
.claude
AGENTS.md
CLAUDE.md
11 changes: 10 additions & 1 deletion builds/gnu/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ src_libbitcoin_network_la_SOURCES = \
${srcdir}/../../src/noise/certificate.cpp \
${srcdir}/../../src/noise/cipher.cpp \
${srcdir}/../../src/noise/context.cpp \
${srcdir}/../../src/noise/stream.cpp \
${srcdir}/../../src/p2ps/cipher.cpp \
${srcdir}/../../src/p2ps/stream.cpp \
${srcdir}/../../src/protocols/protocol.cpp \
Expand Down Expand Up @@ -385,6 +386,12 @@ include_bitcoin_network_impl_messages_rpc_HEADERS = \
${srcdir}/../../include/bitcoin/network/impl/messages/rpc/broadcaster.ipp \
${srcdir}/../../include/bitcoin/network/impl/messages/rpc/dispatcher.ipp

include_bitcoin_network_impl_noisedir = \
${includedir}/bitcoin/network/impl/noise

include_bitcoin_network_impl_noise_HEADERS = \
${srcdir}/../../include/bitcoin/network/impl/noise/stream.ipp

include_bitcoin_network_impl_protocolsdir = \
${includedir}/bitcoin/network/impl/protocols

Expand Down Expand Up @@ -632,7 +639,8 @@ include_bitcoin_network_noise_HEADERS = \
${srcdir}/../../include/bitcoin/network/noise/certificate.hpp \
${srcdir}/../../include/bitcoin/network/noise/cipher.hpp \
${srcdir}/../../include/bitcoin/network/noise/context.hpp \
${srcdir}/../../include/bitcoin/network/noise/noise.hpp
${srcdir}/../../include/bitcoin/network/noise/noise.hpp \
${srcdir}/../../include/bitcoin/network/noise/stream.hpp

include_bitcoin_network_p2psdir = \
${includedir}/bitcoin/network/p2ps
Expand Down Expand Up @@ -899,6 +907,7 @@ test_libbitcoin_network_test_SOURCES = \
${srcdir}/../../test/noise/certificate.cpp \
${srcdir}/../../test/noise/cipher.cpp \
${srcdir}/../../test/noise/context.cpp \
${srcdir}/../../test/noise/stream.cpp \
${srcdir}/../../test/noise/vectors.cpp \
${srcdir}/../../test/p2ps/cipher.cpp \
${srcdir}/../../test/p2ps/stream.cpp \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,9 @@
<ClCompile Include="..\..\..\..\test\noise\context.cpp">
<ObjectFileName>$(IntDir)test_noise_context.obj</ObjectFileName>
</ClCompile>
<ClCompile Include="..\..\..\..\test\noise\stream.cpp">
<ObjectFileName>$(IntDir)test_noise_stream.obj</ObjectFileName>
</ClCompile>
<ClCompile Include="..\..\..\..\test\noise\vectors.cpp" />
<ClCompile Include="..\..\..\..\test\p2ps\cipher.cpp">
<ObjectFileName>$(IntDir)test_p2ps_cipher.obj</ObjectFileName>
Expand Down
Loading
Loading