From da598c82aa80e3836c012297fcc5a370b46bc1ca Mon Sep 17 00:00:00 2001 From: James Calfee Date: Tue, 2 Feb 2016 13:11:54 -0600 Subject: [PATCH] Revert "Add crypto API call to derive a public key child. #536" This reverts commit 84fd629d36d52e364517ec56948375290809d776. --- libraries/app/api.cpp | 5 ----- libraries/app/include/graphene/app/api.hpp | 2 -- 2 files changed, 7 deletions(-) diff --git a/libraries/app/api.cpp b/libraries/app/api.cpp index 0d07ef2c..f262cca7 100644 --- a/libraries/app/api.cpp +++ b/libraries/app/api.cpp @@ -464,11 +464,6 @@ namespace graphene { namespace app { { return fc::ecc::range_proof_sign( min_value, commit, commit_blind, nonce, base10_exp, min_bits, actual_value ); } - - fc::ecc::public_key crypto_api::child(fc::ecc::public_key public_key, fc::sha256 child) - { - return public_key_type( public_key.child( child ) ); - } verify_range_proof_rewind_result crypto_api::verify_range_proof_rewind( const blind_factor_type& nonce, const commitment_type& commit, diff --git a/libraries/app/include/graphene/app/api.hpp b/libraries/app/include/graphene/app/api.hpp index ebca000f..a6ffe0e9 100644 --- a/libraries/app/include/graphene/app/api.hpp +++ b/libraries/app/include/graphene/app/api.hpp @@ -222,7 +222,6 @@ namespace graphene { namespace app { uint8_t min_bits, uint64_t actual_value ); - fc::ecc::public_key child(fc::ecc::public_key public_key, fc::sha256 child); verify_range_proof_rewind_result verify_range_proof_rewind( const blind_factor_type& nonce, const fc::ecc::commitment_type& commit, @@ -314,7 +313,6 @@ FC_API(graphene::app::crypto_api, (verify_sum) (verify_range) (range_proof_sign) - (child) (verify_range_proof_rewind) (range_get_info) )