github.com/daeglee/go-ethereum@v0.0.0-20190504220456-cad3e8d18e9b/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  }