update bitcoin core to git ce148944c7

This commit is contained in:
Wladimir J. van der Laan
2011-06-12 12:27:01 +02:00
parent 0424613ba2
commit 18cf214528
8 changed files with 111 additions and 15 deletions

View 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;