aboutsummaryrefslogtreecommitdiff
path: root/test/test_msg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_msg.cpp')
-rw-r--r--test/test_msg.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/test/test_msg.cpp b/test/test_msg.cpp
index 8b7528f..08be1ef 100644
--- a/test/test_msg.cpp
+++ b/test/test_msg.cpp
@@ -23,12 +23,13 @@
*/
#include "salticidae/msg.h"
+#include "salticidae/network.h"
using salticidae::uint256_t;
using salticidae::DataStream;
using salticidae::get_hash;
using salticidae::get_hex;
-
+/*
struct MsgTest: public salticidae::MsgBase<> {
using MsgBase::MsgBase;
@@ -58,8 +59,10 @@ struct MsgTest: public salticidae::MsgBase<> {
}
}
};
+*/
int main() {
+ /*
MsgTest msg;
msg.gen_ping(1234);
printf("%s\n", std::string(msg).c_str());
@@ -72,5 +75,7 @@ int main() {
} catch (std::runtime_error &e) {
printf("caught: %s\n", e.what());
}
+ */
+ salticidae::PeerNetwork<> pn(salticidae::EventContext());
return 0;
}