rename services to service

pull/375/head
Minh Doan 6 years ago committed by Minh Doan
parent 5e3b354e43
commit c64b6e8de3
  1. 0
      api/service/explorer/service.go
  2. 0
      api/service/explorer/storage.go
  3. 0
      api/service/explorer/storage_test.go
  4. 0
      api/service/explorer/structs.go
  5. 0
      api/service/explorer/structs_test.go
  6. 2
      api/service/syncing/downloader/client.go
  7. 0
      api/service/syncing/downloader/errors.go
  8. 0
      api/service/syncing/downloader/gen.sh
  9. 2
      api/service/syncing/downloader/interface.go
  10. 0
      api/service/syncing/downloader/proto/downloader.pb.go
  11. 0
      api/service/syncing/downloader/proto/downloader.proto
  12. 2
      api/service/syncing/downloader/server.go
  13. 0
      api/service/syncing/errors.go
  14. 0
      api/service/syncing/interface.go
  15. 4
      api/service/syncing/syncing.go
  16. 0
      api/service/syncing/syncing.md
  17. 2
      api/service/syncing/syncing_test.go
  18. 2
      consensus/consensus_leader.go
  19. 8
      node/node.go

@ -6,7 +6,7 @@ import (
"fmt"
"time"
pb "github.com/harmony-one/harmony/api/services/syncing/downloader/proto"
pb "github.com/harmony-one/harmony/api/service/syncing/downloader/proto"
"github.com/harmony-one/harmony/internal/utils"
"google.golang.org/grpc"
)

@ -1,7 +1,7 @@
package downloader
import (
pb "github.com/harmony-one/harmony/api/services/syncing/downloader/proto"
pb "github.com/harmony-one/harmony/api/service/syncing/downloader/proto"
)
// DownloadInterface is the interface for downloader package.

@ -5,7 +5,7 @@ import (
"log"
"net"
pb "github.com/harmony-one/harmony/api/services/syncing/downloader/proto"
pb "github.com/harmony-one/harmony/api/service/syncing/downloader/proto"
"google.golang.org/grpc"
)

@ -18,8 +18,8 @@ import (
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/log"
"github.com/ethereum/go-ethereum/rlp"
"github.com/harmony-one/harmony/api/services/syncing/downloader"
pb "github.com/harmony-one/harmony/api/services/syncing/downloader/proto"
"github.com/harmony-one/harmony/api/service/syncing/downloader"
pb "github.com/harmony-one/harmony/api/service/syncing/downloader/proto"
"github.com/harmony-one/harmony/core/types"
"github.com/harmony-one/harmony/p2p"
)

@ -3,7 +3,7 @@ package syncing
import (
"testing"
"github.com/harmony-one/harmony/api/services/syncing/downloader"
"github.com/harmony-one/harmony/api/service/syncing/downloader"
"github.com/stretchr/testify/assert"
)

@ -9,7 +9,7 @@ import (
protobuf "github.com/golang/protobuf/proto"
"github.com/harmony-one/bls/ffi/go/bls"
consensus_proto "github.com/harmony-one/harmony/api/consensus"
"github.com/harmony-one/harmony/api/services/explorer"
"github.com/harmony-one/harmony/api/service/explorer"
"github.com/harmony-one/harmony/core/types"
bls_cosi "github.com/harmony-one/harmony/crypto/bls"
"github.com/harmony-one/harmony/internal/profiler"

@ -24,10 +24,10 @@ import (
clientService "github.com/harmony-one/harmony/api/client/service"
proto_discovery "github.com/harmony-one/harmony/api/proto/discovery"
proto_node "github.com/harmony-one/harmony/api/proto/node"
"github.com/harmony-one/harmony/api/services/explorer"
"github.com/harmony-one/harmony/api/services/syncing"
"github.com/harmony-one/harmony/api/services/syncing/downloader"
downloader_pb "github.com/harmony-one/harmony/api/services/syncing/downloader/proto"
"github.com/harmony-one/harmony/api/service/explorer"
"github.com/harmony-one/harmony/api/service/syncing"
"github.com/harmony-one/harmony/api/service/syncing/downloader"
downloader_pb "github.com/harmony-one/harmony/api/service/syncing/downloader/proto"
bft "github.com/harmony-one/harmony/consensus"
"github.com/harmony-one/harmony/core"
"github.com/harmony-one/harmony/core/types"

Loading…
Cancel
Save