Browse Source

Switch usage of port 46658 to 26658

pull/1780/head
ValarDragon 7 years ago
parent
commit
72543092a0
5 changed files with 5 additions and 5 deletions
  1. +1
    -1
      cmd/abci-cli/abci-cli.go
  2. +1
    -1
      example/python/app.py
  3. +1
    -1
      example/python3/app.py
  4. +1
    -1
      tests/client_server_test.go
  5. +1
    -1
      tests/test_app/app.go

+ 1
- 1
cmd/abci-cli/abci-cli.go View File

@ -110,7 +110,7 @@ func Execute() error {
}
func addGlobalFlags() {
RootCmd.PersistentFlags().StringVarP(&flagAddress, "address", "", "tcp://0.0.0.0:46658", "address of application socket")
RootCmd.PersistentFlags().StringVarP(&flagAddress, "address", "", "tcp://0.0.0.0:26658", "address of application socket")
RootCmd.PersistentFlags().StringVarP(&flagAbci, "abci", "", "socket", "either socket or grpc")
RootCmd.PersistentFlags().BoolVarP(&flagVerbose, "verbose", "v", false, "print the command and results as if it were a console session")
RootCmd.PersistentFlags().StringVarP(&flagLogLevel, "log_level", "", "debug", "set the logger level")


+ 1
- 1
example/python/app.py View File

@ -68,7 +68,7 @@ class CounterApplication():
if __name__ == '__main__':
l = len(sys.argv)
if l == 1:
port = 46658
port = 26658
elif l == 2:
port = int(sys.argv[1])
else:


+ 1
- 1
example/python3/app.py View File

@ -68,7 +68,7 @@ class CounterApplication():
if __name__ == '__main__':
l = len(sys.argv)
if l == 1:
port = 46658
port = 26658
elif l == 2:
port = int(sys.argv[1])
else:


+ 1
- 1
tests/client_server_test.go View File

@ -11,7 +11,7 @@ import (
)
func TestClientServerNoAddrPrefix(t *testing.T) {
addr := "localhost:46658"
addr := "localhost:26658"
transport := "socket"
app := kvstore.NewKVStoreApplication()


+ 1
- 1
tests/test_app/app.go View File

@ -12,7 +12,7 @@ import (
func startClient(abciType string) abcicli.Client {
// Start client
client, err := abcicli.NewClient("tcp://127.0.0.1:46658", abciType, true)
client, err := abcicli.NewClient("tcp://127.0.0.1:26658", abciType, true)
if err != nil {
panic(err.Error())
}


Loading…
Cancel
Save