aboutsummaryrefslogtreecommitdiffstats
path: root/core/test/interface.go
diff options
context:
space:
mode:
Diffstat (limited to 'core/test/interface.go')
-rw-r--r--core/test/interface.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/test/interface.go b/core/test/interface.go
index 1388dc1..d9578de 100644
--- a/core/test/interface.go
+++ b/core/test/interface.go
@@ -91,7 +91,8 @@ type TransportClient interface {
// Transport defines the interface for basic transportation capabilities.
type Transport interface {
// Broadcast a message to all peers in network.
- Broadcast(msg interface{}) error
+ Broadcast(endpoints map[types.NodeID]struct{}, latency LatencyModel,
+ msg interface{}) error
// Send one message to a peer.
Send(endpoint types.NodeID, msg interface{}) error
// Close would cleanup allocated resources.