mit-dci / lit

Lightning Network node software
MIT License
551 stars 119 forks source link

lit-af doesn't have a port option #388

Open Varunram opened 6 years ago

Varunram commented 6 years ago

Say we have tow running lit instances, if we connect one through the -dir flag, we can't attempt to connect to the other one via this as well since lit-af doesn't have a port param. Would be nice to have this as an option. Will put in a PR once existing ones are merged to avoid merge conflicts.

delbonis commented 6 years ago

Perhaps change it so that -p reflects the p2p port to connect to if a -dir flag is given.

gertjaap commented 6 years ago

the -con parameter accepts a port. See https://github.com/mit-dci/lit/pull/312#issuecomment-419547867

Varunram commented 6 years ago

I meant the -dir command itself doesn't have a port option. Its maybe a slight inconvenience to use the con option every time we run multiple clients on the same server I guess, hence the issue.