Versions in this module Expand all Collapse all v1 v1.0.0 May 26, 2022 Changes in this version + func DefaultDataDir() string + func EnsureRoot(rootDir string, network string) + func GenesisBlock() *types.Block + func GenesisTxs() []*types.Tx + type AssetIssue struct + Amount uint64 + AssetDefinitionStr string + AssetIDStr string + IssuanceProgramStr string + NonceStr string + type BaseConfig struct + ApiAddress string + ChainID string + DBBackend string + DBPath string + KeysPath string + LogFile string + LogLevel string + Mining bool + Moniker string + NodeAlias string + PrivateKeyFile string + ProfListenAddress string + RootDir string + VaultMode bool + XPrv *chainkd.XPrv + XPub *chainkd.XPub + func DefaultBaseConfig() BaseConfig + func (b BaseConfig) DBDir() string + func (b BaseConfig) KeysDir() string + func (b BaseConfig) LogDir() string + type Config struct + Auth *RPCAuthConfig + P2P *P2PConfig + Wallet *WalletConfig + Web *WebConfig + Websocket *WebsocketConfig + var CommonConfig *Config + func DefaultConfig() *Config + func (cfg *Config) PrivateKey() *chainkd.XPrv + func (cfg *Config) SetRoot(root string) *Config + type P2PConfig struct + DialTimeout int + HandshakeTimeout int + KeepDial string + LANDiscover bool + ListenAddress string + MaxNumPeers int + ProxyAddress string + ProxyPassword string + ProxyUsername string + Seeds string + SkipUPNP bool + func DefaultP2PConfig() *P2PConfig + type RPCAuthConfig struct + Disable bool + func DefaultRPCAuthConfig() *RPCAuthConfig + type WalletConfig struct + Disable bool + MaxTxFee uint64 + Rescan bool + TxIndex bool + func DefaultWalletConfig() *WalletConfig + type WebConfig struct + Closed bool + func DefaultWebConfig() *WebConfig + type WebsocketConfig struct + MaxNumConcurrentReqs int + MaxNumWebsockets int + func DefaultWebsocketConfig() *WebsocketConfig