hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
iroha_cli Namespace Reference

Namespaces

 interactive
 

Classes

class  CliClient
 
struct  EnumTypeHash
 
class  GrpcResponseHandler
 
class  QueryResponseHandler
 
class  TransactionResponseHandler
 

Enumerations

enum  PrefixId {
  kAccountId, kAssetId, kAmount, kDomainId,
  kSignatories, kPrecision, kRoles, kJsonData,
  kCreatorId, kCreatedTime, kHash, kCommands,
  kDefault
}
 

Functions

bool validate_port (const char *, gflags::int32 port)
 
bool validate_peers (const char *, const std::string &s)
 
bool validate_config (const char *, const std::string &file)
 
bool validate_genesis_block (const char *, const std::string &file)
 

Variables

const std::map< PrefixId, const char * > prefix
 

Detailed Description

Copyright Soramitsu Co., Ltd. All Rights Reserved. SPDX-License-Identifier: Apache-2.0

Enumeration Type Documentation

Enumerator
kAccountId 
kAssetId 
kAmount 
kDomainId 
kSignatories 
kPrecision 
kRoles 
kJsonData 
kCreatorId 
kCreatedTime 
kHash 
kCommands 
kDefault 

Function Documentation

bool iroha_cli::validate_config ( const char *  ,
const std::string &  file 
)
bool iroha_cli::validate_genesis_block ( const char *  ,
const std::string &  file 
)
bool iroha_cli::validate_peers ( const char *  ,
const std::string &  s 
)
bool iroha_cli::validate_port ( const char *  ,
gflags::int32  port 
)

Variable Documentation

const std::map<PrefixId, const char *> iroha_cli::prefix
Initial value:
{
{kAccountId, "-Account Id:- {}"},
{kAssetId, "-Asset Id- {}"},
{kAmount, "-Balance- {}"},
{kDomainId, "-Domain- {}"},
{kSignatories, "-Signatory- {}"},
{kPrecision, "-Precision- {}"},
{kRoles, "-Roles-: "},
{kJsonData, "-Data-: {}"},
{kCreatorId, "-Creator Id- {}"},
{kCreatedTime, "-Created Time- {}"},
{kHash, "-Hash- {}"},
{kCommands, "-Commands- {}"},
{kDefault, " {} "}}
Definition: query_response_handler.cpp:72
Definition: query_response_handler.cpp:68
Definition: query_response_handler.cpp:67
Definition: query_response_handler.cpp:66
Definition: query_response_handler.cpp:74
Definition: query_response_handler.cpp:63
Definition: query_response_handler.cpp:71
Definition: query_response_handler.cpp:64
Definition: query_response_handler.cpp:69
Definition: query_response_handler.cpp:75
Definition: query_response_handler.cpp:65
Definition: query_response_handler.cpp:73
Definition: query_response_handler.cpp:70