Add CashAddr Address Format
Ported from Bitcoin Unlimited, Bitcoin ABC
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user