Commit Graph

207 Commits

Author SHA1 Message Date
Svyatoslav Nikolsky 3a1e6c9aa6 cleaning up 2018-11-13 14:20:25 +03:00
Aleksei Sidorov 89f6e80596 Remove obsolete file 2018-03-12 15:42:49 +03:00
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
Tomas Korcak b84f4dcc29
Update log 0.3 -> 0.4, env_logger 0.4 -> 0.5 2018-02-09 16:50:28 +01:00
Svyatoslav Nikolsky c1cf82ffe6 Into<String> -> From<String> 2017-09-01 22:04:14 +03:00
Svyatoslav Nikolsky 0fcf1fac5b firce user to select chain on first run 2017-09-01 16:57:29 +03:00
Svyatoslav Nikolsky 3db431aa8e added deployments tests from bitcoin + fixes 2017-08-31 09:34:00 +03:00
Svyatoslav Nikolsky c21c81abe3 rollback command implemented 2017-08-23 12:24:09 +03:00
Svyatoslav Nikolsky 045603c84a fixed warnings 2017-08-02 11:50:08 +03:00
debris 95255d0f58 versionbits in progress 2017-04-27 15:58:16 +02:00
debris 5f7b42c80f versionbits in progress 2017-04-25 19:09:02 +02:00
debris 382efe12c6 pr cleanup 2017-04-24 13:52:58 +02:00
debris 362d9bf2dc cache most recent 2000 block headers 2017-04-24 13:46:09 +02:00
debris 09f25c4f2f db refactor finished 2017-04-21 15:26:19 +02:00
debris f4c958e9f2 db cache refactor in progress 2017-04-21 13:59:06 +02:00
debris 6aa78e42e1 db cache refactor in progress 2017-04-21 09:54:18 +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
Svyatoslav Nikolsky d054d3592d Merge pull request #392 from paritytech/removed_devtools
replace devtools with tempdir, test-data is only a dev-dependency
2017-04-07 09:22:18 +03: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 1eb99cd8b9 use tempdir instead of devtools 2017-04-06 01:05:37 +07:00
debris 9c1ee100b7 AutoFlushingOverlayDatabase 2017-04-05 18:40:48 +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 98855f8190 Merge pull request #358 from ethcore/todo
Remove outdated todos in db
2016-12-28 21:12:08 +03:00
NikVolf 21d326d21f change deps 2016-12-27 18:45:46 +03:00
NikVolf 1e45b9bc5d remove outdated todo 2016-12-27 15:05:01 +03:00
NikVolf 70dedd5074 32 bit actually 2016-12-26 18:52:55 +03:00
NikVolf b65c191af0 bloom for transactions meta 2016-12-26 18:49:47 +03:00
NikVolf 1e3844a9ed flush on import 2016-12-23 21:24:49 +03:00
Marek Kotewicz 6521c3563e Merge pull request #340 from ethcore/expect-sanitation
Some of the expects extended explanation
2016-12-16 01:44:17 +01:00
debris 721a31577b cleanup docs 2016-12-15 16:03:59 +01:00
NikVolf 2da8f24cf6 further sanitize the storage code 2016-12-15 14:40:23 +01:00
NikVolf 3c162ac867 best block resolve fix 2016-12-15 14:33:17 +01:00
NikVolf f7b4f72f7d another leftover for linux 2016-12-14 23:02:55 +01:00
NikVolf 92ea916e04 remove license 2016-12-14 21:18:54 +01:00
NikVolf 1b10e016c2 remove auto for other platforms 2016-12-14 21:12:53 +01:00
NikVolf 85a90e3f5f remove auto for linux also 2016-12-14 21:12:49 +01:00
NikVolf 89b2591e6f update kvdb from parity 2016-12-14 20:59:58 +01:00
NikVolf 9aebc736e1 flush on drop 2016-12-14 19:48:20 +01:00
debris 7baaa47b8c import is hashing blocks when reading, added --skip-verification flag 2016-12-13 20:49:41 +01:00
debris ce7af59ad3 hash block and transactions while reading them 2016-12-13 18:06:46 +01:00
debris 6ecdfd78c5 few optimizations with Borrow and AsRef 2016-12-13 13:33:06 +01:00
debris d0c480565d applying suggestions from review and adding comments 2016-12-13 10:50:56 +01:00
debris 0f7348e139 fixes after merge with master 2016-12-12 15:49:32 +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