Skip to content

Commit

Permalink
ingest: add preferred peers support to captive core backend (#5053)
Browse files Browse the repository at this point in the history
  • Loading branch information
leighmcculloch authored Sep 14, 2023
1 parent b19a4ce commit 337ae6f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ingest/ledgerbackend/toml.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@ type captiveCoreTomlValues struct {
UnsafeQuorum bool `toml:"UNSAFE_QUORUM,omitempty"`
RunStandalone bool `toml:"RUN_STANDALONE,omitempty"`
ArtificiallyAccelerateTimeForTesting bool `toml:"ARTIFICIALLY_ACCELERATE_TIME_FOR_TESTING,omitempty"`
PreferredPeers []string `toml:"PREFERRED_PEERS,omitempty"`
PreferredPeerKeys []string `toml:"PREFERRED_PEER_KEYS,omitempty"`
PreferredPeersOnly bool `toml:"PREFERRED_PEERS_ONLY,omitempty"`
HomeDomains []HomeDomain `toml:"HOME_DOMAINS,omitempty"`
Validators []Validator `toml:"VALIDATORS,omitempty"`
HistoryEntries map[string]History `toml:"-"`
Expand Down

0 comments on commit 337ae6f

Please sign in to comment.