mirror of
https://github.com/mimblewimble/grin.git
synced 2025-01-21 03:21:08 +03:00
362fbcf90f
A receiving peer trusts the address advertised by a client. However as we do not have external address detection (and there is generally no very good way to do that), the address detected by a peer is the loopback, which is useless. So we attempt to detect these cases and use the IP detected by the TCP connection while keeping the advertised port. |
||
---|---|---|
.. | ||
src | ||
tests | ||
Cargo.toml | ||
rustfmt.toml |