// New returns an initialized Gossip node // which identifies itself with the given ip func New(ip string, selfNodeId types.NodeId) Gossiper { g := new(proto.GossiperImpl) g.Init(ip, selfNodeId) return g }
// New returns an initialized Gossip node // which identifies itself with the given ip func New(ip string, selfNodeId types.NodeId, genNumber uint64) Gossiper { g := new(proto.GossiperImpl) g.Init(ip, selfNodeId, genNumber) return g }