Files
ternfs-XTXMarkets/cpp/cdc/CDC.hpp
T
2023-02-14 22:39:38 +00:00

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);