|
|
@ -233,7 +233,10 @@ bool StartHTTPRPC() |
|
|
|
return false; |
|
|
|
return false; |
|
|
|
|
|
|
|
|
|
|
|
RegisterHTTPHandler("/", true, HTTPReq_JSONRPC); |
|
|
|
RegisterHTTPHandler("/", 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); |
|
|
|
|
|
|
|
#endif |
|
|
|
assert(EventBase()); |
|
|
|
assert(EventBase()); |
|
|
|
httpRPCTimerInterface = new HTTPRPCTimerInterface(EventBase()); |
|
|
|
httpRPCTimerInterface = new HTTPRPCTimerInterface(EventBase()); |
|
|
|
RPCSetTimerInterface(httpRPCTimerInterface); |
|
|
|
RPCSetTimerInterface(httpRPCTimerInterface); |
|
|
|