This repository has been archived by the owner on Nov 6, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 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
- Loading branch information
Showing
81 changed files
with
1,222 additions
and
2,887 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,7 @@ license = "GPL-3.0" | |
authors = ["Parity Technologies <[email protected]>"] | ||
|
||
[dependencies] | ||
blooms-db = { path = "util/blooms-db" } | ||
log = "0.3" | ||
env_logger = "0.4" | ||
rustc-hex = "1.0" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ authors = ["Parity Technologies <[email protected]>"] | |
|
||
[dependencies] | ||
ansi_term = "0.10" | ||
bloomchain = { path = "../util/bloomchain" } | ||
blooms-db = { path = "../util/blooms-db" } | ||
bn = { git = "https://github.com/paritytech/bn", default-features = false } | ||
byteorder = "1.0" | ||
common-types = { path = "types" } | ||
|
@@ -67,11 +67,11 @@ keccak-hash = { path = "../util/hash" } | |
triehash = { path = "../util/triehash" } | ||
unexpected = { path = "../util/unexpected" } | ||
journaldb = { path = "../util/journaldb" } | ||
tempdir = "0.3" | ||
kvdb-rocksdb = { path = "../util/kvdb-rocksdb" } | ||
|
||
[dev-dependencies] | ||
tempdir = "0.3" | ||
trie-standardmap = { path = "../util/trie-standardmap" } | ||
kvdb-rocksdb = { path = "../util/kvdb-rocksdb" } | ||
|
||
[features] | ||
# Display EVM debug traces. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.