Versions in this module Expand all Collapse all v0 v0.0.32 Oct 15, 2021 v0.0.31 Oct 15, 2021 v0.0.30 Oct 15, 2021 Changes in this version + var DevChain = &ChainInfo + var MainChain = &ChainInfo + var TestnetChainV1 = &ChainInfo type AppConfig + func (c *AppConfig) GetRepoPath(name string) string type ChainInfo + ChainSeedPeers []string + DHTSeedPeers []string v0.0.29 Sep 5, 2021 Changes in this version type ChainInfo + Configurer func(cfg *AppConfig, tmcfg *tmcfg.Config) + func (ci *ChainInfo) Configure(cfg *AppConfig, tmcfg *tmcfg.Config) type Info + Configure func(cfg *AppConfig, tmc *tmcfg.Config) v0.0.28 Apr 2, 2021 Changes in this version + const DefaultNetVersion + const GenDataTypeAccount + const GenDataTypeRepo + const MainNetVersion + const ModeDev + const ModeProd + const ModeTest + var AppEnvPrefix = AppName + var AppName = "kit" + var ChainSeedPeers = []string + var DHTSeedPeers = []string + var DefaultDHTAddress = ":9003" + var DefaultDataDir = os.ExpandEnv("$HOME/." + AppName) + var DefaultLightNodeTrustPeriod = 168 * time.Hour + var DefaultNodeAddress = ":9000" + var DefaultPassAgentPort = "9004" + var DefaultRemoteServerAddress = ":9002" + var DefaultTMRPCAddress = "127.0.0.1:9001" + var Dev = &ChainInfo + var KeystoreDirName = "keystore" + var NoColorFormatting = false + var TestnetV1 = &ChainInfo + func Configure(appCfg *AppConfig, tmcfg *config.Config, initializing bool) + func GetInterrupt() *util.Interrupt + func GetNetVersion() uint64 + func GetRawGenesisData(devMode bool) json.RawMessage + func IsMainNet() bool + func IsMainNetVersion(version uint64) bool + func IsTendermintInitialized(tmcfg *config.Config) bool + func SetVersion(netVersion uint64) + type AppConfig struct + DHT *DHTConfig + GenesisFileEntries []*GenDataEntry + Mempool *MempoolConfig + Net *NetConfig + Node *NodeConfig + RPC *RPCConfig + Remote *RemoteConfig + Repo *RepoConfig + VersionInfo *VersionInfo + func EmptyAppConfig() *AppConfig + func GetConfig() *AppConfig + func (c *AppConfig) DataDir() string + func (c *AppConfig) G() *Globals + func (c *AppConfig) GetAppDBDir() string + func (c *AppConfig) GetAppName() string + func (c *AppConfig) GetConsoleHistoryPath() string + func (c *AppConfig) GetDBRootDir() string + func (c *AppConfig) GetDHTStoreDir() string + func (c *AppConfig) GetExtensionDir() string + func (c *AppConfig) GetRepoRoot() string + func (c *AppConfig) GetStateTreeDBDir() string + func (c *AppConfig) IsAttachMode() bool + func (c *AppConfig) IsDev() bool + func (c *AppConfig) IsLightNode() bool + func (c *AppConfig) IsProd() bool + func (c *AppConfig) IsTest() bool + func (c *AppConfig) IsValidatorNode() bool + func (c *AppConfig) KeystoreDir() string + func (c *AppConfig) LoadKeys(nodeKeyFile, privValKeyFile, privValStateFile string) *p2p.NodeKey + func (c *AppConfig) NetDataDir() string + func (c *AppConfig) SetDataDir(d string) + func (c *AppConfig) SetNetDataDir(d string) + func (c *AppConfig) SetRepoRoot(dir string) + type ChainInfo struct + Configurator func(cfg *AppConfig, tmcfg *tmcfg.Config) + GenesisTime uint64 + Name string + NetVersion int + Validators []string + func (ci *ChainInfo) Config(cfg *AppConfig, tmcfg *tmcfg.Config) + func (ci *ChainInfo) GetName() string + func (ci *ChainInfo) GetVersion() int + type DHTConfig struct + Address string + BootstrapPeers string + On bool + type GenDataEntry struct + Address string + Balance string + Config map[string]interface{} + Helm bool + Name string + Owners map[string]*RepoOwner + Type string + func RawStateToGenesisData(state json.RawMessage) (entries []*GenDataEntry) + type Globals struct + Bus *emitter.Emitter + Log logger.Logger + NodeKey *p2p.NodeKey + PrivVal *ed25519.FilePV + TMConfig *tmcfg.Config + type Info interface + Config func(cfg *AppConfig, tmc *tmcfg.Config) + GetName func() string + GetVersion func() int + func Get(version string) Info + type MempoolConfig struct + CacheSize int + MaxTxSize int + MaxTxsSize int64 + Size int + type NetConfig struct + Version uint64 + type NodeConfig struct + Extensions []string + ExtensionsArgs map[string]string + GitBinPath string + IgnoreSeeds bool + Light bool + LightMaxOpenConnections int + LightNodePrimaryAddr string + LightNodeSequentialVerification bool + LightNodeTrustLevel string + LightNodeTrustedHeaderHash string + LightNodeTrustedHeaderHeight int64 + LightNodeTrustingPeriod string + LightNodeWitnessAddrs []string + ListeningAddr string + Mode int + PersistentPeers string + Validator bool + type RPCConfig struct + AuthPubMethod bool + DisableAuth bool + HTTPS bool + On bool + Password string + TMRPCAddress string + User string + type RemoteConfig struct + Address string + Name string + type RepoConfig struct + Track []string + Untrack []string + UntrackAll bool + type RepoOwner struct + Creator bool + JoinedAt uint64 + Veto bool + type VersionInfo struct + BuildCommit string + BuildDate string + BuildVersion string + GoVersion string v0.0.27 Jan 6, 2021 v0.0.26 Jan 6, 2021 v0.0.25 Jan 6, 2021 v0.0.24 Dec 20, 2020 v0.0.23 Dec 20, 2020 v0.0.22 Dec 20, 2020 v0.0.21 Dec 20, 2020 v0.0.20 Dec 19, 2020 v0.0.19 Dec 19, 2020 v0.0.18 Dec 7, 2020