Fabcoin Core
0.16.2
P2P Digital Currency
|
#include <array>
#include <cstdint>
#include <algorithm>
#include <boost/random/random_device.hpp>
#include <boost/random/uniform_int_distribution.hpp>
#include <boost/functional/hash.hpp>
#include "CommonData.h"
Go to the source code of this file.
Classes | |
struct | dev::StaticLog2< N > |
Compile-time calculation of Log2 of constant values. More... | |
struct | dev::StaticLog2< 1 > |
class | dev::FixedHash< N > |
Fixed-size raw-byte array container type, with an API optimised for storing hashes. More... | |
struct | dev::FixedHash< N >::hash |
class | dev::SecureFixedHash< T > |
struct | std::hash< dev::h64 > |
Forward std::hash<dev::FixedHash> to dev::FixedHash::hash. More... | |
struct | std::hash< dev::h128 > |
struct | std::hash< dev::h160 > |
struct | std::hash< dev::h256 > |
struct | std::hash< dev::h512 > |
Namespaces | |
dev | |
Adapted from code found on http://stackoverflow.com/questions/180947/base64-decode-snippet-in-c Originally by René Nyffenegger. | |
std | |
std::hash for asio::adress | |
Typedefs | |
using | dev::h2048 = FixedHash< 256 > |
using | dev::h1024 = FixedHash< 128 > |
using | dev::h520 = FixedHash< 65 > |
using | dev::h512 = FixedHash< 64 > |
using | dev::h256 = FixedHash< 32 > |
using | dev::h160 = FixedHash< 20 > |
using | dev::h128 = FixedHash< 16 > |
using | dev::h64 = FixedHash< 8 > |
using | dev::h512s = std::vector< h512 > |
using | dev::h256s = std::vector< h256 > |
using | dev::h160s = std::vector< h160 > |
using | dev::h256Set = std::set< h256 > |
using | dev::h160Set = std::set< h160 > |
using | dev::h256Hash = std::unordered_set< h256 > |
using | dev::h160Hash = std::unordered_set< h160 > |
Functions | |
template<unsigned N> | |
std::ostream & | dev::operator<< (std::ostream &_out, FixedHash< N > const &_h) |
Stream I/O for the FixedHash class. More... | |
template<unsigned N> | |
std::ostream & | dev::operator<< (std::ostream &_out, SecureFixedHash< N > const &_h) |
Stream I/O for the SecureFixedHash class. More... | |
h160 | dev::right160 (h256 const &_t) |
Convert the given value into h160 (160-bit unsigned integer) using the right 20 bytes. More... | |
h160 | dev::left160 (h256 const &_t) |
Convert the given value into h160 (160-bit unsigned integer) using the left 20 bytes. More... | |
h128 | dev::fromUUID (std::string const &_uuid) |
std::string | dev::toUUID (h128 const &_uuid) |
std::string | dev::toString (h256s const &_bs) |
Variables | |
boost::random_device | dev::s_fixedHashEngine |