diff options
author | dergoegge <n.goeggi@gmail.com> | 2022-11-17 14:38:39 +0000 |
---|---|---|
committer | dergoegge <n.goeggi@gmail.com> | 2022-11-17 14:52:45 +0000 |
commit | c9ba3f836e1646875d2f96f1f466f8a83634a6f7 (patch) | |
tree | 4a644e4133723baf7c50a9ec96e7b34e5714c546 /src/netaddress.h | |
parent | 7ef730ca84bd71a06f986ae7070e7b2ac8e47582 (diff) |
[netaddress] Make OnionToString public
Diffstat (limited to 'src/netaddress.h')
-rw-r--r-- | src/netaddress.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/netaddress.h b/src/netaddress.h index e52beb783d..11086eaee0 100644 --- a/src/netaddress.h +++ b/src/netaddress.h @@ -111,6 +111,8 @@ static constexpr size_t ADDR_INTERNAL_SIZE = 10; /// SAM 3.1 and earlier do not support specifying ports and force the port to 0. static constexpr uint16_t I2P_SAM31_PORT{0}; +std::string OnionToString(Span<const uint8_t> addr); + /** * Network address. */ |