Svyatoslav Nikolsky
3a1e6c9aa6
cleaning up
2018-11-13 14:20:25 +03:00
Svyatoslav Nikolsky
c9132eb99d
Merge branch 'master' into zcash_init
2018-11-12 12:31:14 +03:00
Svyatoslav Nikolsky
91208b4c88
tests fixed
2018-11-07 10:46:03 +03:00
Svyatoslav Nikolsky
7e47bd3b28
flush
2018-05-18 12:04:36 +03:00
5chdn
8fbdf6021d
Rename ConsensusFork::NoFork to ::BitcoinCore
2018-04-16 12:25:35 +02:00
Svyatoslav Nikolsky
8273026615
removed AsciiExt import (fixed warning)
2018-02-12 10:07:25 +03:00
Svyatoslav Nikolsky
47bb353a05
fixed new compiler version warnings
2017-11-06 18:06:12 +03:00
Svyatoslav Nikolsky
261bd518fd
BitcoinCash: difficulty adjustment fork
2017-11-02 17:02:16 +03:00
Svyatoslav Nikolsky
6db8c5e235
changed magic for BCH network
2017-11-01 12:30:15 +03:00
Svyatoslav Nikolsky
d4a191aec1
segwit: initial flush
2017-08-22 14:39:10 +03:00
Svyatoslav Nikolsky
d59d67ecd5
Merge branch 'master' into support_uahf
2017-08-14 10:15:34 +03:00
Svyatoslav Nikolsky
0e9b5fd89e
merge good changes from sync_queue branch
2017-08-10 17:44:01 +03:00
Svyatoslav Nikolsky
127d662448
UAHF: set Services bit#5 + prefer nodes with bit#5 set
2017-08-08 12:17:36 +03:00
Svyatoslav Nikolsky
8ce87528ec
close connections to self nodes
2017-08-02 12:05:29 +03:00
debris
d8d3a58f71
use serialization_derive in message
2017-07-22 02:59:54 +02:00
debris
f193a03fd6
updated csv && byteorder libraries
2017-03-12 16:05:35 +01:00
Svyatoslav Nikolsky
7c3bf1731c
pass version message to sync
2017-01-11 17:54:30 +03:00
Svyatoslav Nikolsky
9dad2a3eec
Merge branch 'master' into sync_v2
2016-12-23 16:19:07 +03:00
Svyatoslav Nikolsky
d696dcfdaf
sync_v2
2016-12-23 16:13:18 +03:00
NikVolf
b9df3c498f
added injects
2016-12-21 18:57:29 +03:00
NikVolf
579bccb35c
refactored to hashmaps
2016-12-21 18:08:41 +03:00
debris
6ecdfd78c5
few optimizations with Borrow and AsRef
2016-12-13 13:33:06 +01:00
debris
847cb36c6f
chain verifier does not have hardcoded network constants
2016-11-25 18:38:21 +01:00
Svyatoslav Nikolsky
3a7aae5188
fix after merge
2016-11-22 18:11:46 +03:00
Svyatoslav Nikolsky
9f1fcec6e9
FilterLoad::flags is now enum
2016-11-22 15:57:19 +03:00
debris
edfc13f0ba
fixed interpreter OP_DUP operation, converting integers to hashes, added more traces
2016-11-21 17:05:42 +01:00
debris
35fec4ba15
minimal getaddr version is 0, not 60002, fixed #118
2016-11-17 00:07:11 +01:00
Svyatoslav Nikolsky
9b6f24849d
Merge pull request #125 from ethcore/synchronizer
...
synchronizer
2016-11-16 17:09:09 +03:00
debris
90c6f6fdc3
ServerTask::Ignore
2016-11-16 11:18:13 +01:00
Svyatoslav Nikolsky
756bb10fcc
Support BIP16
2016-11-16 11:52:00 +03:00
debris
1c1d342f73
Merge branch 'master' of github.com:ethcore/parity-bitcoin into synchronizer
2016-11-16 09:31:33 +01:00
debris
6713503add
synchronous syncing almost finished
2016-11-15 12:48:12 +01: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
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
debris
6b38929222
cleanup session init and on_message
2016-11-09 22:36:29 +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
54e2ae2a4b
avoid redundant clone on header serialize
2016-11-07 12:38:52 +01:00
Svyatoslav Nikolsky
22bd2427bf
adder txn_count (always zero) to headers message
2016-11-07 13:20:01 +03:00
Svyatoslav Nikolsky
d30520c981
added support for regnet && testnet genesis blocks
2016-11-07 12:15:15 +03:00
debris
5b93c5dc40
regression tests support
2016-11-05 15:32:57 +01:00
debris
260986da9c
merged with master
2016-10-31 01:07:13 +01:00
debris
08a2a93d9c
Merge branch 'master' of github.com:ethcore/parity-bitcoin into generic_reader
2016-10-31 01:06:04 +01:00
debris
e2245097d4
reader is generic over io::Read
2016-10-31 01:05:21 +01:00
debris
0d8c24fb7c
intentory_type, fixed #39
2016-10-30 13:47:29 +01:00
Svyatoslav Nikolsky
4804ac5e42
Sync with multiple peers ( #37 )
...
* * started work multiple peers support in sync
* some tests for synchronization && sync peers
* fixed compilation after merge
* fixed compilation after merge
* fixed compilation after merge
* added TODOs + fixed documentation
2016-10-26 11:46:10 +02:00
Marek Kotewicz
1306a3905a
disconnect from seednode 60 seconds after receiving addr message ( #38 )
2016-10-26 11:45:51 +02:00
Svyatoslav Nikolsky
b081ca3d70
Continue synchronization protocol impl ( #30 )
...
* 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
* started work on sync package
* send getaddr on connect
* fixed node_table insert, added insert_many
* addr protocol
* sync headers response
* continue sync
* continue sync protocol
* separated sync connection start from sync connection creation
* switched to getblocks (instead of getheaders)
* starting to receive blocks in sync
* deal with orphaned blocks in sync::local_chain
* continue sync
* fix warnings
* removed TODOs
* protocol::sync is back to private state
* fixed grumbes
2016-10-24 16:38:33 +02:00