29 BlockDetails::BlockDetails(
RLP const& _r)
31 number = _r[0].
toInt<
unsigned>();
40 auto ret =
rlpList(number, totalDifficulty, parent, children);
Adapted from code found on http://stackoverflow.com/questions/180947/base64-decode-snippet-in-c Origi...
bytes rlp(_T _t)
Export a single item in RLP format, returning a byte array.
std::vector< T > toVector(int _flags=LaissezFaire) const
std::hash for asio::adress
_N toHash(int _flags=Strict) const
std::vector< byte > bytes
boost::multiprecision::number< boost::multiprecision::cpp_int_backend< 256, 256, boost::multiprecision::unsigned_magnitude, boost::multiprecision::unchecked, void >> u256
bytes rlpList()
Export a list of items in RLP format, returning a byte array.
uint8_t const size_t const size
_T toInt(int _flags=Strict) const
Converts to int of type given; if isString(), decodes as big-endian bytestream.
Class for interpreting Recursive Linear-Prefix Data.