mirror of
https://github.com/monero-project/monero.git
synced 2024-12-27 01:39:27 -05:00
Merge pull request #1473
e3639f5c
Removed unused functions (Lee Clagett)
This commit is contained in:
commit
e170cbe013
@ -40,22 +40,6 @@ using namespace crypto;
|
|||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
namespace rct {
|
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)
|
//Borromean (c.f. gmax/andytoshi's paper)
|
||||||
boroSig genBorromean(const key64 x, const key64 P1, const key64 P2, const bits indices) {
|
boroSig genBorromean(const key64 x, const key64 P1, const key64 P2, const bits indices) {
|
||||||
key64 L[2], alpha;
|
key64 L[2], alpha;
|
||||||
|
@ -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_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 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
|
//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);
|
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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user