Skip to content

Commit c40cf69

Browse files
committed
Update protocols
1 parent df9e5c9 commit c40cf69

15 files changed

Lines changed: 1363 additions & 831 deletions

File tree

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: Windows (Cygwin)
2+
3+
on:
4+
push:
5+
pull_request:
6+
workflow_dispatch:
7+
8+
jobs:
9+
build:
10+
runs-on: windows-latest
11+
defaults:
12+
run:
13+
shell: C:\cygwin\bin\bash.exe --login -o igncr {0}
14+
steps:
15+
- name: "Setup git"
16+
shell: cmd
17+
run: git config --global core.autocrlf input
18+
19+
- uses: actions/checkout@v4
20+
21+
- name: "Setup Cygwin"
22+
uses: cygwin/cygwin-install-action@v2
23+
with:
24+
check-sig: false
25+
platform: x86_64
26+
packages: automake make cmake gcc-g++ doxygen graphviz libssl-devel libuuid-devel
27+
28+
- name: "Setup cmake"
29+
run: cmake --version
30+
31+
- name: "Setup gil"
32+
shell: cmd
33+
run: |
34+
pip3 install gil
35+
gil update
36+
37+
- name: "Build"
38+
run: |
39+
cd $GITHUB_WORKSPACE/build
40+
./unix.sh

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ if(NOT CPPSERIALIZATION_MODULE)
120120
set(SBE_TARGET "${SBE_FILE}_TARGET")
121121
add_custom_command(
122122
OUTPUT ${SBE_OUTPUT_FILE} DEPENDS ${SBE_INPUT_FILE}
123-
COMMAND ${Java_JAVA_EXECUTABLE} -Dsbe.generate.ir=true -Dsbe.target.language=Cpp -Dsbe.target.namespace=sbe -Dsbe.output.dir=${SBE_OUTPUT_DIR} -Dsbe.errorLog=yes -jar ${CMAKE_CURRENT_SOURCE_DIR}/modules/sbe/sbe-all-1.30.0.jar ${SBE_INPUT_FILE} COMMENT "Generating ${SBE_OUTPUT_FILE}..." VERBATIM
123+
COMMAND ${Java_JAVA_EXECUTABLE} -Dsbe.generate.ir=true -Dsbe.target.language=Cpp -Dsbe.target.namespace=sbe -Dsbe.output.dir=${SBE_OUTPUT_DIR} -Dsbe.errorLog=yes --add-opens java.base/jdk.internal.misc=ALL-UNNAMED -jar ${CMAKE_CURRENT_SOURCE_DIR}/modules/sbe/sbe-all-1.35.6.jar ${SBE_INPUT_FILE} COMMENT "Generating ${SBE_OUTPUT_FILE}..." VERBATIM
124124
)
125125
add_custom_target(${SBE_TARGET} DEPENDS ${SBE_OUTPUT_FILE})
126126
set_target_properties(${SBE_TARGET} PROPERTIES FOLDER "proto")

modules/sbe/sbe-all-1.30.0.jar

-899 KB
Binary file not shown.

proto/capnproto/trade.capnp.c++

Lines changed: 20 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,14 @@
55

66
namespace capnp {
77
namespace schemas {
8-
static const ::capnp::_::AlignedData<25> b_ceaf67d5278e9b08 = {
9-
{ 0, 0, 0, 0, 5, 0, 6, 0,
8+
static const ::capnp::_::AlignedData<26> b_ceaf67d5278e9b08 = {
9+
{ 0, 0, 0, 0, 6, 0, 6, 0,
1010
8, 155, 142, 39, 213, 103, 175, 206,
1111
12, 0, 0, 0, 2, 0, 0, 0,
1212
112, 209, 190, 35, 6, 224, 182, 212,
1313
0, 0, 0, 0, 0, 0, 0, 0,
1414
0, 0, 0, 0, 0, 0, 0, 0,
15+
140, 0, 0, 0, 183, 0, 0, 0,
1516
21, 0, 0, 0, 178, 0, 0, 0,
1617
29, 0, 0, 0, 7, 0, 0, 0,
1718
0, 0, 0, 0, 0, 0, 0, 0,
@@ -36,18 +37,19 @@ static const ::capnp::_::AlignedData<25> b_ceaf67d5278e9b08 = {
3637
#if !CAPNP_LITE
3738
static const uint16_t m_ceaf67d5278e9b08[] = {0, 1};
3839
const ::capnp::_::RawSchema s_ceaf67d5278e9b08 = {
39-
0xceaf67d5278e9b08, b_ceaf67d5278e9b08.words, 25, nullptr, m_ceaf67d5278e9b08,
40+
0xceaf67d5278e9b08, b_ceaf67d5278e9b08.words, 26, nullptr, m_ceaf67d5278e9b08,
4041
0, 2, nullptr, nullptr, nullptr, { &s_ceaf67d5278e9b08, nullptr, nullptr, 0, 0, nullptr }, false
4142
};
4243
#endif // !CAPNP_LITE
4344
CAPNP_DEFINE_ENUM(OrderSide_ceaf67d5278e9b08, ceaf67d5278e9b08);
44-
static const ::capnp::_::AlignedData<29> b_8a1823b59b807011 = {
45-
{ 0, 0, 0, 0, 5, 0, 6, 0,
45+
static const ::capnp::_::AlignedData<30> b_8a1823b59b807011 = {
46+
{ 0, 0, 0, 0, 6, 0, 6, 0,
4647
17, 112, 128, 155, 181, 35, 24, 138,
4748
12, 0, 0, 0, 2, 0, 0, 0,
4849
112, 209, 190, 35, 6, 224, 182, 212,
4950
0, 0, 0, 0, 0, 0, 0, 0,
5051
0, 0, 0, 0, 0, 0, 0, 0,
52+
185, 0, 0, 0, 245, 0, 0, 0,
5153
21, 0, 0, 0, 178, 0, 0, 0,
5254
29, 0, 0, 0, 7, 0, 0, 0,
5355
0, 0, 0, 0, 0, 0, 0, 0,
@@ -76,18 +78,19 @@ static const ::capnp::_::AlignedData<29> b_8a1823b59b807011 = {
7678
#if !CAPNP_LITE
7779
static const uint16_t m_8a1823b59b807011[] = {1, 0, 2};
7880
const ::capnp::_::RawSchema s_8a1823b59b807011 = {
79-
0x8a1823b59b807011, b_8a1823b59b807011.words, 29, nullptr, m_8a1823b59b807011,
81+
0x8a1823b59b807011, b_8a1823b59b807011.words, 30, nullptr, m_8a1823b59b807011,
8082
0, 3, nullptr, nullptr, nullptr, { &s_8a1823b59b807011, nullptr, nullptr, 0, 0, nullptr }, false
8183
};
8284
#endif // !CAPNP_LITE
8385
CAPNP_DEFINE_ENUM(OrderType_8a1823b59b807011, 8a1823b59b807011);
84-
static const ::capnp::_::AlignedData<107> b_ec26d82684ac6ce6 = {
85-
{ 0, 0, 0, 0, 5, 0, 6, 0,
86+
static const ::capnp::_::AlignedData<108> b_ec26d82684ac6ce6 = {
87+
{ 0, 0, 0, 0, 6, 0, 6, 0,
8688
230, 108, 172, 132, 38, 216, 38, 236,
8789
12, 0, 0, 0, 1, 0, 3, 0,
8890
112, 209, 190, 35, 6, 224, 182, 212,
8991
1, 0, 7, 0, 0, 0, 0, 0,
9092
0, 0, 0, 0, 0, 0, 0, 0,
93+
247, 0, 0, 0, 159, 1, 0, 0,
9194
21, 0, 0, 0, 146, 0, 0, 0,
9295
29, 0, 0, 0, 7, 0, 0, 0,
9396
0, 0, 0, 0, 0, 0, 0, 0,
@@ -199,17 +202,18 @@ static const ::capnp::_::RawSchema* const d_ec26d82684ac6ce6[] = {
199202
static const uint16_t m_ec26d82684ac6ce6[] = {0, 4, 2, 1, 3, 5};
200203
static const uint16_t i_ec26d82684ac6ce6[] = {0, 1, 2, 3, 4, 5};
201204
const ::capnp::_::RawSchema s_ec26d82684ac6ce6 = {
202-
0xec26d82684ac6ce6, b_ec26d82684ac6ce6.words, 107, d_ec26d82684ac6ce6, m_ec26d82684ac6ce6,
205+
0xec26d82684ac6ce6, b_ec26d82684ac6ce6.words, 108, d_ec26d82684ac6ce6, m_ec26d82684ac6ce6,
203206
2, 6, i_ec26d82684ac6ce6, nullptr, nullptr, { &s_ec26d82684ac6ce6, nullptr, nullptr, 0, 0, nullptr }, false
204207
};
205208
#endif // !CAPNP_LITE
206-
static const ::capnp::_::AlignedData<48> b_956aab4db434f8af = {
207-
{ 0, 0, 0, 0, 5, 0, 6, 0,
209+
static const ::capnp::_::AlignedData<49> b_956aab4db434f8af = {
210+
{ 0, 0, 0, 0, 6, 0, 6, 0,
208211
175, 248, 52, 180, 77, 171, 106, 149,
209212
12, 0, 0, 0, 1, 0, 1, 0,
210213
112, 209, 190, 35, 6, 224, 182, 212,
211214
1, 0, 7, 0, 0, 0, 0, 0,
212215
0, 0, 0, 0, 0, 0, 0, 0,
216+
161, 1, 0, 0, 234, 1, 0, 0,
213217
21, 0, 0, 0, 162, 0, 0, 0,
214218
29, 0, 0, 0, 7, 0, 0, 0,
215219
0, 0, 0, 0, 0, 0, 0, 0,
@@ -258,17 +262,18 @@ static const ::capnp::_::AlignedData<48> b_956aab4db434f8af = {
258262
static const uint16_t m_956aab4db434f8af[] = {1, 0};
259263
static const uint16_t i_956aab4db434f8af[] = {0, 1};
260264
const ::capnp::_::RawSchema s_956aab4db434f8af = {
261-
0x956aab4db434f8af, b_956aab4db434f8af.words, 48, nullptr, m_956aab4db434f8af,
265+
0x956aab4db434f8af, b_956aab4db434f8af.words, 49, nullptr, m_956aab4db434f8af,
262266
0, 2, i_956aab4db434f8af, nullptr, nullptr, { &s_956aab4db434f8af, nullptr, nullptr, 0, 0, nullptr }, false
263267
};
264268
#endif // !CAPNP_LITE
265-
static const ::capnp::_::AlignedData<81> b_dea92a2f26e352c7 = {
266-
{ 0, 0, 0, 0, 5, 0, 6, 0,
269+
static const ::capnp::_::AlignedData<82> b_dea92a2f26e352c7 = {
270+
{ 0, 0, 0, 0, 6, 0, 6, 0,
267271
199, 82, 227, 38, 47, 42, 169, 222,
268272
12, 0, 0, 0, 1, 0, 1, 0,
269273
112, 209, 190, 35, 6, 224, 182, 212,
270274
3, 0, 7, 0, 0, 0, 0, 0,
271275
0, 0, 0, 0, 0, 0, 0, 0,
276+
236, 1, 0, 0, 91, 2, 0, 0,
272277
21, 0, 0, 0, 162, 0, 0, 0,
273278
29, 0, 0, 0, 7, 0, 0, 0,
274279
0, 0, 0, 0, 0, 0, 0, 0,
@@ -354,7 +359,7 @@ static const ::capnp::_::RawSchema* const d_dea92a2f26e352c7[] = {
354359
static const uint16_t m_dea92a2f26e352c7[] = {0, 1, 3, 2};
355360
static const uint16_t i_dea92a2f26e352c7[] = {0, 1, 2, 3};
356361
const ::capnp::_::RawSchema s_dea92a2f26e352c7 = {
357-
0xdea92a2f26e352c7, b_dea92a2f26e352c7.words, 81, d_dea92a2f26e352c7, m_dea92a2f26e352c7,
362+
0xdea92a2f26e352c7, b_dea92a2f26e352c7.words, 82, d_dea92a2f26e352c7, m_dea92a2f26e352c7,
358363
2, 4, i_dea92a2f26e352c7, nullptr, nullptr, { &s_dea92a2f26e352c7, nullptr, nullptr, 0, 0, nullptr }, false
359364
};
360365
#endif // !CAPNP_LITE

proto/capnproto/trade.capnp.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
#ifndef CAPNP_VERSION
1010
#error "CAPNP_VERSION is not defined, is capnp/generated-header-support.h missing?"
11-
#elif CAPNP_VERSION != 1001000
11+
#elif CAPNP_VERSION != 1003000
1212
#error "Version mismatch between generated code and library headers. You must use the same version of the Cap'n Proto compiler and library."
1313
#endif
1414

proto/flatbuffers/trade_generated.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88

99
// Ensure the included flatbuffers.h is the same version as when this file was
1010
// generated, otherwise it may not be compatible.
11-
static_assert(FLATBUFFERS_VERSION_MAJOR == 24 &&
12-
FLATBUFFERS_VERSION_MINOR == 3 &&
13-
FLATBUFFERS_VERSION_REVISION == 7,
11+
static_assert(FLATBUFFERS_VERSION_MAJOR == 25 &&
12+
FLATBUFFERS_VERSION_MINOR == 2 &&
13+
FLATBUFFERS_VERSION_REVISION == 10,
1414
"Non-compatible flatbuffers version included");
1515

1616
namespace Trade {

0 commit comments

Comments
 (0)