diff options
| author | Pieter Wuille <[email protected]> | 2012-04-29 02:11:56 +0200 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2012-06-23 01:11:32 +0200 |
| commit | 70f7f0038592a28e846f02d084f0119fc34eb52f (patch) | |
| tree | 7439cec074260c4eee55026c5a9ab37e0bcf6f58 /src/util.cpp | |
| parent | Unit tests for base32 encode/decode (diff) | |
| download | discoin-70f7f0038592a28e846f02d084f0119fc34eb52f.tar.xz discoin-70f7f0038592a28e846f02d084f0119fc34eb52f.zip | |
Node support for Tor hidden services
This commit adds support for .onion addresses (mapped into the IPv6
by using OnionCat's range and encoding), and the ability to connect
to them via a SOCKS5 proxy.
Diffstat (limited to 'src/util.cpp')
| -rw-r--r-- | src/util.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.cpp b/src/util.cpp index 931d27ba0..5fff27160 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -704,7 +704,7 @@ string DecodeBase64(const string& str) string EncodeBase32(const unsigned char* pch, size_t len) { - static const char *pbase32 = "ABCDEFGHIJKLMNOPQRSTUVWXYZ234567"; + static const char *pbase32 = "abcdefghijklmnopqrstuvwxyz234567"; string strRet=""; strRet.reserve((len+4)/5*8); |