Added get_typename function needed by new leveldb database upgrading code (uint160 is stored in blockchain database).
This commit is contained in:
parent
09c84c1731
commit
68281f4dc0
1 changed files with 4 additions and 0 deletions
|
|
@ -1,6 +1,8 @@
|
|||
#pragma once
|
||||
#include <fc/fwd.hpp>
|
||||
#include <fc/string.hpp>
|
||||
#include <fc/reflect/typename.hpp>
|
||||
|
||||
|
||||
namespace fc{
|
||||
class sha512;
|
||||
|
|
@ -75,6 +77,8 @@ class ripemd160
|
|||
typedef ripemd160 uint160_t;
|
||||
typedef ripemd160 uint160;
|
||||
|
||||
template<> struct get_typename<uint160> { static const char* name() { return "uint160"; } };
|
||||
|
||||
} // namespace fc
|
||||
|
||||
namespace std
|
||||
|
|
|
|||
Loading…
Reference in a new issue