Commit Graph

45 Commits

Author SHA1 Message Date
subtly
a8c8d5ece5 Improve addNode functionality when addNode is called during network startup. 2015-04-05 15:49:53 +02:00
subtly
b1a2292e77 Fix #1475 2015-03-31 10:28:46 +02:00
subtly
f6aaa7b12f makePeer and support setting listen IP. 2015-03-28 09:39:04 +01:00
subtly
f9091e1677 update CLI and AZ UI for replacing local-networking with explicit --listen-ip 2015-03-27 20:49:05 +01:00
Gav Wood
7d4c44f7f3 Fix signed/unsigned mismatch. 2015-03-22 22:26:10 +01:00
subtly
defaebaa7b Merge host and nodetable network protocol version. 2015-03-22 20:08:32 +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
subtly
96a32d19d5 codingstandards 2015-03-22 18:35:34 +01:00
subtly
ee68d16ff3 constant for discovery protocol version 2015-03-22 18:33:15 +01:00
subtly
a1a4a62e30 fix for -warning in cryptopp.cpp. add mutex to host iteration of peers for connect. only try to connect to as many peers as is necessary. update unit test. 2015-03-11 14:36:08 +01:00
subtly
1e91b7d1de separate packet type. add coding. 2015-03-06 07:08:34 +01:00
subtly
f4233598c1 import/export peers and nodes 2015-01-30 17:53:27 -08:00
subtly
29de01b458 add test-require to p2p/host 2015-01-25 21:43:53 -08:00
subtly
57e1acfbd6 fix ping-timeouts 2015-01-25 19:54:15 -08:00
subtly
2ed2a8ec8e updates and fixes for code review 2015-01-25 14:08:34 -08:00
subtly
29f17ba636 coding standards 2015-01-17 01:30:52 -05:00
subtly
0e4c693518 cleanup 2015-01-17 00:56:36 -05:00
subtly
01ecadd74e Connectivity and nodetable callbacks. Disable stale code. 2015-01-12 04:58:52 +01:00
subtly
a1c972075e Merging in new data structure for nodes from node-table. End result will be consolidation into NodeId, Node (id and endpoints), NodeEntry (as in table), and Peer (connected node as in host). Rename PeerInfo to PeerSessionInfo. Rename NodeInfo to PeerInfo. PeerSessionInfo which is information about the Peer connection and will be split/merged into Node and PeerInfo. Add node-table callbacks for Host to perform connect node if there are not enough nodes. 2015-01-10 19:45:20 +01:00
subtly
6418132263 Consolidate use of pingAll into keepAlivePeers. Add bool operators for Node and NodeIPEndpoint population. NodeTable returns Node instead of NodeEntry (subject to change). Begin transition from NodeInfo to NodeTable Node. 2015-01-08 22:26:21 +01:00
subtly
7f4ca13035 Pass 2 integrating node table. Pruning and merging old node lifecycle logic with new.
Begin moving node identification and authentication into Host so session can be directly-constructed with NodeInfo and is not created until after authentication.
Require session to be passed a valid node.
2015-01-07 02:26:14 +01:00
Gav Wood
9511383c42 Beginning of merge into AZ. 2014-09-11 13:27:15 +02:00
Gav Wood
38dd3fb050 Project-wide reorganisation of namespaces. 2014-09-05 17:09:58 +02:00
Gav Wood
60458e3fd9 Repot.
No memsize increase on 0.
2014-09-03 21:06:36 +02:00
Gav Wood
3e288da60f Reorganisation. 2014-09-03 20:18:02 +02:00
Gav Wood
ef9a577af7 Allow local networking option. 2014-09-02 12:21:41 +02:00
Gav Wood
dbf099d121 New net is compiling. 2014-09-01 18:54:06 +02:00
Gav Wood
42920f5d93 Split off general network layer. 2014-08-27 12:48:30 +02:00
subtly
5da1e452ed Fix for #246. Removed sync() to prevent race condition within dropped() and . Raised maxblocks to 64. 2014-07-21 02:29:49 -06:00
Gav Wood
3a2597d871 Split out libethcore from libethereum. 2014-04-23 15:08:11 +01:00
Gav Wood
ea1d3eb16e Repotted network stuff. 2014-03-04 13:40:42 +00:00
Tim Hughes
90b7b43d43 Replace hard-coded /tmp paths with call to boost::filesystem::temp_directory_path() 2014-02-19 23:12:09 +00:00
Tim Hughes
7a1f75ddbf Work in progress on Visual Studio 2013 compile fixes. Libethereum compiles again but not sorted out linking dependencies yet. 2014-02-18 16:34:59 +00:00
Muharem Hrnjadovic
ec71a3b4e4 Fixed the other occurrence of Foobar 2014-02-16 11:41:15 +01:00
Muharem Hrnjadovic
0d91f19032 Corrected license headers (Foobar -> cpp-ethereum) 2014-02-16 11:20:55 +01:00
Gav Wood
769e108bc2 Less hangy. 2014-02-15 21:16:51 +00:00
Gav Wood
27dfbf1962 Better version strings. 2014-02-09 15:58:37 +00:00
Gav Wood
d8c693a338 usleep moved to std impl. 2014-02-09 11:37:13 +00:00
Gav Wood
dd0957359b AlephZero renamed AlethZero and moved to cmake project.
Other minor changes.
2014-02-06 18:53:46 +00:00
Gav Wood
f14844dd0d GPL v2, not 3. 2014-01-31 21:08:16 +00:00
Gav Wood
7c9a1238b7 GUI & network stuff. 2014-01-22 18:18:12 -05:00
Gav Wood
803e992070 Added client API & prototypal GUI. 2014-01-22 12:56:03 -05:00
Gav Wood
2b13a04f49 Pinging. 2014-01-22 10:01:39 -05:00
Gav Wood
3b9040b4a1 Basic P2P functionality. 2014-01-22 09:40:45 -05:00
Gav Wood
5afc641ea9 Peer network code NYW. 2014-01-22 09:08:18 -05:00