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

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