mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-22 11:32:09 +00:00
Add placeholder methods for Send and Broadcast
Former-commit-id: fd78c149bb1b19439ed3a6b1f6036d8f381f2879 [formerly cdcc33a37eea0c297dbe05d21f2fcbbf38b1503e] Former-commit-id: ee7a588c5eecdf3cf5b2e05191359d8cb7a8798c
This commit is contained in:
parent
5b70c21731
commit
7abcc195ed
@ -31,3 +31,13 @@ func (s *Server) Stop() error {
|
||||
log.Info("Stopping shardp2p server")
|
||||
return nil
|
||||
}
|
||||
|
||||
// Send a message to a specific peer.
|
||||
func (s *Server) Send(msg interface{}, Peer peer) {
|
||||
// TODO
|
||||
}
|
||||
|
||||
// Broadcast a message to the world.
|
||||
func (s *Server) Broadcast(msg interface{}) {
|
||||
// TODO
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user