eigentrust

package
v0.27.0 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2021 License: GPL-3.0 Imports: 2 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 (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 IterContext

type IterContext struct {
	context.Context
	EpochIteration
}

IterContext aggregates context and data required for iterations.

func NewIterContext

func NewIterContext(ctx context.Context, epoch uint64, iter uint32) *IterContext

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