Browse Source

Added json_rpc url for cryptonote client.

cn_mining
Jianping Wu 6 years ago
parent
commit
48cec14bc4
  1. 1
      src/httprpc.cpp

1
src/httprpc.cpp

@ -241,6 +241,7 @@ bool StartHTTPRPC() @@ -241,6 +241,7 @@ bool StartHTTPRPC()
return false;
RegisterHTTPHandler("/", true, HTTPReq_JSONRPC);
RegisterHTTPHandler("/json_rpc", true, HTTPReq_JSONRPC);
#ifdef ENABLE_WALLET
// ifdef can be removed once we switch to better endpoint support and API versioning
RegisterHTTPHandler("/wallet/", false, HTTPReq_JSONRPC);

Loading…
Cancel
Save