Commit Graph

31 Commits

Author SHA1 Message Date
subtly
e6a1ca28e5 fix test typo 2015-03-23 15:31:03 +01:00
subtly
272bd3c60c gracefully handle old pingnode packet 2015-03-23 15:26:48 +01:00
subtly
eb047148ff fix net/ unit tests for nodetable updates 2015-03-22 19:05:39 +01:00
subtly
3d98932c1e NodeTable constructor requires and listens to explicit IP address instead of defaulting to 0.0.0.0 (all addresses). 2015-03-22 18:39:56 +01:00
chriseth
84fdc6f1f2 Exception-throwing assert. 2015-03-18 15:32:17 +01:00
jhuntley
e229b5d291 Revert all asio.h includes except for in 2 files, DebuggingStateWrapper.h and Transact.cpp. After enabling WIN32_LEAN_AND_MEAN, all the asio.h include issues, commit 20b6e24ffcab088e71092e07030a377d3135da3c, went away. 2015-03-04 11:18:32 -05:00
jhuntley
5ae585f7cf asio.h and windows.h build comments as per request. 2015-03-04 11:17:46 -05:00
jhuntley
b6b80b0200 Avoid boost include order issue on windows:
http://stackoverflow.com/questions/9750344/boostasio-winsock-and-winsock-2-compatibility-issue
http://stackoverflow.com/questions/9750344/boostasio-winsock-and-winsock-2-compatibility-issue/16288859#16288859

Make sure boost/asio.hpp is included before windows.h.
2015-03-04 11:17:46 -05:00
subtly
d1078b667c update packet test 2015-02-06 16:49:35 -08:00
subtly
1ff4301409 updates for code-review 2015-02-06 11:54:00 -08:00
subtly
f4233598c1 import/export peers and nodes 2015-01-30 17:53:27 -08:00
subtly
ecf3c0bb32 stl sleep_for, for windows 2015-01-06 17:01:17 +01:00
subtly
2cf2af356b define constructors for windows 2015-01-06 16:51:10 +01:00
subtly
682c68842c code review 2015-01-05 22:01:23 +01:00
subtly
96ebead6aa coding standards, h512 node id, mute warnings for clang builds. attempt inherited constructor fix for windows. 2015-01-04 21:01:56 +01:00
subtly
94c1a961d9 manually populate nodes for test rather than leveraging ping 2014-12-28 14:24:21 +01:00
subtly
60f2344b2b inline << operator, mute logging 2014-12-26 05:38:27 +01:00
subtly
b663349524 test encoding/decoding neighbors. add MAC. 2014-12-26 00:56:50 +01:00
subtly
7553954cf2 memory 2014-12-24 14:48:47 +01:00
subtly
aad7141f0a message signing and verification. shutdown io/thread before dealloc in nodetable/testnodetables. 2014-12-24 10:22:27 +01:00
subtly
25a905b740 basic implementation of packets 2014-12-23 13:44:52 +01:00
subtly
cb6517e99e send/receive messages (not yet interepreted) 2014-12-23 09:25:36 +01:00
subtly
1e0d4c95ce refactor constants to be determined during compile. added RLPXDatagram. constructors and updates to datagram constructors. docs and logging. WIP tests and host/harness for NodeTable. 2014-12-23 08:56:56 +01:00
subtly
88f7ff617d repot. 2014-12-22 03:56:07 +01:00
subtly
400d19b140 move some things for udp. added a class for kademlia. 2014-12-22 01:51:19 +01:00
subtly
16ba69ae78 fix the fix 2014-12-19 22:40:44 +01:00
subtly
4588bfba66 initialize atomics so udp messages are delivered on linux #656 2014-12-19 22:14:11 +01:00
subtly
ed9a5e572a stash 2014-12-18 20:25:36 +01:00
subtly
b3b4411c4c spacing 2014-12-18 17:21:06 +01:00
subtly
d22e4b3b21 initial interface for udp. test sending/receiving udp. 2014-12-18 08:35:12 +01:00
subtly
c7d6502b43 udp != tcp. history-commit. 2014-12-16 22:01:39 +01:00