eigentrust

package
v0.36.0 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2023 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EpochIteration

type EpochIteration struct {
	// contains filtered or unexported fields
}

func NewEpochIteration

func NewEpochIteration(epoch uint64, iter uint32) *EpochIteration

func (EpochIteration) Epoch

func (x EpochIteration) Epoch() uint64

func (EpochIteration) I

func (x EpochIteration) I() uint32

func (*EpochIteration) Increment

func (x *EpochIteration) Increment()

func (*EpochIteration) SetEpoch

func (x *EpochIteration) SetEpoch(e uint64)

func (*EpochIteration) SetI

func (x *EpochIteration) SetI(i uint32)

type IterationTrust

type IterationTrust struct {
	EpochIteration
	reputation.Trust
}

Directories

Path Synopsis
storage

Jump to

Keyboard shortcuts

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