BitShares-Core
7.0.2
BitShares blockchain node software and command-line wallet software
|
Go to the documentation of this file.
33 namespace graphene {
namespace protocol {
41 :key_data( pubkey ) {};
48 const size_t prefix_len = prefix.size();
49 FC_ASSERT( base58str.size() > prefix_len );
50 FC_ASSERT( base58str.substr( 0, prefix_len ) == prefix ,
"", (
"base58str", base58str) );
52 auto bin_key = fc::raw::unpack<binary_key>(bin);
67 public_key_type::operator std::string()
const
103 vo = std::string( var );
112 uint32_t max_depth ) {
114 if (!vo) vo = std::make_shared<const graphene::protocol::fee_schedule>();
bool operator<(const price &a, const price &b)
#define FC_PACK_MAX_DEPTH
std::string to_base58(const char *d, size_t s)
template void unpack(datastream< const char * > &s, graphene::protocol::public_key_type &tx, uint32_t _max_depth=FC_PACK_MAX_DEPTH)
contains all of the parameters necessary to calculate the fee for any operation
fc::ecc::public_key_data key_data
template void pack(datastream< char * > &s, const graphene::protocol::public_key_type &tx, uint32_t _max_depth=FC_PACK_MAX_DEPTH)
std::vector< char > from_base58(const std::string &base58_str)
std::string as_string() const
contains only the public point of an elliptic curve key.
void from_variant(const variant &var, flat_set< T, A... > &vo, uint32_t _max_depth)
boost::endian::little_uint32_buf_t _hash[5]
fc::ecc::public_key_data data
zero_initialized_array< unsigned char, 33 > public_key_data
bool operator==(const price &a, const price &b)
void to_variant(const flat_set< T, A... > &var, variant &vo, uint32_t _max_depth)
#define FC_ASSERT(TEST,...)
Checks a condition and throws an assert_exception if the test is FALSE.
stores null, int64, uint64, double, bool, string, std::vector<variant>, and variant_object's.
Defines exception's used by fc.
#define GRAPHENE_ADDRESS_PREFIX
static ripemd160 hash(const fc::sha512 &h)
a 160 bit hash of a public key
public_key_data serialize() const
bool operator!=(const address &a, const address &b)
void pack(Stream &s, const flat_set< T, A... > &value, uint32_t _max_depth)