From 337ae6fb81babe658a1950dcede1248129e7a505 Mon Sep 17 00:00:00 2001 From: Leigh McCulloch <351529+leighmcculloch@users.noreply.github.com> Date: Thu, 14 Sep 2023 01:38:40 -0700 Subject: [PATCH] ingest: add preferred peers support to captive core backend (#5053) --- ingest/ledgerbackend/toml.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ingest/ledgerbackend/toml.go b/ingest/ledgerbackend/toml.go index a191b3489f..8e18aa9d13 100644 --- a/ingest/ledgerbackend/toml.go +++ b/ingest/ledgerbackend/toml.go @@ -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:"-"`