Changeset View
Changeset View
Standalone View
Standalone View
src/rpc/protocol.h
Show First 20 Lines • Show All 129 Lines • ▼ Show 20 Lines | |||||
/** Get name of RPC authentication cookie file */ | /** Get name of RPC authentication cookie file */ | ||||
fs::path GetAuthCookieFile(); | fs::path GetAuthCookieFile(); | ||||
/** Generate a new RPC authentication cookie and write it to disk */ | /** Generate a new RPC authentication cookie and write it to disk */ | ||||
bool GenerateAuthCookie(std::string *cookie_out); | bool GenerateAuthCookie(std::string *cookie_out); | ||||
/** Read the RPC authentication cookie from disk */ | /** Read the RPC authentication cookie from disk */ | ||||
bool GetAuthCookie(std::string *cookie_out); | bool GetAuthCookie(std::string *cookie_out); | ||||
/** Delete RPC authentication cookie from disk */ | /** Delete RPC authentication cookie from disk */ | ||||
void DeleteAuthCookie(); | void DeleteAuthCookie(); | ||||
/** Parse JSON-RPC batch reply into a vector */ | |||||
std::vector<UniValue> JSONRPCProcessBatchReply(const UniValue &in, size_t num); | |||||
#endif // BITCOIN_RPCPROTOCOL_H | #endif // BITCOIN_RPCPROTOCOL_H |