This commit is contained in:
SunnyQjm committed 2020-09-25 15:35:16 +08:00
1 parent b775cb4f8c
commit 3ef64d8bcf
2 files changed
+1 -3

No files matched your search

+1 -1
View File
@@ -24,7 +24,7 @@ public:
explicit
BlockChainLogger(std::string shareMemoryName = "MIN-MIR-WARNING-LOG-TO-BLOCKCHAIN",
std::string host = "localhost", int port = 6363,
std::string prefix = "/mis/log");
std::string prefix = "/mis1");
/**
* 运行日志转发服务
-2
View File
@@ -18,14 +18,12 @@ using namespace std;
int main() {
ndn::security::ntru::NTRUSignUtil::init();
Server server;
std::thread t([]() {
BlockChainLogger blockChainLogger;
blockChainLogger.run();
});
server.run();
ndn::security::ntru::NTRUSignUtil::clean();
// AddOrUpdateCertificateRequestMessage addOrUpdateCertificateRequestMessage;
// addOrUpdateCertificateRequestMessage.parse("{\n"