Electroneum
Classes | Namespaces | Functions
cryptonote_basic_impl.h File Reference
#include "cryptonote_basic.h"
#include "crypto/crypto.h"
#include "crypto/hash.h"
Include dependency graph for cryptonote_basic_impl.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  cryptonote::array_hasher< t_array >
 
struct  cryptonote::public_address_outer_blob
 
struct  cryptonote::public_integrated_address_outer_blob
 
struct  cryptonote::address_parse_info
 

Namespaces

 cryptonote
 Holds cryptonote related classes and helpers.
 
 cryptonote::anonymous_namespace{cryptonote_basic_impl.h}
 

Functions

std::string cryptonote::anonymous_namespace{cryptonote_basic_impl.h}::return_first_address (const std::string &url, const std::vector< std::string > &addresses, bool dnssec_valid)
 
size_t cryptonote::get_min_block_weight (uint8_t version)
 
size_t cryptonote::get_max_tx_size ()
 
bool cryptonote::get_block_reward (size_t median_weight, size_t current_block_weight, uint64_t already_generated_coins, uint64_t &reward, uint8_t version, uint64_t current_block_height, network_type nettype)
 
uint8_t cryptonote::get_account_address_checksum (const public_address_outer_blob &bl)
 
uint8_t cryptonote::get_account_integrated_address_checksum (const public_integrated_address_outer_blob &bl)
 
std::string cryptonote::get_account_address_as_str (network_type nettype, bool subaddress, account_public_address const &adr)
 
std::string cryptonote::get_account_integrated_address_as_str (network_type nettype, account_public_address const &adr, crypto::hash8 const &payment_id)
 
bool cryptonote::get_account_address_from_str (address_parse_info &info, network_type nettype, std::string const &str)
 
bool cryptonote::get_account_address_from_str_or_url (address_parse_info &info, network_type nettype, const std::string &str_or_url, std::function< std::string(const std::string &, const std::vector< std::string > &, bool)> dns_confirm)
 
bool cryptonote::is_coinbase (const transaction &tx)
 
bool cryptonote::operator== (const cryptonote::transaction &a, const cryptonote::transaction &b)
 
bool cryptonote::operator== (const cryptonote::block &a, const cryptonote::block &b)
 
bool parse_hash256 (const std::string &str_hash, crypto::hash &hash)
 

Function Documentation

◆ parse_hash256()

bool parse_hash256 ( const std::string &  str_hash,
crypto::hash hash 
)