globals

package
v6.5.0-p2p2-beta0+inco... Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2019 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 4 more Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var FnodeNames map[string]string = make(map[string]string) /// use by MessageTrace debug code
View Source
var HashMutex sync.Mutex

***************************************************************

	DEBUG logging to keep full hash. Turned on from command line
 ***************************************************************
View Source
var HashNext int
View Source
var Hashes map[[32]byte]bool
View Source
var HashesInOrder [10000]*[32]byte
View Source
var Hashlog io.Writer
View Source
var InputChan = make(chan string) // Get commands here
View Source
var LastDebugLogRegEx string // used to detect if FactomParams.DebugLogRegEx was changed by the control panel
View Source
var StartTime time.Time

Functions

This section is empty.

Types

type FactomParams

type FactomParams struct {
	AckbalanceHash           bool
	EnableNet                bool
	WaitEntries              bool
	ListenTo                 int
	Cnt                      int
	Net                      string
	Fnet                     string
	DropRate                 int
	Journal                  string
	Journaling               bool
	Follower                 bool
	Leader                   bool
	Db                       string
	CloneDB                  string
	PortOverride             int
	Peers                    string
	NetworkName              string
	NetworkPortOverride      int
	ControlPanelPortOverride int
	LogPort                  string
	BlkTime                  int
	FaultTimeout             int
	RoundTimeout             int
	RuntimeLog               bool
	Exclusive                bool
	ExclusiveIn              bool
	P2PIncoming              int
	P2POutgoing              int
	Prefix                   string
	Rotate                   bool
	TimeOffset               int
	KeepMismatch             bool
	StartDelay               int64
	Deadline                 int
	CustomNet                []byte
	CustomNetName            string
	RpcUser                  string
	RpcPassword              string
	FactomdTLS               bool
	FactomdLocations         string
	MemProfileRate           int
	Fast                     bool
	FastLocation             string
	FastSaveRate             int
	Loglvl                   string
	Logjson                  bool
	Svm                      bool
	PluginPath               string
	TorManage                bool
	TorUpload                bool
	Sim_Stdin                bool
	ExposeProfiling          bool
	UseLogstash              bool
	LogstashURL              string
	Sync2                    int
	DebugConsole             string
	StdoutLog                string
	StderrLog                string
	DebugLogRegEx            string
	ConfigPath               string
	CheckChainHeads          bool // Run checkchain heads on boot
	FixChainHeads            bool // Only matters if CheckChainHeads == true
	ControlPanelSetting      string
	WriteProcessedDBStates   bool // Write processed DBStates to debug file
	NodeName                 string
	FactomHome               string
	FullHashesLog            bool // Log all unique full hashes
	DebugLogLocation         string
	ReparseAnchorChains      bool
}
var Params FactomParams

Jump to

Keyboard shortcuts

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