 Documentation
      ¶
      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
}
     Click to show internal directories. 
   Click to hide internal directories.