Skip to content

Commit 199234a

Browse files
Sjorsccdle12
andcommitted
Introduce Sv2Transport
Implemented starting from a copy of V2Transport and the V2TransportTester, modifying it to fit Stratum v2 and Noise Protocol requirements. Co-Authored-By: Christopher Coverdale <[email protected]> Co-Authored-By: Fi3
1 parent b9b0891 commit 199234a

File tree

5 files changed

+1079
-0
lines changed

5 files changed

+1079
-0
lines changed

src/Makefile.am

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ BITCOIN_CORE_H = \
140140
common/run_command.h \
141141
common/sv2_messages.h \
142142
common/sv2_noise.h \
143+
common/sv2_transport.h \
143144
common/types.h \
144145
common/url.h \
145146
compat/assumptions.h \
@@ -691,6 +692,7 @@ libbitcoin_common_a_SOURCES = \
691692
common/sv2_noise.cpp \
692693
common/settings.cpp \
693694
common/signmessage.cpp \
695+
common/sv2_transport.cpp \
694696
common/system.cpp \
695697
common/url.cpp \
696698
compressor.cpp \

src/Makefile.test.include

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@ BITCOIN_TESTS =\
155155
test/span_tests.cpp \
156156
test/streams_tests.cpp \
157157
test/sv2_noise_tests.cpp \
158+
test/sv2_transport_tests.cpp \
158159
test/sync_tests.cpp \
159160
test/system_tests.cpp \
160161
test/timeoffsets_tests.cpp \

0 commit comments

Comments
 (0)