github.com/nitinawathare/ethereumassignment3@v0.0.0-20211021213010-f07344c2b868/go-ethereum/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  }