Classes | |
class | ModelBlocksQueryBuilder |
class | ModelCrypto |
class | ModelProto |
class | ModelQueryBuilder |
class | ModelTransactionBuilder |
Typedefs | |
using | Blob = std::vector< uint8_t > |
Functions | |
std::string | convert (const Blob &blob) |
template<typename Proto > | |
boost::optional< Proto > | get (const std::string &blob) |
void | validateTransaction (const Blob &b) |
void | validateQuery (const Blob &b) |
Blob | signTransaction (const Blob &b, const crypto::Keypair &key) |
Blob | signQuery (const Blob &b, const crypto::Keypair &key) |
Blob | hashTransaction (const Blob &b) |
Blob | hashQuery (const Blob &b) |
interface::types::HashType | utxReducedHash (const shared_model::proto::UnsignedWrapper< shared_model::proto::Transaction > &utx) |
using shared_model::bindings::Blob = typedef std::vector<uint8_t> |
std::string shared_model::bindings::convert | ( | const Blob & | blob | ) |
boost::optional<Proto> shared_model::bindings::get | ( | const std::string & | blob | ) |
Get the hash of given protobuf query
blob | to calculate hash from |
Get the hash of given protobuf transaction
blob | to calculate hash from |
Blob shared_model::bindings::signQuery | ( | const Blob & | , |
const crypto::Keypair & | |||
) |
Signs protobuf query
blob | to sign |
key | is keypair for signing |
Blob shared_model::bindings::signTransaction | ( | const Blob & | , |
const crypto::Keypair & | |||
) |
Signs protobuf transaction
blob | to sign |
key | is keypair for signing |
interface::types::HashType shared_model::bindings::utxReducedHash | ( | const shared_model::proto::UnsignedWrapper< shared_model::proto::Transaction > & | ) |
Get reduced hash of unsigned transaction
utx | to get hash from |
void shared_model::bindings::validateQuery | ( | const Blob & | ) |
Validate protobuf query
blob | to validate |
void shared_model::bindings::validateTransaction | ( | const Blob & | ) |
Validate protobuf transaction
blob | to validate |