Afri
b2faa05ee7
Improved logging to console ( #440 )
...
* Remove redundant timestamp.
* Measure block processing in the logs
* Use tabs to separate status.
* Show updates every 1000 blocks.
* Reword some warnings.
* Add some color to log level.
* Reduce code redundancy
* No need to specify the type for blocks_speed
* Utilize the return value of match.
* Count all peers.
* Add whitespaces
* Remove another redundant timestamp
* One item per line
* Use tabs not spaces
* Remove unused import
* Remove redundant time imports
* Paint it black.
2017-08-17 22:45:36 +02:00
Svyatoslav Nikolsky
5d5a6d715c
lost line
2017-08-11 11:48:26 +03:00
Svyatoslav Nikolsky
b33e327d32
do not close connection on notfound if not synchronizing
2017-08-11 11:27:31 +03:00
Svyatoslav Nikolsky
28f4cda92d
added hardocded (min, max) requested blocks switch
2017-08-11 11:12:47 +03:00
Svyatoslav Nikolsky
72c3408b8f
fixed node penalizing
2017-08-11 11:05:34 +03:00
Svyatoslav Nikolsky
0e9b5fd89e
merge good changes from sync_queue branch
2017-08-10 17:44:01 +03:00
Svyatoslav Nikolsky
46a7c4f7f2
--verification-level && --verification-edge
2017-08-10 14:54:06 +03:00
Svyatoslav Nikolsky
976dfea64e
fixed bloom indexing
2017-05-18 10:11:03 +03:00
debris
09f25c4f2f
db refactor finished
2017-04-21 15:26:19 +02:00
Svyatoslav Nikolsky
11c6411a41
Merge pull request #394 from paritytech/consolidate
...
Consolidate database traits
2017-04-10 08:03:28 +03:00
debris
0155c6e4ef
revert is_double_spent -> is_spent
2017-04-09 14:10:40 +08:00
debris
21fdfabb0e
consolidated TransactionOutputProvider and TransactionOutputObserver
2017-04-07 12:54:40 +07:00
debris
2074076c41
simplify verification code
2017-04-07 11:46:20 +07:00
debris
fc3b2a13bf
removed redundant StorageTransactionOutputProvider, clarified bip30
2017-04-06 22:37:57 +07:00
debris
16fc1c01af
test-data is only a dev-dependency, closes #390
2017-04-06 01:19:19 +07:00
debris
dd36a624fa
updated dependencies and graph
2017-04-05 17:17:23 +07:00
Marek Kotewicz
77cfd9e8f7
db refactor ( #385 )
...
* db refactor in progress, refactored kvdb
* kvdb refactor
* removed unused RwLock
* removed unused RwLock
* BlockChainDatabase
* db refactor in progress
* implemented BlockProvider for newdb
* fixed compiling
* newdb TransactionMeta
* newdb tests
* reopen tests for newdb
* replaced old db with new db
* chain_verifier uses new db
* sync module uses refactored db
* check double spends in verification layer
* added Forkable trait to satisfy resolving recursive types by compiler
* new db regtests in progress
* fixed verification and sync unit tests
* fixed miner and rpc unit tests
* implemented fmt::Debug for few structs
* removed commented out code
* fixed bencher target
* removing commented out code, polishing db_refactor pr
2017-04-05 16:37:58 +07:00
debris
cd5287bb2d
updated parking_lot to 0.4
2017-03-26 15:17:28 +07:00
debris
f193a03fd6
updated csv && byteorder libraries
2017-03-12 16:05:35 +01:00
Svyatoslav Nikolsky
ba918625d5
temporary switched to github version of tokio-core
2017-01-12 00:38:14 +03:00
Svyatoslav Nikolsky
3bbd71009d
removed unneeded config option
2017-01-11 16:39:54 +03:00
Svyatoslav Nikolsky
d005307db9
get rid of custom cpu pool in sync
2017-01-11 16:36:33 +03:00
Svyatoslav Nikolsky
07d4f00241
implemented blocknotify option
2017-01-10 11:58:55 +03:00
Svyatoslav Nikolsky
7be6013c89
remove debug print from sync
2017-01-10 11:15:17 +03:00
Svyatoslav Nikolsky
5852074a75
fix after merge
2017-01-09 18:39:31 +03:00
Svyatoslav Nikolsky
3d57c0c55e
Merge branch 'master' into sync_clippy
2017-01-09 18:36:41 +03:00
Svyatoslav Nikolsky
fe97161092
when_transaction_double_spends_during_reorg
2017-01-09 17:35:15 +03:00
Svyatoslav Nikolsky
2aa0aa6721
fixed clippy warnings after sync refactoring
2017-01-09 12:29:34 +03:00
Svyatoslav Nikolsky
afc9c53df0
mempool double send is now checked during reorganizations
2017-01-09 11:49:04 +03:00
Svyatoslav Nikolsky
59378066b8
fixed TODOs
2016-12-27 09:33:08 +03:00
Svyatoslav Nikolsky
c23b0f55a4
sort peers by response time before sending blocks requests
2016-12-26 17:21:04 +03:00
Svyatoslav Nikolsky
40ace5b0d4
ClientCoreRef
2016-12-26 11:39:59 +03:00
Svyatoslav Nikolsky
de67bfdef6
cleaning up
2016-12-26 10:54:55 +03:00
Svyatoslav Nikolsky
e82ff34eed
fixed sync issues
2016-12-23 18:45:50 +03:00
Svyatoslav Nikolsky
cee9ce38f9
deleted obsolete sync_v2
2016-12-23 16:14:49 +03:00
Svyatoslav Nikolsky
d696dcfdaf
sync_v2
2016-12-23 16:13:18 +03:00
Svyatoslav Nikolsky
be53bbdc3e
added some more tests
2016-12-14 14:22:02 +03:00
Svyatoslav Nikolsky
a9dcc0d6f7
fix bad pattern
2016-12-14 02:08:07 +03:00
Svyatoslav Nikolsky
768912c759
fix after merhe
2016-12-14 00:23:23 +03:00
Svyatoslav Nikolsky
f54b7691c4
Merge branch 'master' into fix_319
2016-12-14 00:17:47 +03:00
Svyatoslav Nikolsky
945c19a8eb
replace non-final transactions in mempool
2016-12-14 00:14:07 +03:00
debris
7baaa47b8c
import is hashing blocks when reading, added --skip-verification flag
2016-12-13 20:49:41 +01:00
debris
c59e84ebe5
Merge branch 'master' of github.com:ethcore/parity-bitcoin into block_assembler_tests
2016-12-12 15:23:18 +01:00
Svyatoslav Nikolsky
0714037a3a
Merge branch 'master' into rpc_blockchain
2016-12-12 15:33:12 +03:00
debris
2f7b940794
DoubleSpends verification
2016-12-12 13:11:00 +01:00
debris
64a3d4d080
verification refactor almost done
2016-12-12 12:04:19 +01:00
Svyatoslav Nikolsky
fdf704f6ae
check mempool::is_spent in ChainMemoryPoolTransactionOutputProvider::is_spent
2016-12-12 00:56:32 +03:00
Svyatoslav Nikolsky
408b5cda35
when_got_same_orphan_transaction_twice
2016-12-11 09:37:42 +03:00
debris
56e4e54074
Transaction Output Observer
2016-12-10 22:34:04 +01:00
debris
f669a27d06
PreviousTransactionOutputProvider refactor in progress
2016-12-10 19:47:02 +01:00