github.com/letterj/go-ethereum@v1.8.22-0.20190204142846-520024dfd689/eth/ulc_config.go (about)

     1  package eth
     2  
     3  const DefaultULCMinTrustedFraction = 75
     4  
     5  // ULCConfig is a Ultra Light client options.
     6  type ULCConfig struct {
     7  	TrustedServers     []string `toml:",omitempty"` // A list of trusted servers
     8  	MinTrustedFraction int      `toml:",omitempty"` // Minimum percentage of connected trusted servers to validate trusted (1-100)
     9  }