Commit Graph

73 Commits

Author SHA1 Message Date
Marek Kotewicz b4828294f5 impl PartialEq<&a str> for Command (#27)
* impl PartialEq<&a str> for Command

* additional test for Command PartialEq

* fixed comparing "ver" and "version"
2016-10-24 11:54:03 +03:00
Marek Kotewicz 02816aaa4e addr protocol && start of sync protocol (#25)
* p2p <-> sync interfaces proposal

* updated with example

* send errors will be handled in p2p module => no need to return to the sync

* poc of outbound sync connection

* simplified send_to_peer

* context has cpu pool and enent loop handles

* on_message won't return ProtocolAction anymore

* session initialized sync protocol, remove retain cycles on P2P::drop

* removed ProtocolAction

* uncommented ping protocol

* node_table sorts nodes also by recently used time

* send getaddr on connect

* fixed node_table insert, added insert_many

* addr protocol

* added TODO: remove
2016-10-24 10:42:11 +03:00
Marek Kotewicz 563f77c500 Merge pull request #23 from ethcore/session
session with working ping pong
2016-10-21 15:13:16 +02:00
Svyatoslav Nikolsky 49628a3d2c all fields of bitcoin messages -> public 2016-10-21 16:08:46 +03:00
debris 189fd37835 ping->pong exchange 2016-10-21 10:55:37 +02:00
debris 1349c3af4b p2p::Context, changed the way incomming messages read 2016-10-20 02:51:20 +02:00
debris 4fb1d04955 p2p in progress 2016-10-18 12:15:07 +02:00
debris e039068772 renamed Services 2016-10-18 01:44:52 +02:00
debris f7bfa16195 p2p in progress 2016-10-17 10:52:15 +02:00
debris f283197a8d renamed PayloadType -> Payload, added common reexports in messages 2016-10-14 11:44:51 +02:00
debris 25c7d20c1e p2p module in progress 2016-10-12 19:39:50 +02:00
debris ffc300f85a message cleanup in progress 2016-10-10 18:08:22 +02:00
debris 3873cf6b6b message cleanup 2016-10-10 11:56:01 +02:00
debris 4417a5d9c7 p2p error handling overhaul 2016-10-07 16:50:49 +02:00
debris b09708ca5b cleanup errors in message and p2p libs 2016-10-06 01:32:15 +02:00
debris 63ca383949 use H32 instead of [u8; 4] 2016-10-06 00:38:20 +02:00
debris 55c6584bcf few more functions producing messages 2016-10-04 16:49:41 +02:00
debris 3f06ab14ae connection ping pong 2016-10-04 16:29:33 +02:00
debris 876c589f5c all messages types implemented 2016-10-04 01:48:27 +02:00
debris 4d71c801f3 few more message types 2016-10-04 00:47:18 +02:00
debris e8de78bc0b few more message types 2016-10-03 23:36:22 +02:00
debris 5f2c7545b8 p2p overhaul 2016-10-03 17:17:34 +02:00
debris dc21039182 net lib renamed to message 2016-10-03 16:29:07 +02:00