move attack under internal

pull/184/head
Minh Doan 6 years ago committed by Minh Doan
parent 89b2c42857
commit 15020e14af
  1. 2
      benchmark.go
  2. 3
      consensus/consensus_validator.go
  3. 0
      internal/attack/attack.go

@ -11,9 +11,9 @@ import (
"github.com/harmony-one/harmony/p2p/p2pimpl" "github.com/harmony-one/harmony/p2p/p2pimpl"
"github.com/harmony-one/harmony/attack"
"github.com/harmony-one/harmony/consensus" "github.com/harmony-one/harmony/consensus"
"github.com/harmony-one/harmony/db" "github.com/harmony-one/harmony/db"
"github.com/harmony-one/harmony/internal/attack"
"github.com/harmony-one/harmony/log" "github.com/harmony-one/harmony/log"
pkg_newnode "github.com/harmony-one/harmony/newnode" pkg_newnode "github.com/harmony-one/harmony/newnode"
"github.com/harmony-one/harmony/node" "github.com/harmony-one/harmony/node"

@ -2,12 +2,13 @@ package consensus
import ( import (
"bytes" "bytes"
"github.com/dedis/kyber/sign/schnorr" "github.com/dedis/kyber/sign/schnorr"
"github.com/ethereum/go-ethereum/rlp" "github.com/ethereum/go-ethereum/rlp"
"github.com/harmony-one/harmony/attack"
consensus2 "github.com/harmony-one/harmony/consensus/proto" consensus2 "github.com/harmony-one/harmony/consensus/proto"
"github.com/harmony-one/harmony/core/types" "github.com/harmony-one/harmony/core/types"
"github.com/harmony-one/harmony/crypto" "github.com/harmony-one/harmony/crypto"
"github.com/harmony-one/harmony/internal/attack"
"github.com/harmony-one/harmony/log" "github.com/harmony-one/harmony/log"
proto_consensus "github.com/harmony-one/harmony/proto/consensus" proto_consensus "github.com/harmony-one/harmony/proto/consensus"
"github.com/harmony-one/harmony/utils" "github.com/harmony-one/harmony/utils"

Loading…
Cancel
Save