mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-26 13:18:57 +00:00
4add403335
* WIP - with TODOs * interface w/ test * basic test for broadcast * Add computeStateRoot funciton * remove custody challenge * resolve TODO lint issues * more TODOs * revert new line in types.proto * broadcaster comment * one of several failure condition tests * Add test cases * handle compute state error test case * fix config in validator helpers * fix tests too * fix conflict * partial PR feedback * remove p2p * gazelle * package comment * Better godoc
13 lines
281 B
Go
13 lines
281 B
Go
package p2p
|
|
|
|
import (
|
|
"github.com/gogo/protobuf/proto"
|
|
)
|
|
|
|
// Broadcaster represents a subset of the p2p.Server. This interface is useful
|
|
// for testing or when the calling code only needs access to the broadcast
|
|
// method.
|
|
type Broadcaster interface {
|
|
Broadcast(proto.Message)
|
|
}
|