Skip to content

Commit

Permalink
Merge branch 'master' into testnetslp
Browse files Browse the repository at this point in the history
  • Loading branch information
sisuresh authored Jan 3, 2025
2 parents baa6504 + d14e7b6 commit 80f8066
Show file tree
Hide file tree
Showing 151 changed files with 3,223 additions and 10,048 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,21 @@ jobs:
complete:
if: always()
needs: [fmt, cargo-deny, rust-check-git-rev-deps, build]
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- if: contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled')
run: exit 1

fmt:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- run: rustup component add rustfmt
- run: rustup update
- run: cargo fmt --all --check

cargo-deny:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
strategy:
matrix:
checks:
Expand All @@ -47,13 +47,13 @@ jobs:
arguments:

rust-check-git-rev-deps:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: stellar/actions/rust-check-git-rev-deps@main

build:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
env:
CACHED_PATHS: |
~/.ccache
Expand Down
35 changes: 23 additions & 12 deletions Builds/VisualStudio/stellar-core.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -481,20 +481,26 @@ exit /b 0
<ClCompile Include="..\..\lib\spdlog.cpp" />
<ClCompile Include="..\..\lib\tracy\public\TracyClient.cpp" />
<ClCompile Include="..\..\lib\util\siphash.cpp" />
<ClCompile Include="..\..\src\bucket\Bucket.cpp" />
<ClCompile Include="..\..\src\bucket\BucketApplicator.cpp" />
<ClCompile Include="..\..\src\bucket\BucketBase.cpp" />
<ClCompile Include="..\..\src\bucket\BucketIndexImpl.cpp" />
<ClCompile Include="..\..\src\bucket\BucketInputIterator.cpp" />
<ClCompile Include="..\..\src\bucket\BucketList.cpp" />
<ClCompile Include="..\..\src\bucket\BucketListSnapshot.cpp" />
<ClCompile Include="..\..\src\bucket\BucketManagerImpl.cpp" />
<ClCompile Include="..\..\src\bucket\BucketListBase.cpp" />
<ClCompile Include="..\..\src\bucket\BucketListSnapshotBase.cpp" />
<ClCompile Include="..\..\src\bucket\BucketManager.cpp" />
<ClCompile Include="..\..\src\bucket\BucketMergeMap.cpp" />
<ClCompile Include="..\..\src\bucket\BucketOutputIterator.cpp" />
<ClCompile Include="..\..\src\bucket\BucketSnapshot.cpp" />
<ClCompile Include="..\..\src\bucket\BucketSnapshotManager.cpp" />
<ClCompile Include="..\..\src\bucket\BucketUtils.cpp" />
<ClCompile Include="..\..\src\bucket\FutureBucket.cpp" />
<ClCompile Include="..\..\src\bucket\HotArchiveBucket.cpp" />
<ClCompile Include="..\..\src\bucket\HotArchiveBucketList.cpp" />
<ClCompile Include="..\..\src\bucket\LiveBucket.cpp" />
<ClCompile Include="..\..\src\bucket\LiveBucketList.cpp" />
<ClCompile Include="..\..\src\bucket\MergeKey.cpp" />
<ClCompile Include="..\..\src\bucket\PublishQueueBuckets.cpp" />
<ClCompile Include="..\..\src\bucket\SearchableBucketList.cpp" />
<ClCompile Include="..\..\src\bucket\test\BucketIndexTests.cpp" />
<ClCompile Include="..\..\src\bucket\test\BucketListTests.cpp" />
<ClCompile Include="..\..\src\bucket\test\BucketManagerTests.cpp" />
Expand Down Expand Up @@ -610,8 +616,6 @@ exit /b 0
<ClCompile Include="..\..\src\invariant\test\SponsorshipCountIsValidTests.cpp" />
<ClCompile Include="..\..\src\ledger\CheckpointRange.cpp" />
<ClCompile Include="..\..\src\ledger\FlushAndRotateMetaDebugWork.cpp" />
<ClCompile Include="..\..\src\ledger\InMemoryLedgerTxn.cpp" />
<ClCompile Include="..\..\src\ledger\InMemoryLedgerTxnRoot.cpp" />
<ClCompile Include="..\..\src\ledger\InternalLedgerEntry.cpp" />
<ClCompile Include="..\..\src\ledger\LedgerCloseMetaFrame.cpp" />
<ClCompile Include="..\..\src\ledger\LedgerHeaderUtils.cpp" />
Expand All @@ -633,6 +637,8 @@ exit /b 0
<ClCompile Include="..\..\src\ledger\LedgerTxnTrustLineSQL.cpp" />
<ClCompile Include="..\..\src\ledger\LedgerTypeUtils.cpp" />
<ClCompile Include="..\..\src\ledger\NetworkConfig.cpp" />
<ClCompile Include="..\..\src\ledger\test\InMemoryLedgerTxn.cpp" />
<ClCompile Include="..\..\src\ledger\test\InMemoryLedgerTxnRoot.cpp" />
<ClCompile Include="..\..\src\ledger\test\LedgerCloseMetaStreamTests.cpp" />
<ClCompile Include="..\..\src\ledger\test\LedgerHeaderTests.cpp" />
<ClCompile Include="..\..\src\ledger\test\LedgerTests.cpp" />
Expand Down Expand Up @@ -942,23 +948,28 @@ exit /b 0
<ClInclude Include="..\..\lib\fmt\include\fmt\format.h" />
<ClInclude Include="..\..\lib\util\siphash.h" />
<ClInclude Include="..\..\lib\util\stdrandom.h" />
<ClInclude Include="..\..\src\bucket\Bucket.h" />
<ClInclude Include="..\..\src\bucket\BucketApplicator.h" />
<ClInclude Include="..\..\src\bucket\BucketBase.h" />
<ClInclude Include="..\..\src\bucket\BucketIndex.h" />
<ClInclude Include="..\..\src\bucket\BucketIndexImpl.h" />
<ClInclude Include="..\..\src\bucket\BucketInputIterator.h" />
<ClInclude Include="..\..\src\bucket\BucketList.h" />
<ClInclude Include="..\..\src\bucket\BucketListSnapshot.h" />
<ClInclude Include="..\..\src\bucket\BucketListBase.h" />
<ClInclude Include="..\..\src\bucket\BucketListSnapshotBase.h" />
<ClInclude Include="..\..\src\bucket\BucketManager.h" />
<ClInclude Include="..\..\src\bucket\BucketManagerImpl.h" />
<ClInclude Include="..\..\src\bucket\BucketMergeMap.h" />
<ClInclude Include="..\..\src\bucket\BucketOutputIterator.h" />
<ClInclude Include="..\..\src\bucket\BucketSnapshot.h" />
<ClInclude Include="..\..\src\bucket\BucketSnapshotManager.h" />
<ClInclude Include="..\..\src\bucket\BucketUtils.h" />
<ClInclude Include="..\..\src\bucket\FutureBucket.h" />
<ClInclude Include="..\..\src\bucket\HotArchiveBucket.h" />
<ClInclude Include="..\..\src\bucket\HotArchiveBucketList.h" />
<ClInclude Include="..\..\src\bucket\LedgerCmp.h" />
<ClInclude Include="..\..\src\bucket\LiveBucket.h" />
<ClInclude Include="..\..\src\bucket\LiveBucketList.h" />
<ClInclude Include="..\..\src\bucket\MergeKey.h" />
<ClInclude Include="..\..\src\bucket\PublishQueueBuckets.h" />
<ClInclude Include="..\..\src\bucket\SearchableBucketList.h" />
<ClInclude Include="..\..\src\bucket\test\BucketTestUtils.h" />
<ClInclude Include="..\..\src\catchup\ApplyBucketsWork.h" />
<ClInclude Include="..\..\src\catchup\ApplyBufferedLedgersWork.h" />
Expand Down Expand Up @@ -1057,8 +1068,6 @@ exit /b 0
<ClInclude Include="..\..\src\invariant\test\InvariantTestUtils.h" />
<ClInclude Include="..\..\src\ledger\CheckpointRange.h" />
<ClInclude Include="..\..\src\ledger\FlushAndRotateMetaDebugWork.h" />
<ClInclude Include="..\..\src\ledger\InMemoryLedgerTxn.h" />
<ClInclude Include="..\..\src\ledger\InMemoryLedgerTxnRoot.h" />
<ClInclude Include="..\..\src\ledger\InternalLedgerEntry.h" />
<ClInclude Include="..\..\src\ledger\LedgerCloseMetaFrame.h" />
<ClInclude Include="..\..\src\ledger\LedgerHashUtils.h" />
Expand All @@ -1074,6 +1083,8 @@ exit /b 0
<ClInclude Include="..\..\src\ledger\LedgerTypeUtils.h" />
<ClInclude Include="..\..\src\ledger\NetworkConfig.h" />
<ClInclude Include="..\..\src\ledger\NonSociRelatedException.h" />
<ClInclude Include="..\..\src\ledger\test\InMemoryLedgerTxn.h" />
<ClInclude Include="..\..\src\ledger\test\InMemoryLedgerTxnRoot.h" />
<ClInclude Include="..\..\src\ledger\test\LedgerTestUtils.h" />
<ClInclude Include="..\..\src\ledger\SorobanMetrics.h" />
<ClInclude Include="..\..\src\ledger\TrustLineWrapper.h" />
Expand Down
105 changes: 69 additions & 36 deletions Builds/VisualStudio/stellar-core.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -576,9 +576,6 @@
<ClCompile Include="..\..\src\bucket\test\BucketTestUtils.cpp">
<Filter>bucket\tests</Filter>
</ClCompile>
<ClCompile Include="..\..\src\bucket\Bucket.cpp">
<Filter>bucket</Filter>
</ClCompile>
<ClCompile Include="..\..\src\bucket\BucketApplicator.cpp">
<Filter>bucket</Filter>
</ClCompile>
Expand All @@ -588,12 +585,6 @@
<ClCompile Include="..\..\src\bucket\BucketInputIterator.cpp">
<Filter>bucket</Filter>
</ClCompile>
<ClCompile Include="..\..\src\bucket\BucketList.cpp">
<Filter>bucket</Filter>
</ClCompile>
<ClCompile Include="..\..\src\bucket\BucketManagerImpl.cpp">
<Filter>bucket</Filter>
</ClCompile>
<ClCompile Include="..\..\src\bucket\BucketMergeMap.cpp">
<Filter>bucket</Filter>
</ClCompile>
Expand Down Expand Up @@ -909,12 +900,6 @@
<ClCompile Include="..\..\src\ledger\FlushAndRotateMetaDebugWork.cpp">
<Filter>ledger</Filter>
</ClCompile>
<ClCompile Include="..\..\src\ledger\InMemoryLedgerTxn.cpp">
<Filter>ledger</Filter>
</ClCompile>
<ClCompile Include="..\..\src\ledger\InMemoryLedgerTxnRoot.cpp">
<Filter>ledger</Filter>
</ClCompile>
<ClCompile Include="..\..\src\ledger\InternalLedgerEntry.cpp">
<Filter>ledger</Filter>
</ClCompile>
Expand Down Expand Up @@ -1323,9 +1308,6 @@
<ClCompile Include="..\..\src\main\SettingsUpgradeUtils.cpp">
<Filter>main</Filter>
</ClCompile>
<ClCompile Include="..\..\src\bucket\BucketListSnapshot.cpp">
<Filter>bucket</Filter>
</ClCompile>
<ClCompile Include="..\..\src\bucket\BucketSnapshot.cpp">
<Filter>bucket</Filter>
</ClCompile>
Expand Down Expand Up @@ -1383,6 +1365,42 @@
<ClCompile Include="..\..\src\history\CheckpointBuilder.cpp">
<Filter>history</Filter>
</ClCompile>
<ClCompile Include="..\..\src\bucket\BucketBase.cpp">
<Filter>bucket</Filter>
</ClCompile>
<ClCompile Include="..\..\src\bucket\BucketListBase.cpp">
<Filter>bucket</Filter>
</ClCompile>
<ClCompile Include="..\..\src\bucket\BucketListSnapshotBase.cpp">
<Filter>bucket</Filter>
</ClCompile>
<ClCompile Include="..\..\src\bucket\HotArchiveBucket.cpp">
<Filter>bucket</Filter>
</ClCompile>
<ClCompile Include="..\..\src\bucket\HotArchiveBucketList.cpp">
<Filter>bucket</Filter>
</ClCompile>
<ClCompile Include="..\..\src\bucket\LiveBucket.cpp">
<Filter>bucket</Filter>
</ClCompile>
<ClCompile Include="..\..\src\bucket\LiveBucketList.cpp">
<Filter>bucket</Filter>
</ClCompile>
<ClCompile Include="..\..\src\bucket\SearchableBucketList.cpp">
<Filter>bucket</Filter>
</ClCompile>
<ClCompile Include="..\..\src\bucket\BucketManager.cpp">
<Filter>bucket</Filter>
</ClCompile>
<ClCompile Include="..\..\src\bucket\BucketUtils.cpp">
<Filter>bucket</Filter>
</ClCompile>
<ClCompile Include="..\..\src\ledger\test\InMemoryLedgerTxn.cpp">
<Filter>ledger\tests</Filter>
</ClCompile>
<ClCompile Include="..\..\src\ledger\test\InMemoryLedgerTxnRoot.cpp">
<Filter>ledger\tests</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\lib\util\cpptoml.h">
Expand Down Expand Up @@ -1796,9 +1814,6 @@
<ClInclude Include="..\..\src\bucket\test\BucketTestUtils.h">
<Filter>bucket\tests</Filter>
</ClInclude>
<ClInclude Include="..\..\src\bucket\Bucket.h">
<Filter>bucket</Filter>
</ClInclude>
<ClInclude Include="..\..\src\bucket\BucketApplicator.h">
<Filter>bucket</Filter>
</ClInclude>
Expand All @@ -1811,15 +1826,9 @@
<ClInclude Include="..\..\src\bucket\BucketInputIterator.h">
<Filter>bucket</Filter>
</ClInclude>
<ClInclude Include="..\..\src\bucket\BucketList.h">
<Filter>bucket</Filter>
</ClInclude>
<ClInclude Include="..\..\src\bucket\BucketManager.h">
<Filter>bucket</Filter>
</ClInclude>
<ClInclude Include="..\..\src\bucket\BucketManagerImpl.h">
<Filter>bucket</Filter>
</ClInclude>
<ClInclude Include="..\..\src\bucket\BucketMergeMap.h">
<Filter>bucket</Filter>
</ClInclude>
Expand Down Expand Up @@ -2087,12 +2096,6 @@
<ClInclude Include="..\..\src\ledger\FlushAndRotateMetaDebugWork.h">
<Filter>ledger</Filter>
</ClInclude>
<ClInclude Include="..\..\src\ledger\InMemoryLedgerTxn.h">
<Filter>ledger</Filter>
</ClInclude>
<ClInclude Include="..\..\src\ledger\InMemoryLedgerTxnRoot.h">
<Filter>ledger</Filter>
</ClInclude>
<ClInclude Include="..\..\src\ledger\InternalLedgerEntry.h">
<Filter>ledger</Filter>
</ClInclude>
Expand Down Expand Up @@ -2357,9 +2360,6 @@
<ClInclude Include="..\..\src\main\SettingsUpgradeUtils.h">
<Filter>main</Filter>
</ClInclude>
<ClInclude Include="..\..\src\bucket\BucketListSnapshot.h">
<Filter>bucket</Filter>
</ClInclude>
<ClInclude Include="..\..\src\bucket\BucketSnapshot.h">
<Filter>bucket</Filter>
</ClInclude>
Expand Down Expand Up @@ -2416,6 +2416,39 @@
<ClInclude Include="..\..\src\history\CheckpointBuilder.h">
<Filter>history</Filter>
</ClInclude>
<ClInclude Include="..\..\src\bucket\BucketBase.h">
<Filter>bucket</Filter>
</ClInclude>
<ClInclude Include="..\..\src\bucket\BucketListBase.h">
<Filter>bucket</Filter>
</ClInclude>
<ClInclude Include="..\..\src\bucket\BucketListSnapshotBase.h">
<Filter>bucket</Filter>
</ClInclude>
<ClInclude Include="..\..\src\bucket\HotArchiveBucket.h">
<Filter>bucket</Filter>
</ClInclude>
<ClInclude Include="..\..\src\bucket\HotArchiveBucketList.h">
<Filter>bucket</Filter>
</ClInclude>
<ClInclude Include="..\..\src\bucket\LiveBucket.h">
<Filter>bucket</Filter>
</ClInclude>
<ClInclude Include="..\..\src\bucket\LiveBucketList.h">
<Filter>bucket</Filter>
</ClInclude>
<ClInclude Include="..\..\src\bucket\SearchableBucketList.h">
<Filter>bucket</Filter>
</ClInclude>
<ClInclude Include="..\..\src\bucket\BucketUtils.h">
<Filter>bucket</Filter>
</ClInclude>
<ClInclude Include="..\..\src\ledger\test\InMemoryLedgerTxn.h">
<Filter>ledger\tests</Filter>
</ClInclude>
<ClInclude Include="..\..\src\ledger\test\InMemoryLedgerTxnRoot.h">
<Filter>ledger\tests</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<None Include="..\..\AUTHORS" />
Expand Down
11 changes: 6 additions & 5 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions docs/integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ stellar-core generates several types of data that can be used by applications, d

## Ledger State

Full [Ledger](ledger.md) snapshots are available in both:
Full [Ledger](ledger.md) snapshots are available via both:
* [history archives](history.md) (checkpoints, every 64 ledgers, updated every 5 minutes)
* in the case of captive-core (enabled via the `--in-memory` command line option) the ledger is maintained within the stellar-core process and ledger-state need to be tracked as it changes via "meta" updates.
* a stellar-core instance, where the ledger is maintained within the stellar-core process and ledger-state need to be tracked as it changes via "meta" updates.

## Ledger State transition information (transactions, etc)

Expand Down
Loading

0 comments on commit 80f8066

Please sign in to comment.