Documentation
¶
Index ¶
Constants ¶
View Source
const PluginName = "WebAPIToolsDRNGEndpoint"
PluginName is the name of the web API tools DRNG endpoint plugin.
View Source
const (
// RouteDiagnosticsDRNG is the API route for DRNG diagnostics
RouteDiagnosticsDRNG = routeDiagnostics + "/drng"
)
Variables ¶
View Source
var DiagnosticDRNGMessagesTableDescription = []string{
"ID",
"IssuerID",
"IssuerPublicKey",
"IssuanceTime",
"ArrivalTime",
"SolidTime",
"ScheduledTime",
"BookedTime",
"OpinionFormedTime",
"dRNGPayloadType",
"InstanceID",
"Round",
"PreviousSignature",
"Signature",
"DistributedPK",
}
DiagnosticDRNGMessagesTableDescription holds the description of the diagnostic dRNG messages.
View Source
var ( // Plugin is the plugin instance of the web API tools messages endpoint plugin. Plugin = node.NewPlugin(PluginName, deps, node.Enabled, configure) )
Functions ¶
func DiagnosticDRNGMessagesHandler ¶
DiagnosticDRNGMessagesHandler runs the diagnostic over the Tangle.
Types ¶
type DiagnosticDRNGMessagesInfo ¶
type DiagnosticDRNGMessagesInfo struct {
ID string
IssuerID string
IssuerPublicKey string
IssuanceTimestamp time.Time
ArrivalTime time.Time
SolidTime time.Time
ScheduledTime time.Time
BookedTime time.Time
OpinionFormedTime time.Time
PayloadType string
InstanceID uint32
Round uint64
PreviousSignature string
Signature string
DistributedPK string
}
DiagnosticDRNGMessagesInfo holds the information of a dRNG message.
Click to show internal directories.
Click to hide internal directories.