Add CashAddr Address Format

Ported from Bitcoin Unlimited, Bitcoin ABC
This commit is contained in:
lateminer
2018-01-14 22:32:08 +03:00
parent 7cd5894690
commit 323a6750c2
85 changed files with 3107 additions and 780 deletions

View File

@@ -163,4 +163,17 @@ inline uint256 uint256S(const std::string& str)
return rv;
}
inline uint160 uint160S(const char *str)
{
uint160 rv;
rv.SetHex(str);
return rv;
}
inline uint160 uint160S(const std::string &str)
{
uint160 rv;
rv.SetHex(str);
return rv;
}
#endif // BITCOIN_UINT256_H