openethereum/ethcore/src/blockchain
Marek Kotewicz 458afcd230 new blooms database (#8712)
* new blooms database

* fixed conflict in Cargo.lock

* removed bloomchain

* cleanup in progress

* all tests passing in trace db with new blooms-db

* added trace_blooms to BlockChainDB interface, fixed db flushing

* BlockChainDB no longer exposes RwLock in the interface

* automatically flush blooms-db after every insert

* blooms-db uses io::BufReader to read files, wrap blooms-db into Mutex, cause fs::File is just a shared file handle

* fix json_tests

* blooms-db can filter multiple possibilities at the same time

* removed enum trace/db.rs CacheId

* lint fixes

* fixed tests

* kvdb-rocksdb uses fs-swap crate

* update Cargo.lock

* use fs::rename

* fixed failing test on linux

* fix tests

* use fs_swap

* fixed failing test on linux

* cleanup after swap

* fix tests

* fixed osx permissions

* simplify parity database opening functions

* added migration to blooms-db

* address @niklasad1 grumbles

* fix license and authors field of blooms-db Cargo.toml

* restore blooms-db after snapshot
2018-06-20 15:13:07 +02:00
..
best_block.rs Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
block_info.rs Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
blockchain.rs new blooms database (#8712) 2018-06-20 15:13:07 +02:00
cache.rs new blooms database (#8712) 2018-06-20 15:13:07 +02:00
config.rs Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
extras.rs new blooms database (#8712) 2018-06-20 15:13:07 +02:00
generator.rs Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
import_route.rs Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
mod.rs new blooms database (#8712) 2018-06-20 15:13:07 +02:00
update.rs new blooms database (#8712) 2018-06-20 15:13:07 +02:00