Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { DiscoveryBackends map[string]discovery.Factory DiscoveryEntries map[string]*Entry ProtocolBackends map[string]protocol.Factory ProtocolEntries map[string]*Entry BlockchainBackends map[string]storage.Factory BlockchainEntries map[string]*Entry ConsensusBackends map[string]consensus.Factory ConsensusEntry *Entry APIBackends map[string]api.Factory APIEntries map[string]*Entry Keystore keystore.Keystore Chain *chain.Chain BindAddr string BindPort int RPCAddr string RPCPort int DataDir string ServiceName string Seal bool StateStorage string }
Config is used to parametrize the minimal client
type Minimal ¶
type Minimal struct { Sealer *sealer.Sealer Blockchain *blockchain.Blockchain Key *ecdsa.PrivateKey InmemSink *metrics.InmemSink // contains filtered or unexported fields }
Minimal is the central manager of the blockchain client
func NewMinimal ¶
Click to show internal directories.
Click to hide internal directories.