Versions in this module Expand all Collapse all v3 v3.0.1 Dec 25, 2023 v3.0.0 Dec 23, 2022 Changes in this version + func Genesis(genesisFile string) (*config.ChainConfig, error) + func GetVerifier(chainId string, consensusType consensus.ConsensusType) protocol.Verifier + func HandleCompatibility(chainConfig *config.ChainConfig) error + func IsNativeTxSucc(tx *common.Transaction) (contract string, b bool) + func RegisterVerifier(chainId string, consensusType consensus.ConsensusType, ...) error + type ChainConf struct + ChainConf *config.ChainConfig + func NewChainConf(opts ...Option) (*ChainConf, error) + func (c *ChainConf) AddVmWatch(w protocol.VmWatcher) + func (c *ChainConf) AddWatch(w protocol.Watcher) + func (c *ChainConf) ChainConfig() *config.ChainConfig + func (c *ChainConf) CompleteBlock(block *common.Block) error + func (c *ChainConf) GetChainConfigAt(blockHeight uint64) (*config.ChainConfig, error) + func (c *ChainConf) GetChainConfigFromFuture(futureBlockHeight uint64) (*config.ChainConfig, error) + func (c *ChainConf) GetConsensusNodeIdList() ([]string, error) + func (c *ChainConf) Init() error + func (c *ChainConf) SetChainConfig(chainConf *config.ChainConfig) error + func (f *ChainConf) Apply(opts ...Option) error + type ChainConfig struct + CaRoots map[string]struct{} + NodeIds map[string]string + NodeOrgIds map[string][]string + ResourcePolicies map[string]struct{} + func VerifyChainConfig(cconfig *config.ChainConfig) (*ChainConfig, error) + type Option func(f *options) error + func WithBlockchainStore(blockchainStore protocol.BlockchainStore) Option + func WithChainId(chainId string) Option + func WithMsgBus(msgBus msgbus.MessageBus) Option Other modules containing this package chainmaker.org/chainmaker/chainconf/v2