frostfs-api-go/pkg/reputation
Pavel Karpy d4327ec018 [#302] pkg/reputation: Convert nil PeerID to nil message
Document that `PeerID.ToV2` method return `nil`
when called on `nil`. Document that `PeerIDFromV2`
function return `nil` when called on `nil`. Write
corresponding unit tests.

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
2021-06-09 17:23:35 +03:00
..
test [#265] pkg/reputation: Implement PeerToPeerTrust structure 2021-04-09 11:57:42 +03:00
peer.go [#302] pkg/reputation: Convert nil PeerID to nil message 2021-06-09 17:23:35 +03:00
peer_test.go [#302] pkg/reputation: Convert nil PeerID to nil message 2021-06-09 17:23:35 +03:00
trust.go [#265] pkg/reputation: Implement PeerToPeerTrust structure 2021-04-09 11:57:42 +03:00
trust_test.go [#265] pkg/reputation: Implement PeerToPeerTrust structure 2021-04-09 11:57:42 +03:00