Commit Graph

24 Commits

Author SHA1 Message Date
Svyatoslav Nikolsky a714f9c172 dealing with slow peers + empty verification queue 2016-12-02 11:49:57 +03:00
Svyatoslav Nikolsky 9e53289b5a fixing sync TODOs 2016-12-01 11:22:41 +03:00
Svyatoslav Nikolsky d331dfde32 Merge branch 'master' into sync_cmpctblk 2016-11-27 17:53:34 +03:00
Svyatoslav Nikolsky 494ef56858 process cmpctblock message 2016-11-25 18:07:03 +03:00
Svyatoslav Nikolsky eb23a7d901 started work on feefilter message 2016-11-25 09:07:29 +03:00
Svyatoslav Nikolsky c3672a393d process sendheaders message 2016-11-24 15:18:18 +03:00
Svyatoslav Nikolsky 0cc9124fbb ConnectionFilter connected to Client 2016-11-23 13:48:36 +03:00
Svyatoslav Nikolsky 6f98645c90 fixed transactions relay to work as blocks relay workds 2016-11-22 16:30:09 +03:00
Svyatoslav Nikolsky 5e80dd69bd do not boomerang-relay new blocks 2016-11-22 09:14:31 +03:00
Svyatoslav Nikolsky 664005ab66 process notfound messages from sync peers 2016-11-16 10:59:54 +03:00
Svyatoslav Nikolsky 0d304dee30 fixed stalling on peer disconnect 2016-11-15 10:47:23 +03:00
Svyatoslav Nikolsky 9b4fe77e1e ask all peers about inventory when entering saturated state 2016-11-14 13:02:25 +03:00
Svyatoslav Nikolsky 9d6f09889e Merge branch 'master' into sync_as_bitcoind 2016-11-10 14:56:58 +03:00
Svyatoslav Nikolsky 78cae830cc headers-first sync 2016-11-10 14:50:00 +03:00
Marek Kotewicz 1f4cf7e443 fixed clippy lints for miner, sync, test-data and verification (#103)
* fixed clippy lints for miner, sync, test-data and verification

* make verification check_nbtis more idiomatic
2016-11-09 11:36:52 +01:00
Svyatoslav Nikolsky adfdef6095 Forks support in sync (#91)
* intersect_with_inventory

* process_new_blocks_inventory fixed to support forks

* fixed sync issues

* fixed on_peer_block to support forks

* forks support in on_block_verification_*

* cleaning up

* cleaning up

* forget about best inventory

* ask for inventory after saturating

* '000..000'.into() -> H256::from(0)
2016-11-07 10:12:34 +01:00
Svyatoslav Nikolsky fedb8581d2 initial sync manager version 2016-11-04 12:36:58 +03:00
Svyatoslav Nikolsky 1113f245c5 initial close_session implementation && test 2016-10-31 20:03:08 +03:00
Svyatoslav Nikolsky 812a436d9b added couple of sync peers tests 2016-10-31 17:20:08 +03:00
Svyatoslav Nikolsky b5d0644408 fixed tests 2016-10-31 14:46:11 +03:00
Svyatoslav Nikolsky 4e3ea35835 fixed sync::scheduled queue 2016-10-31 14:30:00 +03: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
Svyatoslav Nikolsky 964d013042 fixed sync tests 2016-10-26 17:33:28 +03:00
Svyatoslav Nikolsky d044acc3c9 * started work multiple peers support in sync
* some tests for synchronization && sync peers
2016-10-25 15:43:32 +03:00