removed unused block mod
This commit is contained in:
parent
535e936e29
commit
5630daa0a8
25
src/block.rs
25
src/block.rs
@ -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
|
||||
}
|
||||
}
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user