[#488] reputation/eigentrust/calculator: Implement calc wrapper
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
parent
d3c1fc7dda
commit
ea781664cf
14 changed files with 294 additions and 53 deletions
|
@ -18,6 +18,7 @@ import (
|
|||
type managerBuilder struct {
|
||||
log *logger.Logger
|
||||
nmSrc netmapcore.Source
|
||||
opts *mngOptions
|
||||
}
|
||||
|
||||
// ManagersPrm groups the required parameters of the managerBuilder's constructor.
|
||||
|
@ -50,6 +51,7 @@ func NewManagerBuilder(prm ManagersPrm, opts ...MngOption) common.ManagerBuilder
|
|||
return &managerBuilder{
|
||||
log: o.log,
|
||||
nmSrc: prm.NetMapSource,
|
||||
opts: o,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue