Commit Graph

154 Commits

Author SHA1 Message Date
Gav Wood
213bfc4417 Update handshake.rs 2016-02-27 15:05:13 +01:00
Gav Wood
b2dd6ded1d Update discovery.rs 2016-02-27 15:02:05 +01:00
arkpar
34bc02af1e Merge branch 'master' of github.com:ethcore/parity into network 2016-02-26 14:23:10 +01:00
arkpar
c66178e3f7 Fixed a race condition when a connecting peer disconnects immediately 2016-02-26 11:38:06 +01:00
arkpar
8beba717f8 Delayed UPnP initialization 2016-02-23 19:38:06 +01:00
arkpar
492bf7154e Log address 2016-02-23 15:02:08 +01:00
arkpar
000d2446b5 EIP8 2016-02-22 23:05:27 +01:00
Gav Wood
5917290562 Remove unneeded code, fix minor potential issue with length. 2016-02-22 13:59:25 +01:00
Gav Wood
63bbd0ccd8 Use proper version string. 2016-02-21 20:00:45 +01:00
Gav Wood
75129613c5 Merge pull request #480 from ethcore/network
Networking fixes
2016-02-21 18:57:10 +01:00
arkpar
91276ad82e Added comments 2016-02-21 16:52:25 +01:00
arkpar
fe84eb4ff6 Fix locking 2016-02-21 14:04:10 +01:00
arkpar
93d259e8cb Merge branch 'master' of github.com:ethcore/parity into network 2016-02-21 00:11:32 +01:00
arkpar
b1bfd00875 Zombie connections 2016-02-20 11:47:39 +01:00
arkpar
69df91de68 Deregister handshake properly when converting to session 2016-02-20 01:36:08 +01:00
Nikolay Volf
84e7ce2758 Merge branch 'master' into temp-path
Conflicts:
	util/Cargo.toml
	util/src/lib.rs
2016-02-19 19:11:24 +03:00
arkpar
ab233a941f Slightly improved tests 2016-02-19 16:34:31 +01:00
arkpar
beab90c707 Added is_valid_node_url 2016-02-19 14:13:20 +01:00
arkpar
1d60d82698 Merge branch 'master' of github.com:ethcore/parity into discovery 2016-02-19 13:44:57 +01:00
arkpar
d9fec87143 Merge branch 'master' of github.com:ethcore/parity into discovery 2016-02-19 13:39:43 +01:00
debris
f50bf528e6 fixed allow warnings in util 2016-02-19 11:57:52 +01:00
arkpar
0cfc4cbb34 More tests 2016-02-17 14:07:26 +01:00
arkpar
c9f3f5e544 Tweaked connection limits to be a bit more aggressive 2016-02-17 14:07:11 +01:00
arkpar
eef193e8bd Don't add useless peers to table 2016-02-17 14:06:19 +01:00
arkpar
e4baf37bf8 Fixed adding boot nodes to discovery table; Ping optimization 2016-02-17 02:55:46 +01:00
arkpar
39a98cd555 Prevent connection deletion until unregister is called; minor tweaks 2016-02-17 01:39:16 +01:00
arkpar
b6ccbdb694 Lower max handshakes to reduce network load 2016-02-16 23:37:24 +01:00
arkpar
7e0dfb41d0 Minor test tweaks and code cleanup 2016-02-16 23:33:32 +01:00
arkpar
fbe06d3f2f More tests 2016-02-16 21:25:01 +01:00
arkpar
217cbec50e Disconnect test 2016-02-16 19:08:58 +01:00
arkpar
f4fa747cd0 ip_utils tests 2016-02-16 17:55:37 +01:00
arkpar
a4ea0737b2 Fixed some tests 2016-02-16 17:54:34 +01:00
arkpar
33e8d749d2 Max handhsakes reached is now a debug warning 2016-02-16 03:05:05 +01:00
arkpar
58fdfe77d3 Handle pinning and enable_discovery options 2016-02-16 02:31:17 +01:00
arkpar
f771306867 Get public address/UPNP refactoring 2016-02-16 02:05:45 +01:00
arkpar
203947388b Get public address/UPNP refactoring 2016-02-16 02:05:36 +01:00
arkpar
64913d5009 Additional address filter 2016-02-15 21:43:30 +01:00
arkpar
0bef355494 Removed temp test code 2016-02-15 20:34:05 +01:00
arkpar
01a83e6031 Populate discovery from node table 2016-02-15 20:28:27 +01:00
arkpar
4b9c7f7517 Add incoming connection to node table 2016-02-15 19:54:27 +01:00
arkpar
0e1e80477a Save key to a file 2016-02-15 18:36:34 +01:00
arkpar
4d40991c1a Discovery test 2016-02-15 16:01:45 +01:00
arkpar
cf45d5914a Node table tests 2016-02-15 14:39:56 +01:00
arkpar
186c7585d2 Node table persistency 2016-02-15 11:54:38 +01:00
arkpar
986448ce7a Merge branch 'net' into discovery 2016-02-14 18:27:31 +01:00
arkpar
76590d5a82 Merge branch 'master' of github.com:ethcore/parity into net 2016-02-14 17:50:14 +01:00
arkpar
38f4a06f1d Fixed panic on accessing expired node 2016-02-14 17:45:00 +01:00
arkpar
61c52f15a3 Fixed panic on accessing expired node 2016-02-14 17:42:03 +01:00
debris
f1b39ee1e5 nightly fixes 2016-02-14 12:54:27 +01:00
arkpar
dee375bfac Handle session creation error 2016-02-14 12:11:18 +01:00
arkpar
7503d6695a Fixed panic on session creation 2016-02-14 11:54:08 +01:00
arkpar
718646f943 Refactored host to use different containers for handshakes and sessions 2016-02-14 11:34:59 +01:00
arkpar
2d89708ea8 Reduced thread contention 2016-02-14 02:11:55 +01:00
arkpar
76ea030b78 Small refactoring 2016-02-14 01:03:48 +01:00
arkpar
62b9f4b91d UDP discovery working 2016-02-13 22:57:39 +01:00
arkpar
2af379d4b1 Merge branch 'net' of github.com:ethcore/parity into discovery 2016-02-12 15:52:11 +01:00
arkpar
f74c5dc921 More sync and propagation fixes 2016-02-12 13:07:02 +01:00
arkpar
09b6503795 Discovery packets 2016-02-12 09:52:32 +01:00
arkpar
84732d4b94 Sync fixes 2016-02-11 21:10:41 +01:00
Gav Wood
637ca97dc6 Synchronous UPnP. 2016-02-10 18:11:10 +01:00
Gav Wood
39d5b68785 Merge branch 'master' of github.com:ethcore/parity 2016-02-10 17:21:07 +01:00
Gav Wood
35374ac09c Start of UPnP. 2016-02-10 16:45:54 +01:00
Tomusdrw
96dda7b73a Forwarding panics from threads 2016-02-10 16:35:52 +01:00
arkpar
b411a3d55d Check for handshake expiration before attempting replace 2016-02-08 15:03:44 +01:00
debris
c90d64662a added license in every *.rs file 2016-02-05 13:40:41 +01:00
Nikolay Volf
3f3ebdbfa1 nodes specs 2016-02-03 21:44:49 +03:00
Nikolay Volf
ec30a0a591 connection read tests 2016-02-03 21:01:39 +03:00
Nikolay Volf
e154e3e7fa fixed indents 2016-02-03 19:06:16 +03:00
Nikolay Volf
f85b9eb75b Merge branch 'master' into nvolf 2016-02-03 19:00:05 +03:00
Nikolay Volf
84e1c77938 broken sockets 2016-02-03 18:59:35 +03:00
Nikolay Volf
834f8a07eb socket write tests 2016-02-03 18:40:54 +03:00
Nikolay Volf
df18d8104d final network tests di setup 2016-02-03 18:05:46 +03:00
Nikolay Volf
e86a680b23 test sockets, connections setup 2016-02-03 14:04:24 +03:00
Nikolay Volf
206cb6b227 decoupling sockets from logic for tests 2016-02-03 03:55:18 +03:00
arkpar
da52fee2b3 Simplified Disconnect struct 2016-02-02 21:10:16 +01:00
arkpar
05e86ca63c Peers keep-alive 2016-02-02 20:58:12 +01:00
arkpar
81e339a77a Merge 2016-02-02 17:00:32 +01:00
arkpar
ce0cc11c56 Peer sync timeouts 2016-02-02 14:54:46 +01:00
Marek Kotewicz
ab8ee51fed Merge pull request #295 from ethcore/improveversionstring
Improve version string.
2016-02-01 19:54:59 +01:00
Gav Wood
fdd42ae537 Improve version string. 2016-02-01 17:57:22 +01:00
debris
2bddc938af util docs 2016-02-01 15:22:42 +01:00
arkpar
772de24cae RLP decoder refactoring 2016-01-29 13:59:29 +01:00
arkpar
cfa2776e75 Removed test log initializations 2016-01-29 12:27:50 +01:00
arkpar
626fcdfffc append Now accepts lists again 2016-01-28 20:13:05 +01:00
arkpar
40314614f7 RLP encoder refactoring 2016-01-27 12:14:57 +01:00
arkpar
eed88df0d4 Fixed tests compilation 2016-01-25 13:22:29 +01:00
arkpar
02d33f6861 Merge branch 'master' of github.com:ethcore/parity into ark 2016-01-24 19:21:31 +01:00
arkpar
cd250d4959 Incoming connections; Tests 2016-01-24 18:54:05 +01:00
arkpar
cfb8671b00 Networking bugfixes 2016-01-24 18:54:05 +01:00
arkpar
acbb50d700 Stream deregistration 2016-01-24 18:54:05 +01:00
Gav Wood
788213f48f Merge branch 'master' into gav 2016-01-24 00:09:18 +01:00
Gav Wood
b059d32485 Argument parsing from CLI.
Closes #179
2016-01-23 23:53:20 +01:00
arkpar
e5e0d3d136 Merge branch 'master' of github.com:ethcore/parity into io 2016-01-22 14:44:17 +01:00
arkpar
81bb86d0ed Removed obsolete warnings 2016-01-22 01:27:51 +01:00
arkpar
d431854421 Fixed tests 2016-01-22 00:47:45 +01:00
arkpar
ccf1cc4d54 Removed obsolete code and added documentation 2016-01-22 00:11:19 +01:00
arkpar
4bf1c205b4 DB commit queue 2016-01-21 23:33:52 +01:00
arkpar
0f97edad7c Merge branch 'master' of github.com:ethcore/parity into ethash 2016-01-21 17:21:51 +01:00
arkpar
e514d3d80f Multithreaded event loop 2016-01-21 16:48:37 +01:00
Tomusdrw
adc763325d Merge branch 'master' into clippy
Conflicts:
	util/src/rlp/rlptraits.rs
2016-01-19 23:22:40 +01:00