diff options
author | Jimmy Hu <jimmy.hu@dexon.org> | 2018-10-31 17:20:24 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-31 17:20:24 +0800 |
commit | 6f33d1e0bbf7d976bd14d3dffd35e4e40a78a0c2 (patch) | |
tree | f37b6784628a207a236ea2f705de93394abeb598 /core/consensus_test.go | |
parent | eccdddbff92c1588e628f874d73ae557351c76f7 (diff) | |
download | dexon-consensus-6f33d1e0bbf7d976bd14d3dffd35e4e40a78a0c2.tar.gz dexon-consensus-6f33d1e0bbf7d976bd14d3dffd35e4e40a78a0c2.tar.zst dexon-consensus-6f33d1e0bbf7d976bd14d3dffd35e4e40a78a0c2.zip |
core: Add PullVotes to Network. (#281)
Diffstat (limited to 'core/consensus_test.go')
-rw-r--r-- | core/consensus_test.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/consensus_test.go b/core/consensus_test.go index e79028f..1ba9fa0 100644 --- a/core/consensus_test.go +++ b/core/consensus_test.go @@ -41,6 +41,10 @@ type network struct { func (n *network) PullBlocks(common.Hashes) { } +// PullVotes tries to pull votes from the DEXON network. +func (n *network) PullVotes(types.Position) { +} + // BroadcastVote broadcasts vote to all nodes in DEXON network. func (n *network) BroadcastVote(vote *types.Vote) { n.conn.broadcast(n.nID, vote) |