-
Notifications
You must be signed in to change notification settings - Fork 43
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
XUD doesn't update LND's pubkey #1013
Comments
Might be that an old XUD process was still running. |
Very good point! I believe "caching" swap client addresses (lnd URIs and raiden addresses) locally is legit, but we definitely need a (pull) update mechanism: These are the situations I can think of where we should pull new swap client addresses from a peer:
Which ones are missing? Which ones are we doing already? @sangaman @erkarl I'd categorize this as |
We don't actually store or cache lnd pub keys between sessions. We request them anew each time we connect (or reconnect). I'm thinking this is probably indeed a case of an old xud process or something along those lines. I think we can close this issues unless there are any lingering concerns. |
I had this problem again. @sangaman please have another look:
|
We definitely don't keep lnd pubkeys anywhere in the database. Can you describe exactly what is happening? When did the lnd pubkey change? While xud was running? Every time xud verifies a connection to lnd it calls |
added issue to add this to the simulation tests: #1040 |
I'd say we have to invest some time trying to reproduce this, if not close. |
Check for TODO in code to broadcast node state update packet if nodepubkey is detected |
Will be handled by #1040 (comment) in future. |
Looks like XUD keeps in its database the identity pubkeys of LND.
As such, replacing LND creates a problem since peers are still using the old identities.
for example:
on test3 I now have this:
but on test2 I see this
The text was updated successfully, but these errors were encountered: