Skip to content
Snippets Groups Projects
Commit 181c7214 authored by Gerui Wang's avatar Gerui Wang
Browse files

more api

parent 805760c5
Branches main
No related tags found
No related merge requests found
......@@ -115,6 +115,14 @@ impl Server {
let v_string: Vec<String> = v.into_iter().map(|h|h.to_string()).collect();
respond_json!(req, v_string);
}
"/blockchain/longest-chain-tx" => {
// unimplemented!()
respond_result!(req, false, "unimplemented!");
}
"/blockchain/longest-chain-tx-count" => {
// unimplemented!()
respond_result!(req, false, "unimplemented!");
}
_ => {
let content_type =
"Content-Type: application/json".parse::<Header>().unwrap();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment