Versions in this module Expand all Collapse all v2 v2.1.0 Dec 22, 2021 Changes in this version + const ChainMakerLight + const ChainMakerSPV + const FabricSPV + var Filepath = "../config/spv.yml" + var RemoteChainConfigs = make(map[string]*protogo.RemoteConfig) + var SPVConfig = &LocalConfig + func InitSPVConfig(cmd *cobra.Command) error + func InitSPVConfigWithYmlFile(ymlFile string) error + type ChainConfig struct + ChainId string + ChainType string + ConcurrentNums int32 + FabricConfig *FabricExtraConfig + SDKConfigPath string + SyncInterval int32 + type FabricExtraConfig struct + Peers []*Peer + type GRPCConfig struct + Address string + EnableTLS bool + Port int + Security *TransportSecurity + func (gRPCConfig *GRPCConfig) ToUrl() string + type LevelDBConfig struct + BloomFilterBits int + StorePath string + WriteBufferSize int + type LocalConfig struct + Chains []*ChainConfig + GRPCConfig *GRPCConfig + LogConfig *logger.LogConfig + StorageConfig *StoreConfig + WebConfig *WebConfig + func (c *LocalConfig) GetChainConfig(chainId string) (*ChainConfig, error) + type Peer struct + PeerName string + type StoreConfig struct + LevelDB *LevelDBConfig + Provider string + type TransportSecurity struct + CAFile []string + CertFile string + EnableCertAuth bool + KeyFile string + type WebConfig struct + Address string + EnableTLS bool + Port int + Security *TransportSecurity + func (webConfig *WebConfig) ToUrl() string