Skip to content

Commit

Permalink
chia_plot.cpp info
Browse files Browse the repository at this point in the history
  • Loading branch information
stotiks committed Jun 14, 2021
1 parent d79a8da commit aff2601
Showing 1 changed file with 9 additions and 21 deletions.
30 changes: 9 additions & 21 deletions src/chia_plot.cpp
Expand Up @@ -138,19 +138,17 @@ phase4::output_t create_plot( const int num_threads,

int _main(int argc, char** argv)
{
std::cout << std::endl << "Multi-threaded pipelined Chia k32 plotter";
#ifdef GIT_COMMIT_HASH
std::cout << " - " << GIT_COMMIT_HASH;
#endif

cxxopts::Options options("chia_plot",
"Multi-threaded pipelined Chia k32 plotter"
#ifdef GIT_COMMIT_HASH
" - " GIT_COMMIT_HASH
#endif

#ifdef CHIA_PLOT_BUILD_INFO
"\n"
CHIA_PLOT_BUILD_INFO
#endif
#ifdef CHIA_PLOT_BUILD_INFO
std::cout << std::endl << CHIA_PLOT_BUILD_INFO;
#endif
std::cout << std::endl << std::endl;

"\n\n"
cxxopts::Options options("chia_plot",
"For <poolkey> and <farmerkey> see output of `chia keys show`.\n"
"<tmpdir> needs about 220 GiB space, it will handle about 25% of all writes. (Examples: './', '/mnt/tmp/')\n"
"<tmpdir2> needs about 110 GiB space and ideally is a RAM drive, it will handle about 75% of all writes.\n"
Expand Down Expand Up @@ -295,16 +293,6 @@ int _main(int argc, char** argv)
std::signal(SIGTERM, interrupt_handler);
}

std::cout << "Multi-threaded pipelined Chia k32 plotter";
#ifdef GIT_COMMIT_HASH
std::cout << " - " << GIT_COMMIT_HASH;
#endif

#ifdef CHIA_PLOT_BUILD_INFO
std::cout << std::endl << CHIA_PLOT_BUILD_INFO;
#endif

std::cout << std::endl;
std::cout << "Final Directory: " << final_dir << std::endl;
if(num_plots >= 0) {
std::cout << "Number of Plots: " << num_plots << std::endl;
Expand Down

0 comments on commit aff2601

Please sign in to comment.