diff options
author | Riccardo Spagni <ric@spagni.net> | 2016-12-20 17:47:16 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2016-12-20 17:47:16 +0200 |
commit | e170cbe013ad057ba5fee518a1417873f3badfa6 (patch) | |
tree | 3c84ee165394921fe31ac7c126f33b6ca18e1571 | |
parent | Merge pull request #1472 (diff) | |
parent | Removed unused functions (diff) | |
download | monero-e170cbe013ad057ba5fee518a1417873f3badfa6.tar.xz |
Merge pull request #1473
e3639f5c Removed unused functions (Lee Clagett)
-rw-r--r-- | src/ringct/rctSigs.cpp | 16 | ||||
-rw-r--r-- | src/wallet/wallet_rpc_server.h | 2 |
2 files changed, 0 insertions, 18 deletions
diff --git a/src/ringct/rctSigs.cpp b/src/ringct/rctSigs.cpp index c7f9b6879..4f8782cdf 100644 --- a/src/ringct/rctSigs.cpp +++ b/src/ringct/rctSigs.cpp @@ -40,22 +40,6 @@ using namespace crypto; using namespace std; namespace rct { - namespace { - struct verRangeWrapper_ { - void operator()(const key & C, const rangeSig & as, bool &result) const { - result = verRange(C, as); - } - }; - constexpr const verRangeWrapper_ verRangeWrapper{}; - - struct verRctMGSimpleWrapper_ { - void operator()(const key &message, const mgSig &mg, const ctkeyV & pubs, const key & C, bool &result) const { - result = verRctMGSimple(message, mg, pubs, C); - } - }; - constexpr const verRctMGSimpleWrapper_ verRctMGSimpleWrapper{}; - } - //Borromean (c.f. gmax/andytoshi's paper) boroSig genBorromean(const key64 x, const key64 P1, const key64 P2, const bits indices) { key64 L[2], alpha; diff --git a/src/wallet/wallet_rpc_server.h b/src/wallet/wallet_rpc_server.h index 8701d38cd..92deec043 100644 --- a/src/wallet/wallet_rpc_server.h +++ b/src/wallet/wallet_rpc_server.h @@ -114,8 +114,6 @@ namespace tools bool on_make_uri(const wallet_rpc::COMMAND_RPC_MAKE_URI::request& req, wallet_rpc::COMMAND_RPC_MAKE_URI::response& res, epee::json_rpc::error& er); bool on_parse_uri(const wallet_rpc::COMMAND_RPC_PARSE_URI::request& req, wallet_rpc::COMMAND_RPC_PARSE_URI::response& res, epee::json_rpc::error& er); - bool handle_command_line(const boost::program_options::variables_map& vm); - //json rpc v2 bool on_query_key(const wallet_rpc::COMMAND_RPC_QUERY_KEY::request& req, wallet_rpc::COMMAND_RPC_QUERY_KEY::response& res, epee::json_rpc::error& er); |