Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Commit

Permalink
fix traces, removed bloomchain crate, closes #7228, closes #7167
Browse files Browse the repository at this point in the history
  • Loading branch information
debris committed Feb 22, 2018
1 parent f8a2e53 commit 1bf6203
Show file tree
Hide file tree
Showing 37 changed files with 43 additions and 2,034 deletions.
10 changes: 0 additions & 10 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion ethcore/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ authors = ["Parity Technologies <admin@parity.io>"]

[dependencies]
ansi_term = "0.10"
bloomchain = { path = "../util/bloomchain" }
bn = { git = "https://github.com/paritytech/bn" }
byteorder = "1.0"
common-types = { path = "types" }
Expand Down
47 changes: 0 additions & 47 deletions ethcore/src/blooms/bloom_group.rs

This file was deleted.

42 changes: 0 additions & 42 deletions ethcore/src/blooms/group_position.rs

This file was deleted.

23 changes: 0 additions & 23 deletions ethcore/src/blooms/mod.rs

This file was deleted.

2 changes: 0 additions & 2 deletions ethcore/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@
//! cargo build --release
//! ```

extern crate bloomchain;
extern crate bn;
extern crate byteorder;
extern crate crossbeam;
Expand Down Expand Up @@ -156,7 +155,6 @@ pub mod verification;
pub mod views;

mod cache_manager;
mod blooms;
mod pod_account;
mod account_db;
mod builtin;
Expand Down
7 changes: 0 additions & 7 deletions ethcore/src/trace/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,13 @@
// along with Parity. If not, see <http://www.gnu.org/licenses/>.

//! Traces config.
use bloomchain::Config as BloomConfig;

/// Traces config.
#[derive(Debug, PartialEq, Clone)]
pub struct Config {
/// Indicates if tracing should be enabled or not.
/// If it's None, it will be automatically configured.
pub enabled: bool,
/// Traces blooms configuration.
pub blooms: BloomConfig,
/// Preferef cache-size.
pub pref_cache_size: usize,
/// Max cache-size.
Expand All @@ -35,10 +32,6 @@ impl Default for Config {
fn default() -> Self {
Config {
enabled: false,
blooms: BloomConfig {
levels: 3,
elements_per_index: 16,
},
pref_cache_size: 15 * 1024 * 1024,
max_cache_size: 20 * 1024 * 1024,
}
Expand Down
Loading

0 comments on commit 1bf6203

Please sign in to comment.