[#482] reputation: Fix typos in comments
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
parent
66ddff3498
commit
1c92dc2414
3 changed files with 3 additions and 3 deletions
|
@ -13,7 +13,7 @@ import (
|
|||
// Passing incorrect parameter values will result in constructor
|
||||
// failure (error or panic depending on the implementation).
|
||||
type Prm struct {
|
||||
// Alpha parameter from origin EigenTrust algortihm
|
||||
// Alpha parameter from origin EigenTrust algorithm
|
||||
// http://ilpubs.stanford.edu:8090/562/1/2002-56.pdf Ch.5.1.
|
||||
//
|
||||
// Must be in range (0, 1).
|
||||
|
|
|
@ -31,7 +31,7 @@ func (x *Storage) Put(trust eigentrust.IterationTrust) {
|
|||
s.put(trust)
|
||||
}
|
||||
|
||||
// Consumers returns the storage of trusts of the consumers of the daugher peers
|
||||
// Consumers returns the storage of trusts of the consumers of the daughter peers
|
||||
// for particular iteration of EigenTrust calculation for particular epoch.
|
||||
//
|
||||
// Returns false if there is no data for the epoch and iter.
|
||||
|
|
|
@ -13,7 +13,7 @@ import (
|
|||
// The component is not parameterizable at the moment.
|
||||
type Prm struct{}
|
||||
|
||||
// Storage represents in-memory storage that of the trusts
|
||||
// Storage represents in-memory storage of the trusts
|
||||
// of the consumer peers.
|
||||
//
|
||||
// It maps epoch numbers to the repositories of intermediate
|
||||
|
|
Loading…
Reference in a new issue