diff --git a/BlockChainLogger.h b/BlockChainLogger.h index ad6d36a..6a62bea 100644 --- a/BlockChainLogger.h +++ b/BlockChainLogger.h @@ -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"); /** * 运行日志转发服务 diff --git a/main.cpp b/main.cpp index f6ab6c0..b368c8c 100644 --- a/main.cpp +++ b/main.cpp @@ -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"