Skip to content

Commit

Permalink
changed testnet ports
Browse files Browse the repository at this point in the history
  • Loading branch information
anatolse committed Feb 13, 2019
1 parent 4ddf45e commit 7353f1b
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 11 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -250,21 +250,21 @@ after_success:
# deploy using ftp server
- BUILDS_SERVER_PATH=${BUILD_SERVER}/files/$TRAVIS_BRANCH/$(date +%Y.%m.%d)/$BUILD_TYPE/$OS_FOLDER
- tar -cvzf beam-node-testnet-$BEAM_VERSION.tar.gz --directory=$HOME/build/BeamMW/beam/beam beam-node-testnet beam-node.cfg
- tar -cvzf beam-wallet-testnet-cli-$BEAM_VERSION.tar.gz --directory=$HOME/build/BeamMW/beam/wallet beam-wallet-testnet beam-wallet.cfg
- tar -cvzf beam-wallet-cli-testnet-$BEAM_VERSION.tar.gz --directory=$HOME/build/BeamMW/beam/wallet beam-wallet-testnet beam-wallet.cfg
- tar -cvzf wallet-api-testnet-$BEAM_VERSION.tar.gz --directory=$HOME/build/BeamMW/beam/wallet wallet-api-testnet wallet-api.cfg

# prep for deploy to AWS S3
- cp $HOME/build/BeamMW/beam/$BEAM_WALLET_UI_IN $HOME/build/BeamMW/beam/$BEAM_WALLET_UI_OUT

# upload binaries to FTP
- curl --retry 3 --ftp-create-dirs -T beam-node-testnet-$BEAM_VERSION.tar.gz $BUILDS_SERVER_PATH/
- curl --retry 3 --ftp-create-dirs -T beam-wallet-testnet-cli-$BEAM_VERSION.tar.gz $BUILDS_SERVER_PATH/
- curl --retry 3 --ftp-create-dirs -T beam-wallet-cli-testnet-$BEAM_VERSION.tar.gz $BUILDS_SERVER_PATH/
- curl --retry 3 --ftp-create-dirs -T wallet-api-testnet-$BEAM_VERSION.tar.gz $BUILDS_SERVER_PATH/
- curl --retry 3 --ftp-create-dirs -T "$HOME/build/BeamMW/beam/$BEAM_WALLET_UI_IN" "$BUILDS_SERVER_PATH/$BEAM_WALLET_UI_OUT"

# upload binaries to S3
- artifacts upload --target-paths "$TRAVIS_BRANCH/$(date +%Y.%m.%d)/$BUILD_TYPE/$OS_FOLDER/" beam-node-testnet-$BEAM_VERSION.tar.gz
- artifacts upload --target-paths "$TRAVIS_BRANCH/$(date +%Y.%m.%d)/$BUILD_TYPE/$OS_FOLDER/" beam-wallet-testnet-cli-$BEAM_VERSION.tar.gz
- artifacts upload --target-paths "$TRAVIS_BRANCH/$(date +%Y.%m.%d)/$BUILD_TYPE/$OS_FOLDER/" beam-wallet-cli-testnet-$BEAM_VERSION.tar.gz
- artifacts upload --target-paths "$TRAVIS_BRANCH/$(date +%Y.%m.%d)/$BUILD_TYPE/$OS_FOLDER/" wallet-api-testnet-$BEAM_VERSION.tar.gz
- artifacts upload --target-paths "$TRAVIS_BRANCH/$(date +%Y.%m.%d)/$BUILD_TYPE/$OS_FOLDER/" $HOME/build/BeamMW/beam/$BEAM_WALLET_UI_OUT

Expand Down
2 changes: 1 addition & 1 deletion beam/beam-node.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
################################################################################

# port to start server on
# port=10000
# port=11000

# log level [info|debug|verbose]
# log_level=debug
Expand Down
2 changes: 1 addition & 1 deletion ui/model/settings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ uint WalletSettings::getLocalNodePort() const
{
Lock lock(m_mutex);
#ifdef BEAM_TESTNET
return m_data.value(LocalNodePort, 10006).toUInt();
return m_data.value(LocalNodePort, 11005).toUInt();
#else
return m_data.value(LocalNodePort, 10005).toUInt();
#endif // BEAM_TESTNET
Expand Down
4 changes: 2 additions & 2 deletions ui/viewmodel/start_view.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,7 @@ QString StartViewModel::selectCustomWalletDB()
QString StartViewModel::defaultPortToListen() const
{
#ifdef BEAM_TESTNET
return "10006";
return "11005";
#else
return "10005";
#endif // BEAM_TESTNET
Expand All @@ -542,7 +542,7 @@ QString StartViewModel::defaultPortToListen() const
QString StartViewModel::defaultRemoteNodeAddr() const
{
#ifdef BEAM_TESTNET
return "127.0.0.1:10006";
return "127.0.0.1:11005";
#else
return "127.0.0.1:10005";
#endif // BEAM_TESTNET
Expand Down
2 changes: 1 addition & 1 deletion utility/options.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ namespace beam

po::options_description node_options("Node options");
node_options.add_options()
(cli::PORT_FULL, po::value<uint16_t>()->default_value(10000), "port to start the server on")
(cli::PORT_FULL, po::value<uint16_t>()->default_value(11000), "port to start the server on")
(cli::STORAGE, po::value<string>()->default_value("node.db"), "node storage path")
(cli::HISTORY, po::value<string>()->default_value(szLocalDir), "directory for compressed history")
(cli::TEMP, po::value<string>()->default_value(szTempDir), "temp directory for compressed history, must be on the same volume")
Expand Down
3 changes: 0 additions & 3 deletions wallet/beam-wallet.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
# General options:
################################################################################

# port to start server on
# port=10000

# log level [info|debug|verbose]
# log_level=debug

Expand Down

0 comments on commit 7353f1b

Please sign in to comment.