Versions in this module Expand all Collapse all v0 v0.1.1 Feb 25, 2019 Changes in this version + const DefaultMinimumFee + var DBVersion = "1.0.0" + var ErrTorAddress = errors.New("cannot use tor address") + var Version = "unreleased" + func BaseDir(s []byte) (string, error) + type Address struct + Address string + Port uint16 + type Setting struct + Bind string + Blacklists []string + Cancel context.CancelFunc + Debug bool + DefaultNodes []string + ExplorerBind string + ExplorerMaxConnections uint16 + ExplorerPort uint16 + MaxConnections uint16 + MinerAddress string + MinimumFee float64 + MyHostPort string + Port uint16 + Proxy string + RPCAllowPublicPoW bool + RPCBind string + RPCMaxConnections uint16 + RPCPassword string + RPCPort uint16 + RPCTxTag string + RPCUser string + RootDir string + RunExplorer bool + RunFeeMiner bool + RunTicketIssuer bool + RunTicketMiner bool + RunValidator bool + Testnet byte + TrustAllNodes bool + TrustedNodes []string + UsePublicRPC bool + UseTor bool + UseWalletRPC bool + ValidatorSecret string + Version string + WalletNotify string + Wg sync.WaitGroup + WgMsg sync.WaitGroup + func GetDefault(net int) (*Setting, error) + func Load(s []byte) (*Setting, error) + func (s *Setting) BaseDir() string + func (s *Setting) CheckAddress(adr string, hasPort, isEmptyHost bool) error + func (s *Setting) InBlacklist(remote string) bool + func (s *Setting) IsTrusted(adr string) bool + func (s *Setting) OpenDB() error + func (s *Setting) Sign(v proto.Marshaler) (*address.Signature, error) + func (s *Setting) ValidatorAddress() (*address.Address, error) + func (s *Setting) ValidatorsHash() []byte