diff options
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) |