Commit Graph

42 Commits

Author SHA1 Message Date
subtly
6803c4f2db style 2015-04-17 06:41:45 -04:00
subtly
14adc795ac test constants 2015-04-16 20:53:12 -04:00
subtly
94aa125268 update test 2015-04-15 21:23:49 -04:00
subtly
339836d3fb Merge branch 'develop' into discoveryEndpoints 2015-04-15 18:38:17 -04:00
subtly
4f68bb8d45 Merge branch 'p2p' into discoveryEndpoints 2015-04-14 03:24:56 -04:00
subtly
c4eea88b3f Merge branch 'p2p' into netFix 2015-04-14 03:23:12 -04:00
subtly
b6ee801879 proper neighbours packet size w/test 2015-04-14 02:44:01 -04:00
subtly
2560af3a1d cleanup/prep endpoint semantics for #1558 and #1557 2015-04-14 02:22:39 -04:00
subtly
e51bdd0122 test use of steady_clock for timeout 2015-04-11 16:03:56 -04:00
subtly
708c55478c adopt node IP address from udp header when ping.ipAddress isn't public 2015-03-26 16:21:25 +01:00
subtly
70184ece42 correct net/test for ping packet 2015-03-26 06:06:34 +01:00
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