diff options
author | Wei-Ning Huang <w@dexon.org> | 2018-10-29 09:31:36 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@byzantine-lab.io> | 2019-06-12 17:27:17 +0800 |
commit | a69fb3e4c59fab52b6e10993c67400084879b1a8 (patch) | |
tree | 8e849faadee1e1c43068a4b0392a02050d271e3e /dex/network.go | |
parent | 3f320c9048198d14bc44413861efcbc5665324b1 (diff) | |
download | go-tangerine-a69fb3e4c59fab52b6e10993c67400084879b1a8.tar.gz go-tangerine-a69fb3e4c59fab52b6e10993c67400084879b1a8.tar.zst go-tangerine-a69fb3e4c59fab52b6e10993c67400084879b1a8.zip |
vendor: sync consensus core and fix conflict
Diffstat (limited to 'dex/network.go')
-rw-r--r-- | dex/network.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/dex/network.go b/dex/network.go index 0d45973ec..cb22340f3 100644 --- a/dex/network.go +++ b/dex/network.go @@ -1,6 +1,7 @@ package dex import ( + coreCommon "github.com/dexon-foundation/dexon-consensus-core/common" "github.com/dexon-foundation/dexon-consensus-core/core/crypto" "github.com/dexon-foundation/dexon-consensus-core/core/types" dkgTypes "github.com/dexon-foundation/dexon-consensus-core/core/types/dkg" @@ -14,6 +15,10 @@ func NewDexconNetwork(pm *ProtocolManager) *DexconNetwork { return &DexconNetwork{pm: pm} } +// PullBlocks tries to pull blocks from the DEXON network. +func (n *DexconNetwork) PullBlocks(hashes coreCommon.Hashes) { +} + // BroadcastVote broadcasts vote to all nodes in DEXON network. func (n *DexconNetwork) BroadcastVote(vote *types.Vote) { n.pm.BroadcastVote(vote) |