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 (#7979)
Browse files Browse the repository at this point in the history
  • Loading branch information
debris authored and tomusdrw committed Feb 27, 2018
1 parent 0a6ca91 commit fed9cbb
Show file tree
Hide file tree
Showing 10 changed files with 44 additions and 341 deletions.
7 changes: 0 additions & 7 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 <[email protected]>"]

[dependencies]
ansi_term = "0.9"
bloomchain = "0.1"
bn = { git = "https://github.com/paritytech/bn" }
byteorder = "1.0"
common-types = { path = "types" }
Expand Down
74 changes: 0 additions & 74 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.

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 @@ -155,7 +154,6 @@ pub mod verification;
pub mod views;

mod cache_manager;
mod blooms;
mod basic_types;
mod pod_account;
mod state_db;
Expand Down
77 changes: 0 additions & 77 deletions ethcore/src/trace/bloom.rs

This file was deleted.

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 fed9cbb

Please sign in to comment.