skip rangeproof and kernel signature verification unless we are doing a "full" chain validation (#1678)

This commit is contained in:
Antioch Peverell
2018-10-07 13:39:40 +01:00
committed by GitHub
parent 463567b19e
commit acf61db463
3 changed files with 11 additions and 10 deletions
-1
View File
@@ -524,7 +524,6 @@ pub struct ChainValidationHandler {
impl Handler for ChainValidationHandler {
fn get(&self, _req: Request<Body>) -> ResponseFuture {
// TODO - read skip_rproofs from query params
match w(&self.chain).validate(true) {
Ok(_) => response(StatusCode::OK, ""),
Err(e) => response(