Nikolay Volf
32cdb4b210
Merge pull request #106 from ethcore/sync_as_bitcoind
...
Sync as bitcoind does
2016-11-10 22:55:17 +03:00
NikVolf
8aff04e306
ignore test for a while
2016-11-10 20:34:05 +03:00
NikVolf
56b7865f1f
proper tests layout
2016-11-10 20:31:25 +03:00
NikVolf
cb298ebe8e
failing (so far) test for coinbase maturity check
2016-11-10 20:12:03 +03:00
NikVolf
390c7d2854
more convenient best block check
2016-11-10 19:43:31 +03:00
NikVolf
1a553e2caf
some verifications
2016-11-10 19:19:47 +03:00
NikVolf
a77c986e11
test storage proper projection
2016-11-10 18:29:54 +03:00
NikVolf
33b4143e74
accepted block lcations
2016-11-10 17:53:39 +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
e4d2ddb9ce
removed debugging stuff
2016-11-10 16:06:56 +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
Svyatoslav Nikolsky
28771adaa5
Merge pull request #105 from ethcore/synchronizer
...
simplified threshold and configurable synchronizers, cleanun session init and on_message
2016-11-10 07:46:07 +03: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
Svyatoslav Nikolsky
cca36dee30
Merge pull request #104 from ethcore/synchronizer
...
response synchronizer
2016-11-09 18:03:33 +03:00
debris
da769b253a
response synchronizer
2016-11-09 15:46:34 +01: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
Marek Kotewicz
7a5ab9e96b
Merge pull request #101 from ethcore/clippy
...
fixed clippy lints for db, keys, miner, and script
2016-11-08 21:59:33 +01:00
debris
f7a73f6520
fixed clippy lints for db, keys, miner, and script
2016-11-08 21:01:36 +01:00
Svyatoslav Nikolsky
7291333654
Merge pull request #100 from ethcore/clippy
...
project workspace and linting using clippy
2016-11-08 19:23:22 +03:00
debris
8d4e004a78
make tools/draw_graph.sh work again
2016-11-08 17:01:15 +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
Svyatoslav Nikolsky
1135c49dae
Merge pull request #99 from ethcore/reorg
...
Reorganizations extra tests
2016-11-08 10:57:32 +03:00
NikVolf
631842f0e4
Merge branch 'master' into reorg
2016-11-07 21:05:38 +03:00
NikVolf
01cb909125
double reorganize and transaction spend tests
2016-11-07 21:01:25 +03:00
Nikolay Volf
23807c65ba
Merge pull request #98 from ethcore/header_with_txncount_ref
...
avoid redundant clone on header serialize
2016-11-07 14:55:15 +03:00
debris
54e2ae2a4b
avoid redundant clone on header serialize
2016-11-07 12:38:52 +01:00
Marek Kotewicz
e97ef2195d
Merge pull request #97 from ethcore/headers_with_txn_count
...
Adder txn_count (always zero) to headers message
2016-11-07 12:27:15 +01:00
Nikolay Volf
5d587e20f6
Reorganization in chain database ( #93 )
...
* tests first
* decanonize & test
* fix denote bug
* fork route & test
* some refactoring of the transaction processing
* reorganization on insert
* non-reorg tests
* fix warnings
* fix doc comment
* long fork reorg test
* todo for shorter reorgs
2016-11-07 11:57:23 +01:00
Svyatoslav Nikolsky
725120c126
Merge pull request #96 from ethcore/shutdown_gracefully
...
shutdown gracefully on incompatible db open
2016-11-07 13:27:30 +03:00
NikVolf
9f7dcb6816
todo for shorter reorgs
2016-11-07 13:26:51 +03:00
NikVolf
679b83ecd0
long fork reorg test
2016-11-07 13:24:46 +03:00
debris
9e501fe5d0
shutdown gracefully on incompatible db open
2016-11-07 11:20:41 +01:00
Svyatoslav Nikolsky
22bd2427bf
adder txn_count (always zero) to headers message
2016-11-07 13:20:01 +03:00
Marek Kotewicz
2248dc2c35
Merge pull request #95 from ethcore/sync_reorg_fix
...
Fixed couple of issues from #91
2016-11-07 11:09:14 +01:00
Marek Kotewicz
8d2a7e6aa5
Merge pull request #94 from ethcore/reg_genesis
...
Added support for regnet && testnet genesis blocks
2016-11-07 11:07:38 +01:00
Svyatoslav Nikolsky
d9f032edce
fixed couple of issues from #91
2016-11-07 12:32:40 +03:00
Svyatoslav Nikolsky
d30520c981
added support for regnet && testnet genesis blocks
2016-11-07 12:15:15 +03: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
NikVolf
78de572dbf
Merge branch 'master' into reorg
2016-11-06 21:14:59 +03:00
NikVolf
f3ef34cb29
fix doc comment
2016-11-06 21:07:14 +03:00
Nikolay Volf
5328b3b3bb
Merge pull request #92 from ethcore/regtest_support
...
regression tests support
2016-11-06 20:59:59 +03:00
NikVolf
696bb4f6c8
fix warnings
2016-11-06 20:25:47 +03:00
debris
5b93c5dc40
regression tests support
2016-11-05 15:32:57 +01:00
NikVolf
cb8dae3242
non-reorg tests
2016-11-05 15:31:11 +03:00