package
6.17.1+incompatible
Repository: https://github.com/factomproject/factomd.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
No description provided by the author
*************************************************************** Checkpoint DBKeyMR***************************************************************.
No description provided by the author
No description provided by the author
Sig is signed message, msg is raw message.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
return a (possibly empty) of coinbase payouts to be scheduled at this height.
Return the Hard Coded Grants.
No description provided by the author
put a height in the first 5 bytes of a hash so we can use it to look up dependent message in holding.
No description provided by the author
No description provided by the author
This function will be replaced by a calculation from the Matryoshka hashes from the servers but for now, we are just going to make it a function of the dbheight.
Remember that Unix time is in seconds since 1970.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewEntrySync creates a new EntrySync.
No description provided by the author
No description provided by the author
NewMissingState creates a new MissingState for the DBState at a specific height.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewRateCalculatorTime is good for unit tests, or if you want to change the measureing time.
NewReceivedState creates a new member for the StatesReceived list.
No description provided by the author
NewStatesMissing creates a new list of missing DBStates.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NonBlockingChannelAdd will only add to the channel if the action is non-blocking.
No description provided by the author
No description provided by the author
No description provided by the author
Called by AddServer Message.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
RegisterPrometheus registers the variables to be exposed.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Constants
BATCH_SIZE is the amount of blocks per torrent.
Double this for the period we protect, i.e.
# Variables
No description provided by the author
No description provided by the author
Queues.
good-ish value.
EntrySyncMaxEBlocks is the maximum amount of eblocks to process concurrently.
EntrySyncRetry dictates after what period to retry an unanswered request.
EntrySyncWarning is the number of failed requests before warning in the console.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Entry Syncing Controller.
No description provided by the author
Filter hold two hours of messages, one in the past one in the future.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Executions.
Eom/DBSig delay.
No description provided by the author
No description provided by the author
Where all Identities register.
Used by debug code only.
Time window for identity to require registration: 24hours = 144 blocks.
No description provided by the author
Acks Queue.
No description provided by the author
Commits map.
No description provided by the author
No description provided by the author
No description provided by the author
Holding Queue.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
MsgQueue chan.
No description provided by the author
No description provided by the author
ProcessList.
No description provided by the author
No description provided by the author
No description provided by the author
Durations.
TPS.
XReview Queue.
No description provided by the author
No description provided by the author
# Structs
map of the last N Acks indexed by height.
No description provided by the author
CrossReplayFilter checks for old messages across reboots based on the salts inside the ack messages.
Data needed to add to admin block.
No description provided by the author
No description provided by the author
This struct will contain all information wanted by the control panel from the state.
EntrySync is responsible for sending the requests to fetch missing entries to the network.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
This hold a slice of messages dependent on a hash.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
MissingMessageResponseCache will cache all processlist items from the last 2 blocks.
MissingState is information about a DBState that is known to exist but is not available on the current node.
No description provided by the author
No description provided by the author
No description provided by the author
map of the last N messages indexed by hash.
The pair of messages for a missing message response.
No description provided by the author
No description provided by the author
No description provided by the author
RateCalculator will maintain the rate of msgs arriving and rate of msgs leaving a queue.
ReceivedState represents a DBStateMsg received from the network.
Keep the history last N acks and Ackable messages.
No description provided by the author
SafeMsgMap is a threadsafe map[[32]byte]interfaces.IMsg.
Because we have to go back to a previous state should the network be partitioned and we are on a separate branch, we need to log our state periodically so we can reset to a state prior to the network partition.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
StatesReceived is the list of DBStates received from the network.
No description provided by the author
Controls the flow of uploading torrents.
No description provided by the author
No description provided by the author
No description provided by the author
# Interfaces
No description provided by the author
IPrometheusRateMethods indicated which prometheus counters/gauges to set.