-
Notifications
You must be signed in to change notification settings - Fork 96
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
Use SocketAddr
for connecting outbound instea of SocketAddress
?
#492
Comments
Well, for one we at least consider to eventually support Tor (#178), but more importantly, we use |
Ah, presumably we should have our own type, then, since we don't support I2P (let alone OnionV2)? |
You mean an LDK Node specific type? Not sure, I generally try to reuse LDK (and BDK/rust-bitcoin) types where possible to allow for easy interop. |
I assume for the most part folks aren't taking the address out of the network graph from LDK but rather hard-coding it. In the second case I guess it'd be useful, but in the first its just confusing. Not that its all that critical, tho 🤷♂ . |
ldk-node
currently uses LDK'sSocketAddress
(which has variants for Tor/I2P/etc) in configuration for the listening address or for the address to connect to in a few places. This implies thatldk-node
knows how to connect to Tor/I2P/etc, but I believe that it does not. Instead, shouldn't it usecore::net::SocketAddr
?The text was updated successfully, but these errors were encountered: