MCPcopy
hub / github.com/tinode/chat / Signature

Method Signature

server/ringhash/ringhash.go:126–128  ·  view source on GitHub ↗

Signature returns the ring's hash signature. Two identical ringhashes will have the same signature. Two hashes with different number of keys or replicas or hash functions will have different signatures.

()

Source from the content-addressed store, hash-verified

124// number of keys or replicas or hash functions will have different
125// signatures.
126func (ring *Ring) Signature() string {
127 return ring.signature
128}
129
130func (ring *Ring) dump() {
131 for _, e := range ring.keys {

Callers 7

sendHealthChecksMethod · 0.80
runMethod · 0.80
TopicMasterMethod · 0.80
RouteMethod · 0.80
makeClusterReqMethod · 0.80
TestSignatureFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestSignatureFunction · 0.64