Skip to content

Commit

Permalink
Change default port for initialize
Browse files Browse the repository at this point in the history
  • Loading branch information
heejin-github committed May 31, 2023
1 parent af6a1c7 commit 955a690
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion plugins/node_active_status/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const (
// Default values.
defaultRPCAddr = "http://localhost:1317"
defaultAddr = "127.0.0.1"
defaultPort = 9100
defaultPort = 10004
pluginName = "cosmoshub-active-status"
)

Expand Down
22 changes: 11 additions & 11 deletions plugins/node_block_sync/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,21 @@ import (

const (
// Default values.
defaultRPCAddr = "http://localhost:26657"
defaultAddr = "127.0.0.1"
defaultPort = 9091
pluginName = "cosmoshub-block-sync"
defaultRPCAddr = "http://localhost:26657"
defaultAddr = "127.0.0.1"
defaultPort = 10001
pluginName = "cosmoshub-block-sync"
defaultCriticalCount = 3
)

var (
rpcAddr string
addr string
port int
prevHeight int
latestHeight int
warningCount int
criticalCount int
rpcAddr string
addr string
port int
prevHeight int
latestHeight int
warningCount int
criticalCount int
)

func init() {
Expand Down
2 changes: 1 addition & 1 deletion plugins/node_governance_alarm/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import (
const (
// Default values.
defaultAddr = "127.0.0.1"
defaultPort = 9091
defaultPort = 10005
defaultPeer = 5
defaultApiPort = 1317
defaultProposalId = 0
Expand Down
2 changes: 1 addition & 1 deletion plugins/node_is_alived/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (

const (
defaultAddr = "127.0.0.1"
defaultPort = 9098
defaultPort = 10002
defaultRPCAddr = "http://localhost:26657"
)

Expand Down
2 changes: 1 addition & 1 deletion plugins/node_peer_count/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
const (
// Default values.
defaultAddr = "127.0.0.1"
defaultPort = 9091
defaultPort = 10003
defaultPeer = 5
defaultRpcAddr = "http://localhost:26657"

Expand Down

0 comments on commit 955a690

Please sign in to comment.