mirror of
https://github.com/ACINQ/eclair.git
synced 2024-11-19 01:43:22 +01:00
6823309874
* use `NodeAddress` everywhere instead of `InetAddress` This makes us control more strictly when and where name resolution happens, which is important in a security-hardened setup. The `InetAddress` jdk class indeed does a lot of things behind the scenes, but now we restrict it to tcp-related classes like `Client` and `Server`. Also, in _cluster mode_ all outgoing connections (including tor) are now made on the front. * upgrade guava and rewrite nodeuri tests There is no reason to use the version of guava targetting android anymore. Also `HostAndPort` was in beta in our current lib version. We now use guava's `InetAddresses.toUriString()` to format host string, instead of manually adding brackets. Reworked `NodeURI` tests: - less repetition with one single test and multiple `testCases` - focus on non-reg (no need to verify what we know we don't support) |
||
---|---|---|
.. | ||
modules | ||
src | ||
pom.xml |