#include <gflags/gflags.h>
#include <rapidjson/istreamwrapper.h>
#include <rapidjson/rapidjson.h>
#include <boost/filesystem.hpp>
#include <iostream>
#include "backend/protobuf/proto_block_json_converter.hpp"
#include "backend/protobuf/queries/proto_query.hpp"
#include "backend/protobuf/transaction.hpp"
#include "client.hpp"
#include "common/result.hpp"
#include "converters/protobuf/json_proto_converter.hpp"
#include "crypto/keys_manager_impl.hpp"
#include "grpc_response_handler.hpp"
#include "interactive/interactive_cli.hpp"
#include "model/converters/json_block_factory.hpp"
#include "model/converters/json_query_factory.hpp"
#include "model/converters/pb_block_factory.hpp"
#include "model/converters/pb_query_factory.hpp"
#include "model/converters/pb_transaction_factory.hpp"
#include "model/generators/block_generator.hpp"
#include "model/model_crypto_provider_impl.hpp"
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_t * | makeOldModel (const shared_model::crypto::Keypair &keypair) |
int | main (int argc, char *argv[]) |
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 | ( | genesis_block | , |
false | , | ||
"Generate genesis block for new Iroha network" | |||
) |
DEFINE_bool | ( | interactive | , |
true | , | ||
"Run iroha-cli in interactive mode" | |||
) |
DEFINE_int32 | ( | torii_port | , |
50051 | , | ||
"Port of Iroha's Torii" | |||
) |
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_string | ( | json_transaction | , |
"" | , | ||
"Transaction in json format" | |||
) |
DEFINE_string | ( | json_query | , |
"" | , | ||
"Query in json format" | |||
) |
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" | |||
) |
int main | ( | int | argc, |
char * | argv[] | ||
) |
iroha::keypair_t* makeOldModel | ( | const shared_model::crypto::Keypair & | keypair | ) |