Commit Graph

15 Commits

Author SHA1 Message Date
Aleksey Sidorov f120076cab Make parity-bitcoin usable for spv validation
- In this PR I extract from the crate `db` to the new `storage` crate all traits that is not specifically related to the concrete implementation of database. So I now can use `verification` crate without `rocksdb` dependency.

- Also I modify the `HeaderAcceptor` so that can be constructed without the private `BlockDeployments`.
2018-03-09 15:45:07 +03:00
Svyatoslav Nikolsky 6db8c5e235 changed magic for BCH network 2017-11-01 12:30:15 +03:00
Svyatoslav Nikolsky 0fcf1fac5b firce user to select chain on first run 2017-09-01 16:57:29 +03:00
debris 09f25c4f2f db refactor finished 2017-04-21 15:26:19 +02: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 0164ac95cb panic -> expect 2016-11-25 12:39:14 +03:00
Svyatoslav Nikolsky ce8f896efb custom data dir option 2016-11-25 09:58:04 +03:00
NikVolf 0da1fb184c configurable cache size 2016-11-21 11:52:27 +03:00
NikVolf 77c01c41e0 refactor sync and bin 2016-11-17 21:37:45 +03:00
Svyatoslav Nikolsky fce53cdc8b removed --diskdb option 2016-11-16 09:58:26 +03:00
debris 436d925ba6 clippy lints enabled for crypto, message, p2p, pbtc, primitives and serialization 2016-11-08 11:51:34 +01:00
debris 9e501fe5d0 shutdown gracefully on incompatible db open 2016-11-07 11:20:41 +01:00
Svyatoslav Nikolsky d30520c981 added support for regnet && testnet genesis blocks 2016-11-07 12:15:15 +03:00
debris fc32423017 save node_table to $APP_DIR/p2p/nodes.csv 2016-11-04 12:08:58 +01:00
debris 521482f2ec work on import command in progress 2016-11-03 17:19:35 +01:00