diff --git a/http/src/v0/dht.rs b/http/src/v0/dht.rs index a9fd4c1a..ef70d2b7 100644 --- a/http/src/v0/dht.rs +++ b/http/src/v0/dht.rs @@ -77,7 +77,7 @@ pub fn find_peer( #[derive(Debug, Deserialize)] pub struct FindProvidersQuery { arg: String, - // FIXME: doesn't seem to be used at the moment + // FIXME: in go-ipfs this returns a lot of logs verbose: Option, #[serde(rename = "num-providers")] num_providers: Option, @@ -108,6 +108,7 @@ async fn find_providers_query( }) .collect(); + // FIXME: go-ipfs returns just a list of PeerIds let response = Response { extra: Default::default(), id: Default::default(), @@ -129,7 +130,7 @@ pub fn find_providers( #[derive(Debug, Deserialize)] pub struct ProvideQuery { arg: String, - // FIXME: doesn't seem to be used at the moment + // FIXME: in go-ipfs this returns a lot of logs verbose: Option, timeout: Option>, } @@ -150,6 +151,7 @@ async fn provide_query( .map_err(StringError::from)? .map_err(StringError::from)?; + // FIXME: go-ipfs returns nothing on success let response = Response { extra: Default::default(), id: Default::default(),