Documentation
¶
Index ¶
Constants ¶
View Source
const DefaultGRPCPort int = 9632
View Source
const DefaultJSONRPCPort int = 8545
Variables ¶
This section is empty.
Functions ¶
func ConsensusSupported ¶ added in v0.3.0
Types ¶
type Config ¶
type Config struct {
Chain *chain.Chain
JSONRPC *JSONRPC
GRPCAddr *net.TCPAddr
LibP2PAddr *net.TCPAddr
PriceLimit uint64
MaxSlots uint64
BlockTime uint64
Telemetry *Telemetry
Network *network.Config
DataDir string
RestoreFile *string
Seal bool
SecretsManager *secrets.SecretsManagerConfig
LogLevel hclog.Level
LogFilePath string
}
Config is used to parametrize the minimal client
type ConsensusType ¶ added in v0.3.0
type ConsensusType string
const ( DevConsensus ConsensusType = "dev" IBFTConsensus ConsensusType = "ibft" DummyConsensus ConsensusType = "dummy" )
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Minimal is the central manager of the blockchain client
Click to show internal directories.
Click to hide internal directories.