aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2018-07-20 20:08:59 -0400
committerDeterminant <[email protected]>2018-07-20 20:08:59 -0400
commit0465243c710ede74a78885077140d8673efbc647 (patch)
treed8b36060c31b6168d0967fd7f6e70d841aceed0f /test
parent0bd0ddd69c5f6d5f59fcf73a943491ba026b2c4c (diff)
improve msg & msg network interface
Diffstat (limited to 'test')
-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;
}