#include <httprpc.h>
#include <chainparams.h>
#include <crypto/hmac_sha256.h>
#include <httpserver.h>
#include <rpc/protocol.h>
#include <rpc/server.h>
#include <util/strencodings.h>
#include <util/system.h>
#include <util/translation.h>
#include <walletinitinterface.h>
#include <algorithm>
#include <iterator>
#include <map>
#include <memory>
#include <stdio.h>
#include <set>
#include <string>
#include <boost/algorithm/string.hpp>
Go to the source code of this file.
| static bool InitRPCAuthentication |
( |
| ) |
|
|
static |
| void InterruptHTTPRPC |
( |
| ) |
|
Interrupt HTTP RPC subsystem.
Definition at line 305 of file httprpc.cpp.
| static bool multiUserAuthorized |
( |
std::string |
strUserPass | ) |
|
|
static |
| static bool RPCAuthorized |
( |
const std::string & |
strAuth, |
|
|
std::string & |
strAuthUsernameOut |
|
) |
| |
|
static |
| bool StartHTTPRPC |
( |
const util::Ref & |
context | ) |
|
Start HTTP RPC subsystem.
Precondition; HTTP and RPC has been started.
Definition at line 287 of file httprpc.cpp.
Stop HTTP RPC subsystem.
Precondition; HTTP and RPC has been stopped.
Definition at line 310 of file httprpc.cpp.
| std::map<std::string, std::set<std::string> > g_rpc_whitelist |
|
static |
| bool g_rpc_whitelist_default = false |
|
static |
| std::string strRPCUserColonPass |
|
static |
| const char* WWW_AUTH_HEADER_DATA = "Basic realm=\"jsonrpc\"" |
|
static |
WWW-Authenticate to present with 401 Unauthorized response.
Definition at line 28 of file httprpc.cpp.