104 {
105 auto cfg_options = cfg.add_options();
106 cfg_options("trace-dir", bpo::value<bfs::path>()->default_value("traces"),
107 "the location of the trace directory (absolute path or relative to application data dir)");
108 cfg_options("trace-slice-stride", bpo::value<uint32_t>()->default_value(10'000),
109 "the number of blocks each \"slice\" of trace data will contain on the filesystem");
110 cfg_options("trace-minimum-irreversible-history-blocks", boost::program_options::value<int32_t>()->default_value(-1),
111 "Number of blocks to ensure are kept past LIB for retrieval before \"slice\" files can be automatically removed.\n"
112 "A value of -1 indicates that automatic removal of \"slice\" files will be turned off.");
113 cfg_options("trace-minimum-uncompressed-irreversible-history-blocks", boost::program_options::value<int32_t>()->default_value(-1),
114 "Number of blocks to ensure are uncompressed past LIB. Compressed \"slice\" files are still accessible but may carry a performance loss on retrieval\n"
115 "A value of -1 indicates that automatic compression of \"slice\" files will be turned off.");
116 }