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
// LiveFeed API params
EnableLiveFeedAPI bool
EventReceiverProtocol string
EventReceiverHost string
EventReceiverPort int
EventSenderPort int
EventFormat string
EventSendStateChange bool
EventBroadcastContent string
EventReplayDuringStartup bool
PersistentReconnect bool
}
var Params *FactomParams
func (*FactomParams) PrettyPrint ¶
func (p *FactomParams) PrettyPrint()
PrettyPrint will print all the struct fields and their values to Stdout
Click to show internal directories.
Click to hide internal directories.