hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
keypair.hpp
Go to the documentation of this file.
1 
6 #ifndef IROHA_CRYPTO_KEYPAIR_HPP
7 #define IROHA_CRYPTO_KEYPAIR_HPP
8 
9 #include "common/blob.hpp"
10 
11 namespace iroha {
12 
13  using sig_t = blob_t<64>; // ed25519 sig is 64 bytes length
16 
17  struct keypair_t {
18  keypair_t() = default;
19 
21  : pubkey(pubkey), privkey(privkey) {}
22 
25  };
26 } // namespace iroha
27 
28 #endif // IROHA_CRYPTO_KEYPAIR_HPP
privkey_t privkey
Definition: keypair.hpp:24
Definition: keypair.hpp:17
Definition: block_query.hpp:16
keypair_t(pubkey_t pubkey, privkey_t privkey)
Definition: keypair.hpp:20
Definition: blob.hpp:49
keypair_t()=default
pubkey_t pubkey
Definition: keypair.hpp:23