Documentation ¶
Index ¶
Constants ¶
View Source
const ( Native Mode = "native" External = "external" Neutrino = "neutrino" Light = "light" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseConfig ¶
type Config ¶
type Config struct { BaseConfig Mode string `usage:"%(name)s service mode"` Rpchost string `usage:"External %(name)s RPC hostname"` Rpcport uint16 `usage:"External %(name)s RPC port"` Rpcuser string `usage:"External %(name)s RPC username"` Rpcpass string `usage:"External %(name)s RPC password"` Zmqpubrawblock string `usage:"External %(name)s ZeroMQ raw blocks publication address"` Zmqpubrawtx string `usage:"External %(name)s ZeroMQ raw transactions publication address"` }
type Service ¶
func (*Service) GetDefaultConfig ¶
func (t *Service) GetDefaultConfig() interface{}
func (*Service) GetRpcParams ¶
Click to show internal directories.
Click to hide internal directories.