Skip to content

Commit aff2601

Browse files
committed
chia_plot.cpp info
1 parent d79a8da commit aff2601

File tree

1 file changed

+9
-21
lines changed

1 file changed

+9
-21
lines changed

src/chia_plot.cpp

Lines changed: 9 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -138,19 +138,17 @@ phase4::output_t create_plot( const int num_threads,
138138

139139
int _main(int argc, char** argv)
140140
{
141+
std::cout << std::endl << "Multi-threaded pipelined Chia k32 plotter";
142+
#ifdef GIT_COMMIT_HASH
143+
std::cout << " - " << GIT_COMMIT_HASH;
144+
#endif
141145

142-
cxxopts::Options options("chia_plot",
143-
"Multi-threaded pipelined Chia k32 plotter"
144-
#ifdef GIT_COMMIT_HASH
145-
" - " GIT_COMMIT_HASH
146-
#endif
147-
148-
#ifdef CHIA_PLOT_BUILD_INFO
149-
"\n"
150-
CHIA_PLOT_BUILD_INFO
151-
#endif
146+
#ifdef CHIA_PLOT_BUILD_INFO
147+
std::cout << std::endl << CHIA_PLOT_BUILD_INFO;
148+
#endif
149+
std::cout << std::endl << std::endl;
152150

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

298-
std::cout << "Multi-threaded pipelined Chia k32 plotter";
299-
#ifdef GIT_COMMIT_HASH
300-
std::cout << " - " << GIT_COMMIT_HASH;
301-
#endif
302-
303-
#ifdef CHIA_PLOT_BUILD_INFO
304-
std::cout << std::endl << CHIA_PLOT_BUILD_INFO;
305-
#endif
306-
307-
std::cout << std::endl;
308296
std::cout << "Final Directory: " << final_dir << std::endl;
309297
if(num_plots >= 0) {
310298
std::cout << "Number of Plots: " << num_plots << std::endl;

0 commit comments

Comments
 (0)