aboutsummaryrefslogtreecommitdiffstats
path: root/simulation/network.go
diff options
context:
space:
mode:
authorJimmy Hu <jimmy.hu@dexon.org>2018-08-13 16:19:32 +0800
committerGitHub <noreply@github.com>2018-08-13 16:19:32 +0800
commit2d3725842cb995cc748aeb6c05adb725f6ae18f8 (patch)
treefc0c90e1bd26f21a65066a49cb1f83aac8c7586b /simulation/network.go
parente22580beadb70991d95f13677f22701fe273791a (diff)
downloaddexon-consensus-2d3725842cb995cc748aeb6c05adb725f6ae18f8.tar
dexon-consensus-2d3725842cb995cc748aeb6c05adb725f6ae18f8.tar.gz
dexon-consensus-2d3725842cb995cc748aeb6c05adb725f6ae18f8.tar.bz2
dexon-consensus-2d3725842cb995cc748aeb6c05adb725f6ae18f8.tar.lz
dexon-consensus-2d3725842cb995cc748aeb6c05adb725f6ae18f8.tar.xz
dexon-consensus-2d3725842cb995cc748aeb6c05adb725f6ae18f8.tar.zst
dexon-consensus-2d3725842cb995cc748aeb6c05adb725f6ae18f8.zip
simulation: Create Consensus core after Join. (#51)
Diffstat (limited to 'simulation/network.go')
-rw-r--r--simulation/network.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/simulation/network.go b/simulation/network.go
index 0788ca1..672a664 100644
--- a/simulation/network.go
+++ b/simulation/network.go
@@ -80,6 +80,7 @@ type Network interface {
NumPeers() int
Join(endpoint Endpoint) chan interface{}
BroadcastBlock(block *types.Block)
+ Endpoints() types.ValidatorIDs
}
// PeerServerNetwork is the interface for peerServer network related functions