Skip to content

Commit

Permalink
fixup! tapdb+universe: add store general and uni specific fed sync co…
Browse files Browse the repository at this point in the history
…nfig
  • Loading branch information
ffranr committed Oct 3, 2023
1 parent 0b085c3 commit 4f42c0a
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions universe/interface.go
Original file line number Diff line number Diff line change
Expand Up @@ -594,11 +594,9 @@ func NewSyncProofTypesFromString(s string) (SyncProofTypes, error) {
// FedGeneralSyncConfig is a config that can be used to specify the general
// federation sync behavior.
type FedGeneralSyncConfig struct {
// ProofTypes represents the proof types that should be synced for
// universes which do not have a specific config.
ProofTypes SyncProofTypes

//// OnlySyncIssuanceProofs is a flag which indicates that only issuance
//// proofs should be synced.
//OnlySyncIssuanceProofs bool
}

// FedUniSyncConfig is a config that can be used to specify the federation sync
Expand All @@ -607,15 +605,9 @@ type FedUniSyncConfig struct {
// UniverseID is the ID of the Universe that the config is for.
UniverseID Identifier

// ProofTypes represents the proof types that should be synced for the
// target Universe.
ProofTypes SyncProofTypes

//// Exclude is a flag which indicates that the given universe should be
//// excluded from the federation sync process.
//Exclude bool
//
//// OnlySyncIssuanceProofs is a flag which indicates that only issuance
//// proofs should be synced for the given universe.
//OnlySyncIssuanceProofs bool
}

// FederationSyncConfigDB is used to manage the set of Universe servers as part
Expand Down

0 comments on commit 4f42c0a

Please sign in to comment.