Open jseagrave21 opened 5 years ago
I think the discussion here is; should we change the default port of neo-python
to not conflict with neo-privatenet
if that is running? If so, to what?
The issue will still persist when people copy their config files (which is very likely)
@ixje perhaps this could be improved with better documentation in https://github.com/CityOfZion/neo-privatenet-docker. I was caught off guard originally because I have been using the privatenet without any additional steps since I started contributing. I am not sure what the best way forward is, my only thought was to make the user experience as simple and as straightforward as possible.
Current behavior
When trying to run neo-python using a privatenet, the program hangs and I receive the follow error after exiting using "Ctrl-C":
After troubleshooting and receiving advice on Slack, @hal0x2328 led to me a solution: changing the nodeport in the json file to something other than 20333. This is an issue because anyone running the docker image for the privatenet on the same workstation they are using neo-python will run into this problem. The default
protocol.privnet.json
listsAnd the
Nodeport
as 20333. Ref: https://github.com/CityOfZion/neo-python/blob/master/neo/data/protocol.privnet.jsonExpected behavior
Using the docker image and
np-prompt -p
, a user should be able to access a privatenet without additional work.How to reproduce
venv
if applicablenp-prompt -p
Your environment
Let us know in what environment you're running into the issue: