#include <httprpc.h>
#include <chainparams.h>
#include <common/args.h>
#include <config.h>
#include <crypto/hmac_sha256.h>
#include <logging.h>
#include <rpc/protocol.h>
#include <util/strencodings.h>
#include <util/string.h>
#include <util/translation.h>
#include <walletinitinterface.h>
#include <boost/algorithm/string.hpp>
#include <algorithm>
#include <cstdio>
#include <functional>
#include <iterator>
#include <map>
#include <memory>
#include <set>
#include <string>
Go to the source code of this file.
◆ checkCORS()
◆ InitRPCAuthentication()
static bool InitRPCAuthentication |
( |
| ) |
|
|
static |
◆ InterruptHTTPRPC()
void InterruptHTTPRPC |
( |
| ) |
|
Interrupt HTTP RPC subsystem.
Definition at line 477 of file httprpc.cpp.
◆ JSONErrorReply()
◆ multiUserAuthorized()
static bool multiUserAuthorized |
( |
std::string |
strUserPass | ) |
|
|
static |
◆ RPCAuthorized()
static bool RPCAuthorized |
( |
const std::string & |
strAuth, |
|
|
std::string & |
strAuthUsernameOut |
|
) |
| |
|
static |
◆ StartHTTPRPC()
Start HTTP RPC subsystem.
Precondition; HTTP and RPC has been started.
Definition at line 456 of file httprpc.cpp.
◆ StopHTTPRPC()
Stop HTTP RPC subsystem.
Precondition; HTTP and RPC has been stopped.
Definition at line 481 of file httprpc.cpp.
◆ g_rpc_whitelist
std::map<std::string, std::set<std::string> > g_rpc_whitelist |
|
static |
◆ g_rpc_whitelist_default
bool g_rpc_whitelist_default = false |
|
static |
◆ httpRPCTimerInterface
◆ RPC_AUTH_BRUTE_FORCE_DELAY
const int64_t RPC_AUTH_BRUTE_FORCE_DELAY = 250 |
|
static |
RPC auth failure delay to make brute-forcing expensive.
Definition at line 33 of file httprpc.cpp.
◆ strRPCCORSDomain
std::string strRPCCORSDomain |
|
static |
◆ strRPCUserColonPass
std::string strRPCUserColonPass |
|
static |
◆ WWW_AUTH_HEADER_DATA
const char* WWW_AUTH_HEADER_DATA = "Basic realm=\"jsonrpc\"" |
|
static |
WWW-Authenticate to present with 401 Unauthorized response.
Definition at line 30 of file httprpc.cpp.