Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update INVARIANT_CHECKS documentation in stellar-core_example.cfg #4598

Merged
merged 1 commit into from
Dec 21, 2024
Merged
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
12 changes: 10 additions & 2 deletions docs/stellar-core_example.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,8 @@ RUN_STANDALONE=false
# on bucket apply.
# Strings specified are matched (as regex) against the list of invariants.
# For example, to enable all invariants use ".*"
# INVARIANT_CHECKS = [.*]
#
# List of invariants:
# - "AccountSubEntriesCountIsValid"
# Setting this will cause additional work on each operation apply - it
Expand All @@ -440,7 +442,8 @@ RUN_STANDALONE=false
# detailed information about what is checked see the comment in the header
# invariant/BucketListIsConsistentWithDatabase.h.
# The overhead may cause a system to catch-up more than once before being
# in sync with the network.
# in sync with the network. This may also increase startup time as it checks
# the entire state of the database.
# - "CacheIsConsistentWithDatabase"
# Setting this will cause additional work on each operation apply - it
# checks if internal cache of ledger entries is consistent with content of
Expand All @@ -466,7 +469,12 @@ RUN_STANDALONE=false
# in the header invariant/LiabilitiesMatchOffers.h.
# The overhead may cause slower systems to not perform as fast as the rest
# of the network, caution is advised when using this.
INVARIANT_CHECKS = []
INVARIANT_CHECKS = [ "AccountSubEntriesCountIsValid",
"ConservationOfLumens",
"ConstantProductInvariant",
"LedgerEntryIsValid",
"LiabilitiesMatchOffers",
"SponsorshipCountIsValid" ]


# MANUAL_CLOSE (true or false) defaults to false
Expand Down