Commit Graph

22 Commits

Author SHA1 Message Date
Robert Habermeier 36d3d0d7d7 replace synchronization primitives with those from parking_lot (#1593)
* parking_lot in cargo.toml

* replace all lock invocations with parking_lot ones

* use parking_lot synchronization primitives
2016-07-13 19:59:59 +02:00
Nikolay Volf d3695d0b72 Major sync <-> client interactions refactoring (#1572)
* chain notify trait

* replaced network service with io service

* fix ethcore crate warnings

* refactored network service without generic

* ethcore fix

* ethsync refactoring

* proper linking of notify

* manage network interface

* rpc crate rebinding

* full rewire

* sync internal io service

* fix deadlock

* fix warnings and removed async io

* sync imported message propagation

* fix rpc warnings

* binart warnings

* test fixes

* rpc mocks and tests

* fix util doctest

* fix message name and removed empty notifier

* pointers mess & dark mode fixed

* fixed sync doctest

* added few warnings

* fix review

* new convention match

* fix error unwraps

* doctest fix
2016-07-11 17:02:42 +02:00
Gav Wood 9afbc9816d Merge branch 'master' into kill_unwraps 2016-07-08 17:31:30 +02:00
Gav Wood 57c14eedfa Place ideal peers in the log output. (#1563) 2016-07-07 15:25:58 +02:00
Gav Wood 3b662c285f Switch out .X().unwrap() for .unwrapped_X 2016-07-07 09:37:31 +02:00
Robert Habermeier 951512f9c9 Reserved peers rpc API (#1360)
* reserved peers: lock them, use a hashset, and provide to networkcontext

* adding and removing reserved peer service API

* add NonReservedPeerMode, and setters in host

* setting non reserved mode, restriction accepted connections

* implement RPC apis

* fix deadlock

* fix rpc tests
2016-06-21 13:56:33 +02:00
arkpar fc60ed92e6 Removed info 2016-06-17 18:28:19 +02:00
arkpar c340d8a34f Tests 2016-06-17 18:26:54 +02:00
arkpar b38488dd07 Network shutdown 2016-06-17 12:58:28 +02:00
arkpar 6e9ea76aab Auto detect available port 2016-03-20 16:21:49 +01:00
Arkadiy Paronyan 2ec40604d9 Revert "Auto detect available port" 2016-03-20 12:12:58 +01:00
arkpar da027e93cf Auto detect available port 2016-03-19 21:00:05 +01:00
arkpar 8beba717f8 Delayed UPnP initialization 2016-02-23 19:38:06 +01:00
arkpar 203947388b Get public address/UPNP refactoring 2016-02-16 02:05:36 +01:00
Tomusdrw 96dda7b73a Forwarding panics from threads 2016-02-10 16:35:52 +01:00
debris c90d64662a added license in every *.rs file 2016-02-05 13:40:41 +01:00
arkpar ce0cc11c56 Peer sync timeouts 2016-02-02 14:54:46 +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 ccf1cc4d54 Removed obsolete code and added documentation 2016-01-22 00:11:19 +01:00
arkpar e514d3d80f Multithreaded event loop 2016-01-21 16:48:37 +01:00
Gav Wood 6ea8eaa3b5 Move ethcore files back into root. 2016-01-17 13:11:25 +01:00