[#222] reputation: Clarify docs of GlobalTrust formation
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
ff09b1cfe1
commit
cec2373b50
1 changed files with 2 additions and 1 deletions
|
@ -214,7 +214,8 @@ func (x PeerToPeerTrust) Trust() (res Trust) {
|
|||
// GlobalTrust is mutually compatible with github.com/nspcc-dev/neofs-api-go/v2/reputation.GlobalTrust
|
||||
// message. See ReadFromV2 / WriteToV2 methods.
|
||||
//
|
||||
// Instances can be created using built-in var declaration.
|
||||
// To submit GlobalTrust value in NeoFS zero instance SHOULD be declared,
|
||||
// initialized using Init method and filled using dedicated methods.
|
||||
type GlobalTrust struct {
|
||||
m reputation.GlobalTrust
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue