hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
main.cpp File Reference
Include dependency graph for main.cpp:

Functions

 DEFINE_bool (new_account, false, "Generate and save locally new public/private keys")
 
 DEFINE_string (account_name, "", "Name of the account. Must be unique in iroha network")
 
 DEFINE_string (pass_phrase, "", "Account pass-phrase")
 
 DEFINE_string (key_path, ".", "Path to user keys")
 
 DEFINE_string (peer_ip, "0.0.0.0", "Address of the Iroha node")
 
 DEFINE_int32 (torii_port, 50051, "Port of Iroha's Torii")
 
 DEFINE_string (json_transaction, "", "Transaction in json format")
 
 DEFINE_string (json_query, "", "Query in json format")
 
 DEFINE_bool (genesis_block, false, "Generate genesis block for new Iroha network")
 
 DEFINE_string (genesis_transaction, "", "File with transaction in json format for the genesis block")
 
 DEFINE_string (peers_address, "", "File with peers address for new Iroha network")
 
 DEFINE_bool (interactive, true, "Run iroha-cli in interactive mode")
 
iroha::keypair_tmakeOldModel (const shared_model::crypto::Keypair &keypair)
 
int main (int argc, char *argv[])
 

Function Documentation

◆ DEFINE_bool() [1/3]

DEFINE_bool ( new_account  ,
false  ,
"Generate and save locally new public/private keys"   
)

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

◆ DEFINE_bool() [2/3]

DEFINE_bool ( genesis_block  ,
false  ,
"Generate genesis block for new Iroha network"   
)

◆ DEFINE_bool() [3/3]

DEFINE_bool ( interactive  ,
true  ,
"Run iroha-cli in interactive mode"   
)

◆ DEFINE_int32()

DEFINE_int32 ( torii_port  ,
50051  ,
"Port of Iroha's Torii"   
)

◆ DEFINE_string() [1/8]

DEFINE_string ( account_name  ,
""  ,
"Name of the account. Must be unique in iroha network"   
)

◆ DEFINE_string() [2/8]

DEFINE_string ( pass_phrase  ,
""  ,
"Account pass-phrase"   
)

◆ DEFINE_string() [3/8]

DEFINE_string ( key_path  ,
"."  ,
"Path to user keys"   
)

◆ DEFINE_string() [4/8]

DEFINE_string ( peer_ip  ,
"0.0.0.0"  ,
"Address of the Iroha node"   
)

◆ DEFINE_string() [5/8]

DEFINE_string ( json_transaction  ,
""  ,
"Transaction in json format"   
)

◆ DEFINE_string() [6/8]

DEFINE_string ( json_query  ,
""  ,
"Query in json format"   
)

◆ DEFINE_string() [7/8]

DEFINE_string ( genesis_transaction  ,
""  ,
"File with transaction in json format for the genesis block"   
)

◆ DEFINE_string() [8/8]

DEFINE_string ( peers_address  ,
""  ,
"File with peers address for new Iroha network"   
)

◆ main()

int main ( int  argc,
char *  argv[] 
)
Here is the call graph for this function:

◆ makeOldModel()

iroha::keypair_t* makeOldModel ( const shared_model::crypto::Keypair keypair)
Here is the call graph for this function:
Here is the caller graph for this function: