mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-17 13:07:54 +02:00
Move non-trivial uint256.h methods to uint256.cpp
This commit is contained in:
parent
236ae8665e
commit
de79aaa7a9
5 changed files with 316 additions and 245 deletions
|
|
@ -419,6 +419,11 @@ const signed char p_util_hexdigit[256] =
|
|||
-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,
|
||||
-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, };
|
||||
|
||||
signed char HexDigit(char c)
|
||||
{
|
||||
return p_util_hexdigit[(unsigned char)c];
|
||||
}
|
||||
|
||||
bool IsHex(const string& str)
|
||||
{
|
||||
BOOST_FOREACH(char c, str)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue