BitShares-Core
7.0.2
BitShares blockchain node software and command-line wallet software
|
Go to the documentation of this file.
2 #include <boost/endian/buffers.hpp>
15 explicit ripemd160(
const string& hex_str );
18 explicit operator string()
const;
21 static constexpr
size_t data_size() {
return 160/8; }
42 void write(
const char* d, uint32_t dlen );
54 ds.write( ep.
data(),
sizeof(ep) );
60 ds.read( ep.
data(),
sizeof(ep) );
71 boost::endian::little_uint32_buf_t
_hash[5];
89 void to_variant(
const ripemd160& bi, variant& v, uint32_t max_depth );
90 void from_variant(
const variant& v, ripemd160& bi, uint32_t max_depth );
102 struct hash<
fc::ripemd160>
106 return *((
size_t*)&s);
friend T & operator>>(T &ds, ripemd160 &ep)
void write(const char *d, uint32_t dlen)
friend T & operator<<(T &ds, const ripemd160 &ep)
void unpack(Stream &s, flat_set< T, A... > &value, uint32_t _max_depth)
static const char * name()
void from_variant(const variant &var, flat_set< T, A... > &vo, uint32_t _max_depth)
boost::endian::little_uint32_buf_t _hash[5]
friend bool operator<(const ripemd160 &h1, const ripemd160 &h2)
void to_variant(const flat_set< T, A... > &var, variant &vo, uint32_t _max_depth)
static ripemd160 hash(const T &t)
friend bool operator==(const ripemd160 &h1, const ripemd160 &h2)
friend bool operator>(const ripemd160 &h1, const ripemd160 &h2)
friend bool operator>=(const ripemd160 &h1, const ripemd160 &h2)
static ripemd160 hash(const fc::sha512 &h)
size_t operator()(const fc::ripemd160 &s) const
static constexpr size_t data_size()
friend ripemd160 operator^(const ripemd160 &h1, const ripemd160 &h2)
friend bool operator!=(const ripemd160 &h1, const ripemd160 &h2)
Used to forward declare value types.
void pack(Stream &s, const flat_set< T, A... > &value, uint32_t _max_depth)