-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Connect and listen to BOLT compatible nodes #437
base: master
Are you sure you want to change the base?
Conversation
Should those other PRs be closed now? |
4c764a0
to
f8a3e05
Compare
} else if len(adr) == 0 { | ||
// so the user didn't provide us with an address to connect to | ||
// we need to connect to the locally running lit-af instance | ||
lc.RPCClient, err = litrpc.NewLocalLndcRpcClientWithHomeDirAndPort(defaultDir, port) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we make a way to specify a homedir too? Because without that it kinda breaks my workflow.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hm.. yeah, I think that would be possible, was possible earlier as well iirc. Will push an update.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems to work right now (./lit-af --dir=blah
), was this the use case you were looking at?
retest this please |
this is a combination of earlier PRs mit-dci#434 and mit-dci#435 with newer changes. With this PR, you must be able to 1. Connect to a remote lnd node and observe connection success 2. Connect remote lnd node to lit node for 15s
ffbfb4f
to
00d4acc
Compare
Closed other PRs, squashed the commits in this one. |
81f90eb
to
45b5de3
Compare
45b5de3
to
c618cee
Compare
The connection will be short-lived (15s), but the log statements would let you verify that you're connected. Start lnd, use getinfo and try connecting to lit's pubkey (available in lit's log).
EDIT: Rebased on current master, contains #434 and #435 within it (squashed and rebased, refer #436 for list of commits)