removed unused block mod

This commit is contained in:
debris 2015-12-17 17:21:37 +01:00
parent 535e936e29
commit 5630daa0a8
2 changed files with 0 additions and 26 deletions

View File

@ -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
}
}

View File

@ -87,7 +87,6 @@ pub use util::uint::*;
pub use util::bytes::*; pub use util::bytes::*;
pub mod account; pub mod account;
pub mod block;
pub mod blockchain; pub mod blockchain;
pub mod state; pub mod state;
pub mod blockheader; pub mod blockheader;