ergo
ergo copied to clipboard
Current master config seems wrong
Expected behaviour
When started node must connect to mainnet.
Actual result
Node connecting to wrong unknown network when started.
Steps to reproduce
- Compiled node with
sbt assemblyfrom master - I run node with ~/workspace/ergoplatform-ergo/target/scala-2.12$ java -jar ergo-3.1.3.jar
- 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