flag

package
v1.1.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 10, 2020 License: MIT Imports: 12 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	StartScanHeight    int32 = -1 // We work with the signed value.
	FactomScanInterval time.Duration
	LogDebug           bool
	DisablePending     bool
	RepairDB           bool
	FactomScanRetries  int64 = -1

	EsAdr factom.EsAddress
	ECAdr factom.ECAddress

	DBPath string

	APIAddress  string
	APIMaxLimit uint64
	APITimeout  time.Duration

	FactomClient = factom.NewClient()
	NetworkID    factom.NetworkID

	Completion *complete.Complete

	Whitelist, Blacklist Bytes32List

	SkipDBValidation bool

	HasAuth  bool
	Username string
	Password string

	HasTLS      bool
	TLSCertFile string
	TLSKeyFile  string
)
View Source
var Revision string

Functions

func HasWhitelist

func HasWhitelist() bool

func IgnoreNewChains

func IgnoreNewChains() bool

func Parse

func Parse()

func Validate

func Validate()

Types

type Bytes32List

type Bytes32List []factom.Bytes32

func (*Bytes32List) Set

func (b32s *Bytes32List) Set(s string) error

Set appends a comma seperated list of factom.FAAddresses.

func (Bytes32List) String

func (b32s Bytes32List) String() string

type FAAddressList

type FAAddressList []factom.FAAddress

func (*FAAddressList) Set

func (adrs *FAAddressList) Set(s string) error

Set appends a comma seperated list of factom.FAAddresses.

func (FAAddressList) String

func (adrs FAAddressList) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL