Versions in this module Expand all Collapse all v0 v0.0.1 May 23, 2023 Changes in this version + const DefaultGRPCPort + const DefaultJSONRPCPort + func ConsensusSupported(value string) bool + type Config struct + BlockTime uint64 + Chain *chain.Chain + DataDir string + GRPCAddr *net.TCPAddr + JSONLogFormat bool + JSONRPC *JSONRPC + LibP2PAddr *net.TCPAddr + LogFilePath string + LogLevel hclog.Level + MaxAccountEnqueued uint64 + MaxSlots uint64 + Network *network.Config + NumBlockConfirmations uint64 + PriceLimit uint64 + Relayer bool + RestoreFile *string + Seal bool + SecretsManager *secrets.SecretsManagerConfig + Telemetry *Telemetry + type ConsensusType string + const DevConsensus + const DummyConsensus + const IBFTConsensus + const PlgBFTConsensus + type Entry struct + Config map[string]interface{} + Enabled bool + type GenesisFactoryHook func(config *chain.Chain, engineName string) func(*state.Transition) error + type JSONRPC struct + AccessControlAllowOrigin []string + BatchLengthLimit uint64 + BlockRangeLimit uint64 + JSONRPCAddr *net.TCPAddr + type Server struct + func NewServer(config *Config) (*Server, error) + func (s *Server) Chain() *chain.Chain + func (s *Server) Close() + func (s *Server) JoinPeer(rawPeerMultiaddr string) error + type Telemetry struct + PrometheusAddr *net.TCPAddr