Skip to content
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

Accept pubkey connections in lit #434

Closed
wants to merge 3 commits into from
Closed

Conversation

Varunram
Copy link
Contributor

Instead of just accepting raw pk hashes, accept pubkeys as well so that we can connect using them. A small precursor to the bigger pubkey revamp that's coming. Requires #432 and builds upon one of its commit.

if you're the first person connecting to a node using --con, there
is nobody who could have authenticated you, except via a local
lit-af instance. This prevents two lit-af instances running on the same
machine, as well as causing some sort of problem for people running
multiple instances of lit on a single mahine
still need to take care of other stuff to make sure that pubkey is used
uniformly inside lit
@delbonis delbonis added enhancement Nontrivial improvements that add/enhance features refactoring Significant changes to existing code to improve robustness/performance consistency Not a significant change/enhancement but clean up of confusion and removed consistency Not a significant change/enhancement but clean up of confusion labels Nov 23, 2018
@Varunram
Copy link
Contributor Author

Varunram commented Dec 5, 2018

Closed in favour of #437

@Varunram Varunram closed this Dec 5, 2018
Varunram added a commit to Varunram/lit that referenced this pull request Dec 5, 2018
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Nontrivial improvements that add/enhance features refactoring Significant changes to existing code to improve robustness/performance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants