Commit Graph

113 Commits

Author SHA1 Message Date
NikVolf f206634ce8 finalizing jsonrpc 2016-12-13 15:30:08 +01:00
NikVolf 92b103deb8 p2p api changes 2016-12-13 14:23:16 +01:00
NikVolf c19740d3eb finalizing api 2016-12-12 19:18:43 +01:00
NikVolf 8d42281804 refactoring on using context 2016-12-12 18:28:39 +01:00
NikVolf f302c3774e network api layout 2016-12-12 17:15:27 +01:00
NikVolf a6e8f376ca p2p api changes 2016-12-12 15:18:05 +01:00
Svyatoslav Nikolsky 2b1fecb286 close connection when block verification failed with error 2016-12-02 18:12:20 +03:00
debris ca49061df0 command line option to limit connections only to ipv4 or ipv6 2016-11-30 16:01:11 +01:00
debris bcc84f6f6f updated dependencies and graph 2016-11-28 10:37:17 +01:00
debris 847cb36c6f chain verifier does not have hardcoded network constants 2016-11-25 18:38:21 +01:00
debris 355306e747 retarget 2016-11-24 23:33:51 +01:00
Svyatoslav Nikolsky 964ac87135 getting rid of sync waits 2016-11-18 16:06:14 +03:00
Svyatoslav Nikolsky b354b1e0cb post-merge fixes 2016-11-17 11:23:05 +03:00
Svyatoslav Nikolsky 035583fac1 Merge branch 'master' into respect_minimal_protocol_version 2016-11-17 08:23:01 +03:00
debris 712b016a6a fixed handshake tests 2016-11-17 01:15:58 +01:00
debris fe9828dbdc respect minimal protocol version, fixed #141 2016-11-17 01:02:43 +01:00
debris 56e2dc02b1 limit number of inbound and outbound connections for regtests 2016-11-17 00:33:35 +01:00
debris 2fd794be97 applied clippy suggestions to make code more idiomatic 2016-11-16 18:30:30 +01:00
debris 90c6f6fdc3 ServerTask::Ignore 2016-11-16 11:18:13 +01:00
debris dc6acc6eee polishing p2p synchronous syncing 2016-11-15 13:11:05 +01:00
debris 6713503add synchronous syncing almost finished 2016-11-15 12:48:12 +01:00
debris 86cff63c30 sync synchronizer part done 2016-11-14 09:56:58 +01:00
debris 6b38929222 cleanup session init and on_message 2016-11-09 22:36:29 +01:00
debris 078a71ba15 simplified threshold and configurable synchronizers 2016-11-09 21:42:17 +01:00
debris da769b253a response synchronizer 2016-11-09 15:46:34 +01:00
debris 68a3bb2d34 linting in progress 2016-11-08 16:37:06 +01:00
debris 436d925ba6 clippy lints enabled for crypto, message, p2p, pbtc, primitives and serialization 2016-11-08 11:51:34 +01:00
debris 5b93c5dc40 regression tests support 2016-11-05 15:32:57 +01:00
debris fc32423017 save node_table to $APP_DIR/p2p/nodes.csv 2016-11-04 12:08:58 +01:00
debris 2f9aaeb46f fixed issue with not connecting to enought peers 2016-11-03 10:50:44 +01:00
debris b0cbd8e12b fixed tracing and note inbound/outbound calls 2016-11-03 01:13:43 +01:00
debris 67aae38673 Merge branch 'master' of github.com:ethcore/parity-bitcoin into p2p_multiple_connections 2016-11-03 00:22:32 +01:00
debris 448259328d connect to multiple nodes automatically 2016-11-03 00:22:23 +01:00
Svyatoslav Nikolsky 0b212ec5eb Serving some sync requests (#73)
* started work on synchronization_server

* continue synchronization server

* added response to getblocks message

* renamed Synchronization to Client

* LocalNode parametrized by Server

* LocalNode parametrized by Client

* fixed test

* support connect to given port via command line

* fixed couple of sync server issues && added sync server trace

* fixing sync issues

* fixed grumbles
2016-11-02 11:15:37 +01:00
Svyatoslav Nikolsky 7bfd60940f added test_node_table_duplicates 2016-11-02 12:47:09 +03:00
Svyatoslav Nikolsky f200f4a874 fixed duplicates in node_table 2016-11-02 12:33:28 +03:00
Svyatoslav Nikolsky 36e30ef5ce support connect to given port via command line 2016-11-02 10:25:09 +03:00
debris a1a66f5df8 add protocol method on_close 2016-10-31 14:44:48 +01:00
Svyatoslav Nikolsky 543d66ce03 Fixed grumbles from #54 (#61)
* async verifying

* lost file

* removed debug timer

* fixed compilation && tests

* fixed typo

* async verification refactoring

* fixed sync stall

* fixed dead_code warning

* get rid of extra locks

* fixed tests

* * separated tasks executor from sync node
* local node mutex removed

* fixed grumbles from #54
2016-10-31 11:18:58 +01:00
debris 1b4bc9ad24 ping protocol tests 2016-10-30 13:32:26 +01:00
debris bcdbaf4a10 Merge branch 'master' of github.com:ethcore/parity-bitcoin into p2p_tests 2016-10-30 11:44:18 +01:00
debris b32bf9f29f handshake tests 2016-10-30 11:44:10 +01:00
Svyatoslav Nikolsky 68ddc7fa88 Async verification (#54)
* async verifying

* lost file

* removed debug timer

* fixed compilation && tests

* fixed typo

* async verification refactoring

* fixed sync stall

* fixed dead_code warning

* get rid of extra locks

* fixed tests

* * separated tasks executor from sync node
* local node mutex removed
2016-10-29 11:52:40 +02:00
debris 5e5b49fee7 unit tests for reading header, payload and message 2016-10-28 15:02:22 +02:00
debris a8904d05d8 removed commented out code 2016-10-27 15:04:48 +02:00
debris bdac1b825b handshake time limitied to 5 seconds 2016-10-27 14:57:14 +02:00
debris 5ea40e919b deadline future 2016-10-26 12:33:41 +02:00
Marek Kotewicz 1306a3905a disconnect from seednode 60 seconds after receiving addr message (#38) 2016-10-26 11:45:51 +02:00
debris 4d573ce1b6 clean up nested nested futures spawning in p2p connection 2016-10-25 11:02:37 +02:00
debris e1e532d5a6 updated dependencies and graph 2016-10-25 10:07:25 +02:00