From 15020e14af9b5f6700133850ecb2713d6acc7836 Mon Sep 17 00:00:00 2001 From: Minh Doan Date: Mon, 31 Dec 2018 17:00:03 -0800 Subject: [PATCH] move attack under internal --- benchmark.go | 2 +- consensus/consensus_validator.go | 3 ++- {attack => internal/attack}/attack.go | 0 3 files changed, 3 insertions(+), 2 deletions(-) rename {attack => internal/attack}/attack.go (100%) diff --git a/benchmark.go b/benchmark.go index ccc7ce3bf..6ba46de0c 100644 --- a/benchmark.go +++ b/benchmark.go @@ -11,9 +11,9 @@ import ( "github.com/harmony-one/harmony/p2p/p2pimpl" - "github.com/harmony-one/harmony/attack" "github.com/harmony-one/harmony/consensus" "github.com/harmony-one/harmony/db" + "github.com/harmony-one/harmony/internal/attack" "github.com/harmony-one/harmony/log" pkg_newnode "github.com/harmony-one/harmony/newnode" "github.com/harmony-one/harmony/node" diff --git a/consensus/consensus_validator.go b/consensus/consensus_validator.go index 2c9318420..0be0e3bee 100644 --- a/consensus/consensus_validator.go +++ b/consensus/consensus_validator.go @@ -2,12 +2,13 @@ package consensus import ( "bytes" + "github.com/dedis/kyber/sign/schnorr" "github.com/ethereum/go-ethereum/rlp" - "github.com/harmony-one/harmony/attack" consensus2 "github.com/harmony-one/harmony/consensus/proto" "github.com/harmony-one/harmony/core/types" "github.com/harmony-one/harmony/crypto" + "github.com/harmony-one/harmony/internal/attack" "github.com/harmony-one/harmony/log" proto_consensus "github.com/harmony-one/harmony/proto/consensus" "github.com/harmony-one/harmony/utils" diff --git a/attack/attack.go b/internal/attack/attack.go similarity index 100% rename from attack/attack.go rename to internal/attack/attack.go