package
0.0.0-20230301081111-79ba34714ab8
Repository: https://github.com/truecloudlab/frostfs-node.git
Documentation: pkg.go.dev
# Functions
New creates a new instance of the Calculator.
WithLogger returns option to specify logging component.
# Structs
No description provided by the author
Calculator is a processor of a single iteration of EigenTrust algorithm.
Prm groups the required parameters of the Calculator's constructor.
# Interfaces
AlphaProvider must provide information about required alpha parameter for eigen trust algorithm.
No description provided by the author
No description provided by the author
InitialTrustSource must provide initial(non-calculated) trusts to current node's daughter.
IntermediateWriter must write intermediate result to contract.
IntermediateWriterProvider must provide ready-to-work IntermediateWriter.
PeerTrustsIterator must iterate over all nodes(PeerIDs) and provide TrustIterator for iteration over node's Trusts to others peers.
TrustIterator must iterate over all retrieved(or calculated) trusts and call passed TrustHandler on them.
# Type aliases
Option sets an optional parameter of Controller.
No description provided by the author