Added get_typename function needed by new leveldb database upgrading code (uint160 is stored in blockchain database).

This commit is contained in:
dnotestein 2014-02-11 23:10:24 -05:00
parent 09c84c1731
commit 68281f4dc0

View file

@ -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