types

package
v0.23.2 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2020 License: LGPL-3.0 Imports: 2 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FlipAnswerStats

type FlipAnswerStats struct {
	Respondent common.Address
	Answer     types.Answer
	Grade      types.Grade
	Point      float32
}

type FlipStats

type FlipStats struct {
	ShortAnswers []FlipAnswerStats
	LongAnswers  []FlipAnswerStats
	Status       byte
	Answer       types.Answer
	Grade        types.Grade
}

type IdentityStats

type IdentityStats struct {
	ShortPoint        float32
	ShortFlips        uint32
	LongPoint         float32
	LongFlips         uint32
	Approved          bool
	Missed            bool
	ShortFlipsToSolve []int
	LongFlipsToSolve  []int
}

type ValidationStats

type ValidationStats struct {
	IdentitiesPerAddr map[common.Address]*IdentityStats
	FlipsPerIdx       map[int]*FlipStats
	FlipCids          [][]byte
	Failed            bool
}

func NewValidationStats

func NewValidationStats() *ValidationStats

Jump to

Keyboard shortcuts

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