tweak comment
This commit is contained in:
1 parent
fa5279ab3e
commit
683caef866
1 file changed
+2
-2
+2
-2
@@ -29,8 +29,8 @@ type Gossiper interface {
|
|||||||
OnGossipBroadcast(msg []byte) error
|
OnGossipBroadcast(msg []byte) error
|
||||||
// return state of everything we know; gets called periodically
|
// return state of everything we know; gets called periodically
|
||||||
Gossip() GossipData
|
Gossip() GossipData
|
||||||
// merge in state and return "everything new I've just learnt",
|
// merge received date into state and return "everything new I've
|
||||||
// or nil if nothing in the received message was new
|
// just learnt", or nil if nothing in the received data was new
|
||||||
OnGossip(buf []byte) (GossipData, error)
|
OnGossip(buf []byte) (GossipData, error)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user