forked from TrueCloudLab/frostfs-node
[#488] reputation: Add commentaries
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
parent
2c8c9f69c8
commit
eb74a9cafc
8 changed files with 38 additions and 13 deletions
|
@ -8,6 +8,7 @@ import (
|
|||
"github.com/nspcc-dev/neofs-node/pkg/services/reputation"
|
||||
)
|
||||
|
||||
// EpochContext is a std context extended with epoch data.
|
||||
type EpochContext struct {
|
||||
context.Context
|
||||
E uint64
|
||||
|
@ -27,6 +28,8 @@ func (NopReputationWriter) Close() error {
|
|||
return nil
|
||||
}
|
||||
|
||||
// OnlyKeyRemoteServerInfo if implementation of reputation.ServerInfo
|
||||
// interface but with only public key data.
|
||||
type OnlyKeyRemoteServerInfo struct {
|
||||
Key []byte
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue