From 19519bf2f3fa80d4e5093065f6805233c518f59b Mon Sep 17 00:00:00 2001 From: Mrinal Wadhwa Date: Thu, 10 Jan 2019 04:04:27 -0800 Subject: [PATCH] style: move dynamic verifier to node directory --- {dynamic => node/dynamic}/common/bytes.go | 0 {dynamic => node/dynamic}/main.go | 0 {dynamic => node/dynamic}/merkle.go | 0 {dynamic => node/dynamic}/node.go | 0 {dynamic => node/dynamic}/provider.go | 0 {dynamic => node/dynamic}/signature_validation.go | 0 {dynamic => node/dynamic}/types.go | 2 +- {dynamic => node/dynamic}/types/canonical.go | 0 {dynamic => node/dynamic}/types/commit.go | 2 +- {dynamic => node/dynamic}/types/pub_key.go | 0 {dynamic => node/dynamic}/types/status.go | 0 {dynamic => node/dynamic}/types/tx.go | 0 {dynamic => node/dynamic}/types/validator.go | 0 {dynamic => node/dynamic}/validator_set.go | 0 {dynamic => node/dynamic}/verifier.go | 0 15 files changed, 2 insertions(+), 2 deletions(-) rename {dynamic => node/dynamic}/common/bytes.go (100%) rename {dynamic => node/dynamic}/main.go (100%) rename {dynamic => node/dynamic}/merkle.go (100%) rename {dynamic => node/dynamic}/node.go (100%) rename {dynamic => node/dynamic}/provider.go (100%) rename {dynamic => node/dynamic}/signature_validation.go (100%) rename {dynamic => node/dynamic}/types.go (99%) rename {dynamic => node/dynamic}/types/canonical.go (100%) rename {dynamic => node/dynamic}/types/commit.go (98%) rename {dynamic => node/dynamic}/types/pub_key.go (100%) rename {dynamic => node/dynamic}/types/status.go (100%) rename {dynamic => node/dynamic}/types/tx.go (100%) rename {dynamic => node/dynamic}/types/validator.go (100%) rename {dynamic => node/dynamic}/validator_set.go (100%) rename {dynamic => node/dynamic}/verifier.go (100%) diff --git a/dynamic/common/bytes.go b/node/dynamic/common/bytes.go similarity index 100% rename from dynamic/common/bytes.go rename to node/dynamic/common/bytes.go diff --git a/dynamic/main.go b/node/dynamic/main.go similarity index 100% rename from dynamic/main.go rename to node/dynamic/main.go diff --git a/dynamic/merkle.go b/node/dynamic/merkle.go similarity index 100% rename from dynamic/merkle.go rename to node/dynamic/merkle.go diff --git a/dynamic/node.go b/node/dynamic/node.go similarity index 100% rename from dynamic/node.go rename to node/dynamic/node.go diff --git a/dynamic/provider.go b/node/dynamic/provider.go similarity index 100% rename from dynamic/provider.go rename to node/dynamic/provider.go diff --git a/dynamic/signature_validation.go b/node/dynamic/signature_validation.go similarity index 100% rename from dynamic/signature_validation.go rename to node/dynamic/signature_validation.go diff --git a/dynamic/types.go b/node/dynamic/types.go similarity index 99% rename from dynamic/types.go rename to node/dynamic/types.go index 18bf3492ad7..bb59d8e3035 100644 --- a/dynamic/types.go +++ b/node/dynamic/types.go @@ -4,7 +4,7 @@ import ( "bytes" "time" - cmn "github.com/ockam-network/ockam/dynamic/common" + cmn "github.com/ockam-network/ockam/node/dynamic/common" ) // StatusResponse is diff --git a/dynamic/types/canonical.go b/node/dynamic/types/canonical.go similarity index 100% rename from dynamic/types/canonical.go rename to node/dynamic/types/canonical.go diff --git a/dynamic/types/commit.go b/node/dynamic/types/commit.go similarity index 98% rename from dynamic/types/commit.go rename to node/dynamic/types/commit.go index 3ccaa50ade3..b2d14b0003f 100644 --- a/dynamic/types/commit.go +++ b/node/dynamic/types/commit.go @@ -4,7 +4,7 @@ import ( "bytes" "time" - cmn "github.com/ockam-network/ockam/dynamic/common" + cmn "github.com/ockam-network/ockam/node/dynamic/common" "github.com/pkg/errors" amino "github.com/tendermint/go-amino" ) diff --git a/dynamic/types/pub_key.go b/node/dynamic/types/pub_key.go similarity index 100% rename from dynamic/types/pub_key.go rename to node/dynamic/types/pub_key.go diff --git a/dynamic/types/status.go b/node/dynamic/types/status.go similarity index 100% rename from dynamic/types/status.go rename to node/dynamic/types/status.go diff --git a/dynamic/types/tx.go b/node/dynamic/types/tx.go similarity index 100% rename from dynamic/types/tx.go rename to node/dynamic/types/tx.go diff --git a/dynamic/types/validator.go b/node/dynamic/types/validator.go similarity index 100% rename from dynamic/types/validator.go rename to node/dynamic/types/validator.go diff --git a/dynamic/validator_set.go b/node/dynamic/validator_set.go similarity index 100% rename from dynamic/validator_set.go rename to node/dynamic/validator_set.go diff --git a/dynamic/verifier.go b/node/dynamic/verifier.go similarity index 100% rename from dynamic/verifier.go rename to node/dynamic/verifier.go