Nikolay Volf
|
1ddc962c42
|
Merge pull request #246 from ethcore/sync_ask_fast_peers
Dealing with slow peers + empty verification queue
|
2016-12-02 12:32:38 +03:00 |
Nikolay Volf
|
76aeb1f0ba
|
Regtests on the CI (#244)
* submodule and test script
* proper grep pattern
* travis config
* build in advance
* remove error! and fix grep
* use intermediate file
* use package with java, not jdk
* use minimum cache
* add summary delimter
* fixed regtests broken in 9e53289
* clear output
* remove old submodule
* updating tool
* remove from .gitmodules also
* more convinient log output
* travis fold labels
|
2016-12-02 10:27:48 +01:00 |
Svyatoslav Nikolsky
|
daacd3c710
|
fixed doc
|
2016-12-02 12:21:01 +03:00 |
Svyatoslav Nikolsky
|
a714f9c172
|
dealing with slow peers + empty verification queue
|
2016-12-02 11:49:57 +03:00 |
Svyatoslav Nikolsky
|
a0c5c2bbcc
|
test_message_block_headers_provider
|
2016-12-01 15:08:13 +03:00 |
Svyatoslav Nikolsky
|
fac3864f45
|
connected sync to verify_block_header
|
2016-12-01 14:55:21 +03:00 |
Svyatoslav Nikolsky
|
9e53289b5a
|
fixing sync TODOs
|
2016-12-01 11:22:41 +03:00 |
Svyatoslav Nikolsky
|
45e148781e
|
fixed test
|
2016-11-30 21:28:33 +03:00 |
Svyatoslav Nikolsky
|
464a3b74a5
|
regtests last sync fixes
|
2016-11-30 20:58:33 +03:00 |
NikVolf
|
d79b2835aa
|
fix warnings
|
2016-11-30 19:21:21 +03:00 |
NikVolf
|
51fe9b6e01
|
output proxy
|
2016-11-30 17:19:23 +03:00 |
Svyatoslav Nikolsky
|
b160f85e5f
|
Merge branch 'master' into sync_connect_transaction_verifier
|
2016-11-30 16:40:07 +03:00 |
Svyatoslav Nikolsky
|
2fa409dc4a
|
sync is now connected to transactions verifier
|
2016-11-30 16:38:44 +03:00 |
debris
|
03f91bfad8
|
Merge branch 'master' of github.com:ethcore/parity-bitcoin into sync_block_writer_up
|
2016-11-30 13:55:29 +01:00 |
debris
|
a969a04127
|
small fixes for importing unordered blocks
|
2016-11-30 13:55:03 +01:00 |
Svyatoslav Nikolsky
|
4c85a3c3b4
|
actually schedule verification tasks for decanonized transactions
|
2016-11-30 14:29:19 +03:00 |
debris
|
4713c1797c
|
Merge branch 'master' of github.com:ethcore/parity-bitcoin into sync_block_writer_up
|
2016-11-30 11:51:26 +01:00 |
Svyatoslav Nikolsky
|
1b7850e31e
|
serve compact blocks requests in getdata
|
2016-11-30 13:06:43 +03:00 |
Svyatoslav Nikolsky
|
3daad00dc3
|
removed debug println
|
2016-11-30 12:21:53 +03:00 |
Svyatoslav Nikolsky
|
9a6c5c8579
|
support semi-unordered blocks import
|
2016-11-30 12:16:29 +03:00 |
Svyatoslav Nikolsky
|
bd07583fb9
|
Merge pull request #223 from ethcore/sync_small_todos
Fixing sync TODOs
|
2016-11-29 21:18:13 +03:00 |
Svyatoslav Nikolsky
|
a967e7960c
|
fixing sync TODOs
|
2016-11-29 19:39:00 +03:00 |
debris
|
331d50fca8
|
added unreachable!()
|
2016-11-29 17:24:44 +01:00 |
debris
|
7270bba43c
|
verification flags
|
2016-11-29 17:03:59 +01:00 |
Marek Kotewicz
|
f785520571
|
Merge pull request #190 from ethcore/fixed_178
Wait until orphan blocks are verified before responding with headers
|
2016-11-29 15:59:50 +01:00 |
Nikolay Volf
|
a928309a93
|
Merge pull request #217 from ethcore/sync_filter_tests
Added tests for connection filter
|
2016-11-29 17:37:46 +03:00 |
Nikolay Volf
|
36f83639ec
|
Merge pull request #213 from ethcore/sync_cmpctblk_tests
Added tests for cmpctblock
|
2016-11-29 15:55:33 +03:00 |
Svyatoslav Nikolsky
|
bdf3114fc4
|
additional tests for connection filter
|
2016-11-29 15:54:09 +03:00 |
Svyatoslav Nikolsky
|
1127775c54
|
also extend verifying_blocks_futures with orphan blocks hashes
|
2016-11-29 15:40:26 +03:00 |
Svyatoslav Nikolsky
|
2526bcefdb
|
serve getheaders && getdata completely in server thread
|
2016-11-29 14:52:28 +03:00 |
Svyatoslav Nikolsky
|
270a04c887
|
Merge branch 'master' into fixed_178
|
2016-11-29 14:51:22 +03:00 |
Svyatoslav Nikolsky
|
bf7368e719
|
added tests for cmpctblock
|
2016-11-29 13:35:54 +03:00 |
Svyatoslav Nikolsky
|
f4c30b6b4b
|
fixed server_getdata_responds_transaction_when_transaction_is_in_memory
|
2016-11-29 12:15:58 +03:00 |
Svyatoslav Nikolsky
|
08330f635e
|
serve transactions requests
|
2016-11-28 18:33:24 +03:00 |
Marek Kotewicz
|
1e9428a3a5
|
Merge pull request #203 from ethcore/indexed-blocks
Using IndexedBlock-s in sync, verification & db
|
2016-11-28 15:12:28 +01:00 |
Marek Kotewicz
|
07f6b85a3f
|
Merge pull request #208 from ethcore/read_block_header_only
Read block_header instead of block when we only need header
|
2016-11-28 15:10:37 +01:00 |
NikVolf
|
cfaa6fadbf
|
fix warnings
|
2016-11-28 16:40:22 +03:00 |
NikVolf
|
0320a7c6ed
|
fix typo
|
2016-11-28 16:35:20 +03:00 |
NikVolf
|
fb881adb66
|
sync refactoring
|
2016-11-28 16:24:48 +03:00 |
NikVolf
|
32e21d6e37
|
ongoing sync refactoring
|
2016-11-28 15:55:00 +03:00 |
NikVolf
|
24803433b3
|
Merge branch 'master' into indexed-blocks
|
2016-11-28 15:32:56 +03:00 |
Svyatoslav Nikolsky
|
28b8580e09
|
read block_header instead of block when we only need header
|
2016-11-28 14:13:17 +03:00 |
debris
|
5857f0a2da
|
Merge branch 'master' of github.com:ethcore/parity-bitcoin into depsup
|
2016-11-28 10:37:26 +01:00 |
debris
|
bcc84f6f6f
|
updated dependencies and graph
|
2016-11-28 10:37:17 +01:00 |
Svyatoslav Nikolsky
|
20fc5d1b97
|
tests for getblocktxn
|
2016-11-28 09:52:24 +03:00 |
Svyatoslav Nikolsky
|
d6bf6d1805
|
process getblocktxn message
|
2016-11-28 09:35:59 +03:00 |
NikVolf
|
6fee34ad66
|
Merge branch 'master' into indexed-blocks
|
2016-11-27 22:13:10 +03:00 |
Svyatoslav Nikolsky
|
e6e135f75a
|
relay_new_block_after_sendcmpct
|
2016-11-27 19:09:47 +03:00 |
Svyatoslav Nikolsky
|
f20cdeb49a
|
fix after merge
|
2016-11-27 18:02:21 +03:00 |
Svyatoslav Nikolsky
|
d331dfde32
|
Merge branch 'master' into sync_cmpctblk
|
2016-11-27 17:53:34 +03:00 |
Nikolay Volf
|
2437f17d20
|
Merge pull request #197 from ethcore/chain_verifier_network
chain verifier does not have hardcoded network constants
|
2016-11-25 22:27:21 +03:00 |
debris
|
847cb36c6f
|
chain verifier does not have hardcoded network constants
|
2016-11-25 18:38:21 +01:00 |
Marek Kotewicz
|
4f29bf590a
|
Merge pull request #194 from ethcore/sync_increase_failure_interval
Increased failure interval to sync later blocks
|
2016-11-25 18:15:32 +01:00 |
Svyatoslav Nikolsky
|
d1ac758d53
|
increased even more
|
2016-11-25 19:30:55 +03:00 |
Svyatoslav Nikolsky
|
47ffc90ddd
|
increased failure interval to sync later blocks
|
2016-11-25 18:59:50 +03:00 |
Svyatoslav Nikolsky
|
5e9fb438d4
|
fixed receive_same_unknown_block_twice
|
2016-11-25 18:57:56 +03:00 |
Svyatoslav Nikolsky
|
06820825a5
|
added tests stubs
|
2016-11-25 18:35:35 +03:00 |
Svyatoslav Nikolsky
|
494ef56858
|
process cmpctblock message
|
2016-11-25 18:07:03 +03:00 |
Svyatoslav Nikolsky
|
45c13d9c85
|
wait until orphan blocks are verifying before responding with headers
|
2016-11-25 15:43:24 +03:00 |
Svyatoslav Nikolsky
|
e2c0216d43
|
removed obsolete TODO
|
2016-11-25 11:11:58 +03:00 |
Svyatoslav Nikolsky
|
d274e63c9a
|
relay_new_transaction_with_feefilter
|
2016-11-25 11:09:18 +03:00 |
Svyatoslav Nikolsky
|
e3f0878283
|
transaction_fee_rate now takes &TransactionProvider
|
2016-11-25 10:39:56 +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
|
f12b498e9d
|
fixed bits order in merkleblock
|
2016-11-24 13:38:14 +03:00 |
Svyatoslav Nikolsky
|
b98b0ac28d
|
added TODO
|
2016-11-24 13:11:10 +03:00 |
Svyatoslav Nikolsky
|
1aa583e71e
|
made PartialMerkleTree private
|
2016-11-24 13:08:59 +03:00 |
Svyatoslav Nikolsky
|
34a6a53bd9
|
fixed clippy warn
|
2016-11-24 13:04:58 +03:00 |
Svyatoslav Nikolsky
|
403dc3b63c
|
local_node_serves_merkleblock
|
2016-11-24 13:03:03 +03:00 |
Svyatoslav Nikolsky
|
62d5daf29b
|
added tests for merkleblock message
|
2016-11-24 12:26:37 +03:00 |
Svyatoslav Nikolsky
|
5818c8fafa
|
filter merkleblocks in getdata
|
2016-11-24 10:10:20 +03:00 |
Svyatoslav Nikolsky
|
f527b023da
|
partial merkle tree calc
|
2016-11-23 17:35:19 +03:00 |
Svyatoslav Nikolsky
|
f54a9bab59
|
fixed clippy warning
|
2016-11-23 14:18:26 +03:00 |
Svyatoslav Nikolsky
|
0e1773fae8
|
added reaction to filter* messages in local_node
|
2016-11-23 13:59:56 +03:00 |
Svyatoslav Nikolsky
|
0cc9124fbb
|
ConnectionFilter connected to Client
|
2016-11-23 13:48:36 +03:00 |
Svyatoslav Nikolsky
|
f0e4437eb6
|
added tests
|
2016-11-23 12:23:06 +03:00 |
Nikolay Volf
|
a961bcdbed
|
Merge pull request #172 from ethcore/sync_filter
Sync ConnectionFilter to support `filterload`, `filteradd` && `filterclear` inf future
|
2016-11-23 11:55:54 +03:00 |
Svyatoslav Nikolsky
|
98605ee7b3
|
newline at the end of file
|
2016-11-22 18:14:43 +03:00 |
Svyatoslav Nikolsky
|
3a7aae5188
|
fix after merge
|
2016-11-22 18:11:46 +03:00 |
Svyatoslav Nikolsky
|
5ba95a99c8
|
Merge branch 'master' into sync_filter
|
2016-11-22 18:03:48 +03:00 |
Svyatoslav Nikolsky
|
cc48f0a75f
|
initial connection filter commit
|
2016-11-22 18:03:07 +03:00 |
Svyatoslav Nikolsky
|
6f98645c90
|
fixed transactions relay to work as blocks relay workds
|
2016-11-22 16:30:09 +03:00 |
Svyatoslav Nikolsky
|
7bd88f7b51
|
Merge branch 'master' into relay_mempool_transactions
|
2016-11-22 16:02:28 +03:00 |
Svyatoslav Nikolsky
|
63027abe27
|
get rid of HashMap order dependency in test
|
2016-11-22 12:06:26 +03:00 |
Svyatoslav Nikolsky
|
5e80dd69bd
|
do not boomerang-relay new blocks
|
2016-11-22 09:14:31 +03:00 |
Marek Kotewicz
|
730bc619c4
|
Revert "Revert "Revert "revert "relay canonized blocks""""
|
2016-11-21 18:06:14 +01:00 |
Marek Kotewicz
|
5a8be97629
|
Revert "Revert "revert "relay canonized blocks"""
|
2016-11-21 18:05:49 +01:00 |
debris
|
c331abc81e
|
Revert "revert "relay canonized blocks""
This reverts commit edbdf4fb7e .
|
2016-11-21 17:59:22 +01:00 |
debris
|
edbdf4fb7e
|
revert "relay canonized blocks"
This reverts commit 0d8bfc8e57 .
|
2016-11-21 17:56:09 +01:00 |
Nikolay Volf
|
d716d05e1d
|
Merge pull request #158 from ethcore/h256-repr
Suppress RepresentH256 until it is used
|
2016-11-21 19:37:54 +03:00 |
Svyatoslav Nikolsky
|
d230f9f8ee
|
removed debug prints
|
2016-11-21 18:43:30 +03:00 |
Svyatoslav Nikolsky
|
3de7afbb37
|
relay verified transactions
|
2016-11-21 18:42:18 +03:00 |
Svyatoslav Nikolsky
|
0d8bfc8e57
|
relay canonized blocks
|
2016-11-21 18:23:28 +03:00 |
NikVolf
|
8e975669c0
|
suppress trait that is not used so far
|
2016-11-21 16:08:40 +03:00 |
Nikolay Volf
|
ef5079125f
|
Merge pull request #156 from ethcore/do_not_block_p2p_thread
Get rid of verification waiter
|
2016-11-21 15:41:10 +03:00 |
Svyatoslav Nikolsky
|
21cee15d8d
|
use futures::lazy instead of manual IndexedServerTaskFuture
|
2016-11-21 15:33:13 +03:00 |
Svyatoslav Nikolsky
|
124170d255
|
get rid of verification waiter
|
2016-11-21 14:10:04 +03:00 |
Svyatoslav Nikolsky
|
97db02cba8
|
reverify decanonized transactions
|
2016-11-21 12:39:57 +03:00 |
Svyatoslav Nikolsky
|
f6b46f368b
|
Merge branch 'master' into rely_on_p2p_sync
|
2016-11-21 09:06:55 +03:00 |
Svyatoslav Nikolsky
|
6c1a08b5e8
|
fixed style
|
2016-11-18 17:10:57 +03:00 |
Svyatoslav Nikolsky
|
964ac87135
|
getting rid of sync waits
|
2016-11-18 16:06:14 +03:00 |
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
|
056e623722
|
Merge pull request #145 from ethcore/db
Return block inserted chain diag
|
2016-11-17 20:32:58 +03:00 |
NikVolf
|
5a0356fb6b
|
fix block writer
|
2016-11-17 18:24:04 +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
|
26ab437024
|
fixed grumbles
|
2016-11-17 14:14:16 +03:00 |
Svyatoslav Nikolsky
|
294d7ca1b7
|
fixed typo
|
2016-11-17 13:10:56 +03:00 |
Svyatoslav Nikolsky
|
2b1cc7ffc7
|
test memory_pool_transactions_are_reerified_after_reorganization
|
2016-11-17 13:09:52 +03:00 |
Svyatoslav Nikolsky
|
a50e28d254
|
also reverify mempool transactions after reorg
|
2016-11-17 12:38:24 +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
|
af687bbbf9
|
Merge branch 'master' into h256-logging
|
2016-11-16 18:00:05 +03: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
|
9b6f24849d
|
Merge pull request #125 from ethcore/synchronizer
synchronizer
|
2016-11-16 17:09:09 +03:00 |
debris
|
8ecfc9368d
|
executor is always notified about ignored getheaders
|
2016-11-16 12:12:22 +01:00 |
debris
|
8cc045c92b
|
fixed sync code
|
2016-11-16 11:32:20 +01: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 |
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 |
debris
|
abdf6d38ca
|
Merge branch 'master' of github.com:ethcore/parity-bitcoin into synchronizer
|
2016-11-15 12:48:49 +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
|
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 |
debris
|
86cff63c30
|
sync synchronizer part done
|
2016-11-14 09:56:58 +01: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 |