Skip to content

Commit

Permalink
Parallel tx set nomination
Browse files Browse the repository at this point in the history
  • Loading branch information
dmkozh committed Sep 25, 2024
1 parent af306b2 commit 0fcd134
Show file tree
Hide file tree
Showing 18 changed files with 1,337 additions and 276 deletions.
6 changes: 6 additions & 0 deletions Builds/VisualStudio/stellar-core.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -539,6 +539,7 @@ exit /b 0
<ClCompile Include="..\..\src\herder\HerderSCPDriver.cpp" />
<ClCompile Include="..\..\src\herder\HerderUtils.cpp" />
<ClCompile Include="..\..\src\herder\LedgerCloseData.cpp" />
<ClCompile Include="..\..\src\herder\ParallelTxSetBuilder.cpp" />
<ClCompile Include="..\..\src\herder\PendingEnvelopes.cpp" />
<ClCompile Include="..\..\src\herder\QuorumIntersectionCheckerImpl.cpp" />
<ClCompile Include="..\..\src\herder\QuorumTracker.cpp" />
Expand Down Expand Up @@ -684,6 +685,8 @@ exit /b 0
<ClCompile Include="..\..\src\overlay\Tracker.cpp" />
<ClCompile Include="..\..\src\overlay\TxAdverts.cpp" />
<ClCompile Include="..\..\src\overlay\TxDemandsManager.cpp" />
<ClCompile Include="..\..\src\simulation\ApplyLoad.cpp" />
<ClCompile Include="..\..\src\simulation\TxGenerator.cpp" />
<ClCompile Include="..\..\src\test\FuzzerImpl.cpp" />
<ClCompile Include="..\..\src\transactions\AllowTrustOpFrame.cpp" />
<ClCompile Include="..\..\src\transactions\BeginSponsoringFutureReservesOpFrame.cpp" />
Expand Down Expand Up @@ -996,6 +999,7 @@ exit /b 0
<ClInclude Include="..\..\src\herder\HerderSCPDriver.h" />
<ClInclude Include="..\..\src\herder\HerderUtils.h" />
<ClInclude Include="..\..\src\herder\LedgerCloseData.h" />
<ClInclude Include="..\..\src\herder\ParallelTxSetBuilder.h" />
<ClInclude Include="..\..\src\herder\PendingEnvelopes.h" />
<ClInclude Include="..\..\src\herder\QuorumIntersectionChecker.h" />
<ClInclude Include="..\..\src\herder\QuorumIntersectionCheckerImpl.h" />
Expand Down Expand Up @@ -1104,6 +1108,8 @@ exit /b 0
<ClInclude Include="..\..\src\overlay\Tracker.h" />
<ClInclude Include="..\..\src\overlay\TxAdverts.h" />
<ClInclude Include="..\..\src\overlay\TxDemandsManager.h" />
<ClInclude Include="..\..\src\simulation\ApplyLoad.h" />
<ClInclude Include="..\..\src\simulation\TxGenerator.h" />
<ClInclude Include="..\..\src\test\Fuzzer.h" />
<ClInclude Include="..\..\src\test\FuzzerImpl.h" />
<ClInclude Include="..\..\src\transactions\AllowTrustOpFrame.h" />
Expand Down
18 changes: 18 additions & 0 deletions Builds/VisualStudio/stellar-core.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -1377,6 +1377,15 @@
<ClCompile Include="..\..\src\ledger\LedgerStateSnapshot.cpp">
<Filter>ledger</Filter>
</ClCompile>
<ClCompile Include="..\..\src\herder\ParallelTxSetBuilder.cpp">
<Filter>herder</Filter>
</ClCompile>
<ClCompile Include="..\..\src\simulation\ApplyLoad.cpp">
<Filter>simulation</Filter>
</ClCompile>
<ClCompile Include="..\..\src\simulation\TxGenerator.cpp">
<Filter>simulation</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\lib\util\cpptoml.h">
Expand Down Expand Up @@ -2402,6 +2411,15 @@
<ClInclude Include="..\..\src\main\QueryServer.h">
<Filter>main</Filter>
</ClInclude>
<ClInclude Include="..\..\src\herder\ParallelTxSetBuilder.h">
<Filter>herder</Filter>
</ClInclude>
<ClInclude Include="..\..\src\simulation\ApplyLoad.h">
<Filter>simulation</Filter>
</ClInclude>
<ClInclude Include="..\..\src\simulation\TxGenerator.h">
<Filter>simulation</Filter>
</ClInclude>
<ClInclude Include="..\..\src\ledger\LedgerStateSnapshot.h">
<Filter>ledger</Filter>
</ClInclude>
Expand Down
12 changes: 11 additions & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ if test -z "${WFLAGS+set}"; then
WFLAGS="$WFLAGS -Werror=unused-result"
fi

test "${CFLAGS+set}" || CFLAGS="-g -O2 -fno-omit-frame-pointer"
test "${CFLAGS+set}" || CFLAGS="-g -fno-omit-frame-pointer"
test "${CXXFLAGS+set}" || CXXFLAGS="$CFLAGS"

AC_PROG_CC([clang gcc cc])
Expand Down Expand Up @@ -115,6 +115,16 @@ AS_IF([test "x$enable_codecoverage" = "xyes"], [
CFLAGS="$CFLAGS -fprofile-instr-generate -fcoverage-mapping"
])

AC_ARG_ENABLE([debugmode],
AS_HELP_STRING([--enable-debugmode],
[build in debug mode]))

AS_IF([test "x$enable_debugmode" != "xyes"], [
AC_MSG_NOTICE([ adding -O2 optimization flags ])
CXXFLAGS="$CXXFLAGS -O2"
CFLAGS="$CFLAGS -O2"
])

AC_ARG_ENABLE([threadsanitizer],
AS_HELP_STRING([--enable-threadsanitizer],
[build with thread-sanitizer (TSan) instrumentation]))
Expand Down
Loading

0 comments on commit 0fcd134

Please sign in to comment.