Skip to content

Commit

Permalink
Rkuris/dead code cleanup (#322)
Browse files Browse the repository at this point in the history
Co-authored-by: Richard Pringle <[email protected]>
  • Loading branch information
rkuris and richardpringle authored Oct 17, 2023
1 parent d31113c commit 2eea64c
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 379 deletions.
1 change: 0 additions & 1 deletion firewood/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,5 @@ pub mod storage;
pub mod api;
pub(crate) mod config;
pub mod nibbles;
pub mod service;

pub mod v2;
201 changes: 0 additions & 201 deletions firewood/src/service/client.rs

This file was deleted.

58 changes: 0 additions & 58 deletions firewood/src/service/mod.rs

This file was deleted.

89 changes: 0 additions & 89 deletions firewood/src/service/server.rs

This file was deleted.

30 changes: 0 additions & 30 deletions firewood/src/v2/db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,33 +82,3 @@ where
Ok(proposal)
}
}

#[derive(Debug, Default)]
pub struct DbView;

#[async_trait]
impl api::DbView for DbView {
async fn root_hash(&self) -> Result<api::HashKey, api::Error> {
todo!()
}

async fn val<K: KeyType>(&self, _key: K) -> Result<Option<Vec<u8>>, api::Error> {
todo!()
}

async fn single_key_proof<K: KeyType>(
&self,
_key: K,
) -> Result<Option<api::Proof<Vec<u8>>>, api::Error> {
todo!()
}

async fn range_proof<K: KeyType, V, N>(
&self,
_first_key: Option<K>,
_last_key: Option<K>,
_limit: usize,
) -> Result<Option<api::RangeProof<K, V, N>>, api::Error> {
todo!()
}
}

0 comments on commit 2eea64c

Please sign in to comment.