Versions in this module Expand all Collapse all v1 v1.2.2 Jan 4, 2022 Changes in this version + const BalanceMonitorSubSize + const BlkSizePerRequest + const BlkStreamDelim + const ChainDataStreamDelim + const ConfigMonitorSubSize + const DefaultDataBaseDir + const EthApiTryTimeInterval + const THNameBlockAdmin + const ThNameAccountStore + const ThNameBalanceListen + const ThNameConfigListen + const ThNameConsensus + func BalanceEthKey() *ecdsa.PrivateKey + func InitConfig(c *Config, ethPk string) + type Chain struct + func Inst() *Chain + func (c *Chain) CheckLocalBlocks() error + func (c *Chain) ProcChainDataRequestFromP2pNetwork(stream network.Stream) + func (c *Chain) ProcMinedNewBlockByPrime(blk *pbs.BlockMined) error + func (c *Chain) ShutDown() + func (c *Chain) Start(id string, findPeer func(pid string) (network.Stream, error)) error + type Config struct + DataBaseDir string + func DefaultConfig(isMain bool, base string) *Config + func (c *Config) String() string