BitShares-Core  6.1.0
BitShares blockchain implementation and command-line interface software
Classes | Functions | Variables
graphene::utilities Namespace Reference

Classes

class  curl_wrapper
 
class  es_client
 
struct  es_data_adaptor
 
class  padding_ostream
 

Functions

std::vector< std::string > createBulk (const fc::mutable_variant_object &bulk_header, std::string &&data)
 
template<typename T >
void get_program_option (const boost::program_options::variables_map &from, const std::string &key, T &to)
 
std::string key_to_wif (const fc::sha256 &private_secret)
 
std::string key_to_wif (const fc::ecc::private_key &key)
 
fc::optional< fc::ecc::private_keywif_to_key (const std::string &wif_key)
 
std::string escape_string_for_c_source_code (const std::string &input)
 
fc::path temp_directory_path ()
 

Variables

const char *const git_revision_sha
 
const uint32_t git_revision_unix_timestamp
 
const char *const git_revision_description
 

Function Documentation

◆ createBulk()

std::vector< std::string > graphene::utilities::createBulk ( const fc::mutable_variant_object bulk_header,
std::string &&  data 
)

Definition at line 69 of file elasticsearch.cpp.

◆ escape_string_for_c_source_code()

std::string graphene::utilities::escape_string_for_c_source_code ( const std::string &  input)

Definition at line 29 of file string_escape.cpp.

◆ get_program_option()

template<typename T >
void graphene::utilities::get_program_option ( const boost::program_options::variables_map &  from,
const std::string &  key,
T &  to 
)

Definition at line 30 of file boost_program_options.hpp.

◆ key_to_wif() [1/2]

std::string graphene::utilities::key_to_wif ( const fc::sha256 private_secret)

Definition at line 30 of file key_conversion.cpp.

◆ key_to_wif() [2/2]

std::string graphene::utilities::key_to_wif ( const fc::ecc::private_key key)

Definition at line 42 of file key_conversion.cpp.

◆ temp_directory_path()

fc::path graphene::utilities::temp_directory_path ( )

Definition at line 31 of file tempdir.cpp.

◆ wif_to_key()

fc::optional< fc::ecc::private_key > graphene::utilities::wif_to_key ( const std::string &  wif_key)

Definition at line 47 of file key_conversion.cpp.

Variable Documentation

◆ git_revision_description

const char* const graphene::utilities::git_revision_description

◆ git_revision_sha

const char* const graphene::utilities::git_revision_sha

◆ git_revision_unix_timestamp

const uint32_t graphene::utilities::git_revision_unix_timestamp