Merge pull request #1765 from LeoHChen/do_not_create_persistent_dht_for_client

[wallet] no need to create persistent dht for client node
pull/1782/head
Leo Chen 5 years ago committed by GitHub
commit 3bf6e4b958
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      node/service_setup.go
  2. 4
      test/deploy.sh

@ -58,7 +58,7 @@ func (node *Node) setupForNewNode() {
func (node *Node) setupForClientNode() { func (node *Node) setupForClientNode() {
// Register networkinfo service. "0" is the beacon shard ID // Register networkinfo service. "0" is the beacon shard ID
node.serviceManager.RegisterService(service.NetworkInfo, networkinfo.MustNew(node.host, nodeconfig.NewGroupIDByShardID(0), nil, nil, node.networkInfoDHTPath())) node.serviceManager.RegisterService(service.NetworkInfo, networkinfo.MustNew(node.host, nodeconfig.NewGroupIDByShardID(0), nil, nil, ""))
} }
func (node *Node) setupForExplorerNode() { func (node *Node) setupForExplorerNode() {

@ -142,9 +142,7 @@ cleanup
# Also it's recommended to use `go build` for testing the whole exe. # Also it's recommended to use `go build` for testing the whole exe.
if [ "${NOBUILD}" != "true" ]; then if [ "${NOBUILD}" != "true" ]; then
pushd $ROOT pushd $ROOT
scripts/go_executable_build.sh harmony scripts/go_executable_build.sh
scripts/go_executable_build.sh wallet
scripts/go_executable_build.sh bootnode
popd popd
fi fi

Loading…
Cancel
Save