Svyatoslav Nikolsky
47ee3c2a82
all blocks must be unknown to schedule
2016-11-18 14:53:59 +03:00
Svyatoslav Nikolsky
b66fd70c6f
fixed client construction
2016-11-18 14:39:34 +03:00
Svyatoslav Nikolsky
70bb4ef5cc
added test for issue #121
2016-11-18 14:00:14 +03:00
Svyatoslav Nikolsky
bd67160689
separate sync verifier
2016-11-18 13:27:47 +03:00
Marek Kotewicz
bd2d5c6bbc
Merge pull request #146 from ethcore/db
...
Restructure database
2016-11-18 00:45:52 +01:00
NikVolf
77c01c41e0
refactor sync and bin
2016-11-17 21:37:45 +03:00
Svyatoslav Nikolsky
e533f13647
hash_chain was always initialized with genesis block
2016-11-17 16:28:42 +03:00
Svyatoslav Nikolsky
5d18a770d4
fixed clippy warnings
2016-11-17 14:20:37 +03:00
Svyatoslav Nikolsky
b354b1e0cb
post-merge fixes
2016-11-17 11:23:05 +03:00
Svyatoslav Nikolsky
4e74bb7f68
Merge branch 'master' into sync_transactions
2016-11-17 11:14:05 +03:00
Svyatoslav Nikolsky
bc7cd94747
started work on transactions synchronization
2016-11-17 11:03:24 +03:00
debris
2fd794be97
applied clippy suggestions to make code more idiomatic
2016-11-16 18:30:30 +01:00
NikVolf
94fbe040b5
more logging refact
2016-11-16 17:54:43 +03:00
NikVolf
cbd4227f35
use reversed hashes in logging
2016-11-16 17:49:36 +03:00
Svyatoslav Nikolsky
756bb10fcc
Support BIP16
2016-11-16 11:52:00 +03:00
Svyatoslav Nikolsky
664005ab66
process notfound messages from sync peers
2016-11-16 10:59:54 +03:00
Nikolay Volf
27c2ceb41e
Merge pull request #128 from ethcore/process_db_errors
...
Process nonfatal db insert errors in sync
2016-11-15 23:19:43 +03:00
Svyatoslav Nikolsky
cd61b461b2
added TODO
2016-11-15 18:03:14 +03:00
Svyatoslav Nikolsky
2919430e4f
process nonfatal db insert errors
2016-11-15 18:01:33 +03:00
Svyatoslav Nikolsky
e33aa81674
changed verify_clocktimeverify
2016-11-15 17:24:33 +03:00
Svyatoslav Nikolsky
3897a9e419
fixed tests compilation
2016-11-15 14:17:39 +03:00
Svyatoslav Nikolsky
b152c8178d
introduced ConsensusParams + BIP65 support
2016-11-15 14:00:46 +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
5f70479e76
synchronization tests && fixes
2016-11-14 09:31:03 +03:00
Svyatoslav Nikolsky
88d3efff96
fixed deadlock with sync responses
2016-11-11 15:01:32 +03:00
Svyatoslav Nikolsky
c526e833e3
fixed headers removal
2016-11-11 12:19:45 +03:00
Svyatoslav Nikolsky
781a9e1223
store unknown orphan blocks
2016-11-11 11:38:41 +03:00
Svyatoslav Nikolsky
8d3c5aeb2e
more information in sync info!
2016-11-10 17:52:40 +03:00
Svyatoslav Nikolsky
6c7f5a83dd
fix test
2016-11-10 16:22:03 +03:00
Svyatoslav Nikolsky
e589c25581
fixed sync issue
2016-11-10 16:01:03 +03:00
Svyatoslav Nikolsky
c24af2daed
fix test + process inventory
2016-11-10 15:16:16 +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
85aaa66827
sync description fixed to support forks
2016-11-04 16:03:12 +03:00
Svyatoslav Nikolsky
fedb8581d2
initial sync manager version
2016-11-04 12:36:58 +03:00
Svyatoslav Nikolsky
aec505a226
serve request
2016-11-02 14:23:38 +03: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