Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NodeMetadata ¶
func (NodeMetadata) MarshalJSON ¶
func (m NodeMetadata) MarshalJSON() ([]byte, error)
type Result ¶
type Result struct {
Result execute.RuntimeOutput `json:"result,omitempty"`
// Peers that got this result.
Peers []peer.ID `json:"peers,omitempty"`
// Peers metadata
Metadata NodeMetadata `json:"metadata,omitempty"`
// How frequent was this result, in percentages.
Frequency float64 `json:"frequency,omitempty"`
}
Result represents the execution result along with its aggregation stats.
Click to show internal directories.
Click to hide internal directories.