ergo icon indicating copy to clipboard operation
ergo copied to clipboard

Current master config seems wrong

Open andyceo opened this issue 6 years ago • 2 comments

Expected behaviour

When started node must connect to mainnet.

Actual result

Node connecting to wrong unknown network when started.

Steps to reproduce

  1. Compiled node with sbt assembly from master
  2. I run node with ~/workspace/ergoplatform-ergo/target/scala-2.12$ java -jar ergo-3.1.3.jar
  3. Node goes to testnet (netstat -tulpn, ports 9052 and 9020 used for testnet): tcp6 0 0 :::9052 :::* LISTEN 29861/java tcp6 0 0 :::9020 :::* LISTEN 29861/java stateRoot = "cb63aa99a3060f341781d8662b58bf18b9ad258db4fe88d09f8f71cb668cad4502" fullHeight and headersHeight are null. And not growth over time.

http://127.0.0.1:9052/peers/connected is empty, so node does not connected anywhere (I think because of wrong default config)

UPD: it is required that node must start with --testnet or --mainnet flag, running without mentioned flags used in it-tests as far as I remember

andyceo avatar Nov 19 '19 21:11 andyceo