Commit Graph

231 Commits

Author SHA1 Message Date
Svyatoslav Nikolsky f83f7a53ad removed obsolete ConfigStore trait 2019-03-12 12:48:38 +03:00
Svyatoslav Nikolsky 8c38105a2a do not store sapling ct root aside from the header 2019-03-08 08:52:05 +03:00
Svyatoslav Nikolsky 3099c66ba1 store Sprout + Sapling commitment tree states in single column 2019-03-06 14:54:36 +03:00
Svyatoslav Nikolsky 807822a9fd update sapling commitment tree on block insert 2019-03-05 13:55:28 +03:00
Svyatoslav Nikolsky 2a80149e1a prepare for Sapling note commitment tree 2019-03-04 14:53:36 +03:00
Dimitris Apostolou cbf4c99d8b
Fix typos 2019-02-03 00:35:00 +02:00
NikVolf 2a72d6e85f cache distribution 2019-01-18 16:01:54 +03:00
Nikolay Volf 04052c6e43
Merge pull request #39 from paritytech/nv4
Commitments tree storing
2019-01-18 15:37:13 +03:00
NikVolf 4ac862f51c add logic to the db 2019-01-17 13:36:52 +03:00
NikVolf c833d392c4 block roots in db 2019-01-16 17:39:54 +03:00
NikVolf 0219337d1e update db 2019-01-14 14:43:04 +03:00
Svyatoslav Nikolsky f110b0be13 update getdifficulty RPC 2019-01-14 12:43:23 +03:00
Svyatoslav Nikolsky 4d6d97d871 change gith ref to rocksdb crate 2019-01-11 12:51:31 +03:00
NikVolf c35738daae tabify some more 2019-01-09 12:04:58 +03:00
NikVolf 55e0c661a1 refactor nullifier tag to epoch tag 2018-12-27 13:23:57 +03:00
Svyatoslav Nikolsky d8907d36e5 checking sapling nullifiers 2018-12-21 10:11:19 +03:00
NikVolf 33be1815e5 remove bloom value 2018-12-03 16:16:14 +03:00
NikVolf 1d266aad2b add trace/warnings 2018-12-03 14:52:12 +03:00
NikVolf 5b62e5b639 reserve some columns 2018-12-03 14:44:54 +03:00
NikVolf c1e44e86db canonize/decanonize database update 2018-12-03 14:29:04 +03:00
NikVolf 0052703c0a also for keyvalue 2018-12-02 21:08:46 +03:00
NikVolf 9aa90a45e9 memory db and key types 2018-12-02 20:58:01 +03:00
NikVolf 2d6e6c3136 nullifier in database 2018-11-30 18:54:17 +03:00
NikVolf 326bca1ae5 nullifier in storage 2018-11-30 18:25:59 +03:00
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