#include <iostream>#include "util/proto_status_tools.hpp"#include <gflags/gflags.h>#include "common/irohad_version.hpp"#include "logger/logger.hpp"#include "logger/logger_manager.hpp"#include "main/iroha_conf_literals.hpp"#include "util/utility_client.hpp"
Functions | |
| static bool | validateVerbosity (const char *flagname, const std::string &val) |
| static bool | validateSingleAction (const char *, bool val) |
| DEFINE_string (irohad, "127.0.0.1:11001", "Address of iroha daemon") | |
| DEFINE_string (verbosity, "warning", "Log verbosity") | |
| DEFINE_validator (verbosity, &validateVerbosity) | |
| DEFINE_bool (shutdown, false, "Ask the daemon to shut down gracefully") | |
| DEFINE_validator (shutdown, &validateSingleAction) | |
| DEFINE_bool (status, false, "Watch daemon statuses.") | |
| DEFINE_validator (status, &validateSingleAction) | |
| bool | printStatus (const iroha::utility_service::Status &status) |
| int | main (int argc, char **argv) |
| DEFINE_bool | ( | shutdown | , |
| false | , | ||
| "Ask the daemon to shut down gracefully" | |||
| ) |

| DEFINE_bool | ( | status | , |
| false | , | ||
| "Watch daemon statuses." | |||
| ) |
| DEFINE_string | ( | irohad | , |
| "127.0.0.1:11001" | , | ||
| "Address of iroha daemon" | |||
| ) |

| DEFINE_string | ( | verbosity | , |
| "warning" | , | ||
| "Log verbosity" | |||
| ) |
| DEFINE_validator | ( | verbosity | , |
| & | validateVerbosity | ||
| ) |

| DEFINE_validator | ( | shutdown | , |
| & | validateSingleAction | ||
| ) |
| DEFINE_validator | ( | status | , |
| & | validateSingleAction | ||
| ) |
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |

| bool printStatus | ( | const iroha::utility_service::Status & | status | ) |

|
static |

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