mirror of
https://github.com/XTXMarkets/ternfs.git
synced 2026-05-03 16:29:34 -05:00
14 lines
396 B
C++
14 lines
396 B
C++
#pragma once
|
|
|
|
#include "Env.hpp"
|
|
|
|
struct CDCOptions {
|
|
LogLevel logLevel = LogLevel::LOG_INFO;
|
|
std::string logFile = ""; // if empty, stdout
|
|
uint16_t port = 0; // chosen randomly and recorded in shuckle
|
|
std::string shuckleHost = "";
|
|
uint16_t shucklePort = 0;
|
|
std::array<uint8_t, 4> ownIp = {0, 0, 0, 0};
|
|
};
|
|
|
|
void runCDC(const std::string& dbDir, const CDCOptions& options); |