diff --git a/src/block.rs b/src/block.rs deleted file mode 100644 index a5fc7b348..000000000 --- a/src/block.rs +++ /dev/null @@ -1,25 +0,0 @@ -use util::hash::*; -use util::overlaydb::*; -use state::*; - -/// Active model of a block within the blockchain -pub struct Block { - state: State -} - -impl Block { - /// Creates block with empty state root - pub fn new(_db: OverlayDB) -> Block { - unimplemented!() - } - - /// Creates block with state root - pub fn new_existing(_db: OverlayDB, _state_root: H256) -> Block { - unimplemented!() - } - - /// Returns mutable reference to backing state - pub fn mutable_state<'a>(&'a mut self) -> &'a mut State { - &mut self.state - } -} diff --git a/src/lib.rs b/src/lib.rs index 4fa515465..7facaa21a 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -87,7 +87,6 @@ pub use util::uint::*; pub use util::bytes::*; pub mod account; -pub mod block; pub mod blockchain; pub mod state; pub mod blockheader;