update bitcoin core to git ce148944c776ae8e91cc058f44ddce356c7cebc9
[novacoin.git] / src / base58.h
index 580bd3f..c2729d4 100644 (file)
@@ -38,6 +38,8 @@ inline std::string EncodeBase58(const unsigned char* pbegin, const unsigned char
 
     // Convert bignum to std::string
     std::string str;
+    // Expected size increase from base58 conversion is approximately 137%
+    // use 138% to be safe
     str.reserve((pend - pbegin) * 138 / 100 + 1);
     CBigNum dv;
     CBigNum rem;