Versions in this module Expand all Collapse all v1 v1.0.0 Dec 6, 2022 Changes in this version + const DefaultRpcMaxRecvMsgSize + const DefaultRpcMaxSendMsgSize + var ConfigFilepath = "./herbt.yml" + var FindNewBlockChainNotifyC = make(chan string) + var HerbtConfigInstance = &HerbtConfig + func CheckNewCmBlockChainConfig() error + func InitLocalConfig(cmd *cobra.Command) error + func RefreshLogLevelsConfig() error + func UpdateDebugConfig(pairs []*config.ConfigKeyValue) error + type BirdsNestConfig struct + Cuckoo CuckooConfig + Length uint32 + Rules RulesConfig + Snapshot SnapshotSerializerConfig + type BlockHeightSerializeIntervalConfig struct + Interval int + type BlockchainConfig struct + ChainId string + Genesis string + type ConsensusConfig struct + RaftConfig raftConfig + type CuckooConfig struct + BitsPerItem uint32 + KeyType int32 + MaxNumKeys uint32 + TableType uint32 + TagsPerBucket uint32 + type FilterExtensionConfig struct + AbsoluteExpireTime int64 + type HerbtConfig struct + AuthType string + BlockChainConfig []BlockchainConfig + ConsensusConfig ConsensusConfig + CoreConfig coreConfig + CryptoEngine string + DebugConfig debugConfig + LogConfig logger.LogConfig + MonitorConfig monitorConfig + NetConfig netConfig + NodeConfig nodeConfig + PProfConfig pprofConfig + RpcConfig rpcConfig + SchedulerConfig schedulerConfig + StorageConfig map[string]interface{} + SyncConfig syncConfig + TxFilter TxFilterConfig + TxPoolConfig map[string]interface{} + VMConfig vmConfig + func (c *HerbtConfig) Deal() + func (c *HerbtConfig) GetBlockChains() []BlockchainConfig + func (c *HerbtConfig) GetP11Handle() (*pkcs11.P11Handle, error) + func (c *HerbtConfig) GetStorePath() string + func (c *HerbtConfig) PrettyJson() (string, error) + func (c *HerbtConfig) SetNodeId(nodeId string) + type RulesConfig struct + AbsoluteExpireTime int64 + type ShardingBirdsNestConfig struct + BirdsNest BirdsNestConfig + Length uint32 + Snapshot SnapshotSerializerConfig + Timeout int64 + type SnapshotSerializerConfig struct + BlockHeight BlockHeightSerializeIntervalConfig + Path string + Timed TimedSerializeIntervalConfig + Type int + type TimedSerializeIntervalConfig struct + Interval int + type TxFilterConfig struct + BirdsNest BirdsNestConfig + ShardingBirdsNest ShardingBirdsNestConfig + Type int32