Merge branch 'master' of github.com:harmony-one/harmony into rj_branch

pull/194/head
Rongjian Lan 6 years ago
commit 8aab7552c5
  1. 1
      README.md
  2. 0
      api/services/explorer/service.go
  3. 0
      api/services/explorer/storage.go
  4. 0
      api/services/explorer/structs.go
  5. 2
      api/services/explorer/test2/main.go
  6. 2
      api/services/syncing/downloader/client.go
  7. 0
      api/services/syncing/downloader/errors.go
  8. 0
      api/services/syncing/downloader/gen.sh
  9. 2
      api/services/syncing/downloader/interface.go
  10. 0
      api/services/syncing/downloader/proto/downloader.pb.go
  11. 0
      api/services/syncing/downloader/proto/downloader.proto
  12. 2
      api/services/syncing/downloader/server.go
  13. 0
      api/services/syncing/errors.go
  14. 0
      api/services/syncing/interface.go
  15. 5
      api/services/syncing/syncing.go
  16. 2
      consensus/consensus_leader.go
  17. 8
      node/node.go

@ -10,7 +10,6 @@
## Dev Environment Setup
```
export GOPATH=$HOME/<path_of_your_choice>

@ -1,6 +1,6 @@
package main
import "github.com/harmony-one/harmony/services/explorer"
import "github.com/harmony-one/harmony/api/services/explorer"
func main() {
service := &explorer.Service{

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

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

@ -7,7 +7,7 @@ import (
"google.golang.org/grpc"
pb "github.com/harmony-one/harmony/services/syncing/downloader/proto"
pb "github.com/harmony-one/harmony/api/services/syncing/downloader/proto"
)
// Constants for downloader server.

@ -2,16 +2,17 @@ package syncing
import (
"bytes"
"github.com/harmony-one/harmony/core"
"reflect"
"sort"
"sync"
"time"
"github.com/harmony-one/harmony/core"
"github.com/Workiva/go-datastructures/queue"
"github.com/harmony-one/harmony/api/services/syncing/downloader"
"github.com/harmony-one/harmony/log"
"github.com/harmony-one/harmony/p2p"
"github.com/harmony-one/harmony/services/syncing/downloader"
)
// Constants for syncing.

@ -12,13 +12,13 @@ import (
"github.com/ethereum/go-ethereum/rlp"
consensus_proto "github.com/harmony-one/harmony/api/consensus"
"github.com/harmony-one/harmony/api/services/explorer"
"github.com/harmony-one/harmony/core/types"
"github.com/harmony-one/harmony/crypto"
"github.com/harmony-one/harmony/internal/profiler"
"github.com/harmony-one/harmony/log"
"github.com/harmony-one/harmony/p2p"
"github.com/harmony-one/harmony/p2p/host"
"github.com/harmony-one/harmony/services/explorer"
)
const (

@ -19,6 +19,10 @@ import (
"github.com/ethereum/go-ethereum/params"
"github.com/ethereum/go-ethereum/rlp"
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/client"
clientService "github.com/harmony-one/harmony/client/service"
bft "github.com/harmony-one/harmony/consensus"
@ -31,10 +35,6 @@ import (
"github.com/harmony-one/harmony/node/worker"
"github.com/harmony-one/harmony/p2p"
"github.com/harmony-one/harmony/p2p/host"
"github.com/harmony-one/harmony/services/explorer"
"github.com/harmony-one/harmony/services/syncing"
"github.com/harmony-one/harmony/services/syncing/downloader"
downloader_pb "github.com/harmony-one/harmony/services/syncing/downloader/proto"
)
// State is a state of a node.

Loading…
Cancel
Save