Iroha - A simple, decentralized ledger http://iroha.tech
iroha::model::CreateAccount Struct Reference

#include "create_account.hpp"

Inheritance diagram for iroha::model::CreateAccount:
Inheritance graph
Collaboration diagram for iroha::model::CreateAccount:
Collaboration graph

Public Member Functions

bool operator== (const Command &command) const override
 CreateAccount ()
 CreateAccount (const std::string &account_name, const std::string &domain_id, const pubkey_t &pubkey)
- Public Member Functions inherited from iroha::model::Command
virtual ~Command ()=default
virtual bool operator!= (const Command &rhs) const

Public Attributes

std::string account_name
std::string domain_id
pubkey_t pubkey

Detailed Description

Command for creation of a new account in the system

Constructor & Destructor Documentation

iroha::model::CreateAccount::CreateAccount ( )
iroha::model::CreateAccount::CreateAccount ( const std::string &  account_name,
const std::string &  domain_id,
const pubkey_t pubkey 

Member Function Documentation

bool iroha::model::CreateAccount::operator== ( const Command command) const

Implements iroha::model::Command.

Member Data Documentation

std::string iroha::model::CreateAccount::account_name

Account's user name

std::string iroha::model::CreateAccount::domain_id

Account's domain (full name)

pubkey_t iroha::model::CreateAccount::pubkey

Signatory of account

The documentation for this struct was generated from the following files: