Commit Graph

23 Commits

Author SHA1 Message Date
debris 16fc1c01af test-data is only a dev-dependency, closes #390 2017-04-06 01:19:19 +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
Svyatoslav Nikolsky de67bfdef6 cleaning up 2016-12-26 10:54:55 +03:00
Svyatoslav Nikolsky d696dcfdaf sync_v2 2016-12-23 16:13:18 +03:00
debris 7baaa47b8c import is hashing blocks when reading, added --skip-verification flag 2016-12-13 20:49:41 +01:00
debris 0811e876c0 finish indexed block refactor 2016-12-09 16:24:06 +01:00
Marek Kotewicz db0e4f3bd1 Merge pull request #267 from ethcore/sync_sendrawtransaction
`sendrawtransaction` RPC method implemented
2016-12-09 12:14:27 +01:00
Svyatoslav Nikolsky ef50b763d8 blocks_writer_append_to_existing_db 2016-12-08 22:20:36 +03:00
Svyatoslav Nikolsky a5e33c7a26 support blocks import to existing db 2016-12-08 22:14:32 +03:00
Svyatoslav Nikolsky 23da291f95 accept_transaction 2016-12-08 14:48:00 +03:00
Svyatoslav Nikolsky b160f85e5f Merge branch 'master' into sync_connect_transaction_verifier 2016-11-30 16:40:07 +03: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
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
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
debris 847cb36c6f chain verifier does not have hardcoded network constants 2016-11-25 18:38:21 +01:00
Svyatoslav Nikolsky 5e80dd69bd do not boomerang-relay new blocks 2016-11-22 09:14:31 +03:00
NikVolf 77c01c41e0 refactor sync and bin 2016-11-17 21:37:45 +03:00
NikVolf 5a0356fb6b fix block writer 2016-11-17 18:24:04 +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 9b5a134d01 initial BlocksWriter version 2016-11-03 14:37:58 +03:00