Browse Source

Hush dat rpc

dev
Duke Leto 4 years ago
parent
commit
d8677c2a21
  1. 6
      src/rpc/client.h
  2. 6
      src/rpc/protocol.h
  3. 4
      src/rpc/register.h
  4. 6
      src/rpc/server.h

6
src/rpc/client.h

@ -18,8 +18,8 @@
* *
******************************************************************************/
#ifndef BITCOIN_RPCCLIENT_H
#define BITCOIN_RPCCLIENT_H
#ifndef HUSH_RPCCLIENT_H
#define HUSH_RPCCLIENT_H
#include <univalue.h>
@ -29,4 +29,4 @@ UniValue RPCConvertValues(const std::string& strMethod, const std::vector<std::s
*/
UniValue ParseNonRFCJSONValue(const std::string& strVal);
#endif // BITCOIN_RPCCLIENT_H
#endif // HUSH_RPCCLIENT_H

6
src/rpc/protocol.h

@ -18,8 +18,8 @@
* *
******************************************************************************/
#ifndef BITCOIN_RPCPROTOCOL_H
#define BITCOIN_RPCPROTOCOL_H
#ifndef HUSH_RPCPROTOCOL_H
#define HUSH_RPCPROTOCOL_H
#include <list>
#include <map>
@ -105,4 +105,4 @@ bool GetAuthCookie(std::string *cookie_out);
/** Delete RPC authentication cookie from disk */
void DeleteAuthCookie();
#endif // BITCOIN_RPCPROTOCOL_H
#endif // HUSH_RPCPROTOCOL_H

4
src/rpc/register.h

@ -17,8 +17,8 @@
* *
******************************************************************************/
#ifndef BITCOIN_RPCREGISTER_H
#define BITCOIN_RPCREGISTER_H
#ifndef HUSH_RPCREGISTER_H
#define HUSH_RPCREGISTER_H
/** These are in one header file to avoid creating tons of single-function
* headers for everything under src/rpc/ */

6
src/rpc/server.h

@ -19,8 +19,8 @@
* *
******************************************************************************/
#ifndef BITCOIN_RPCSERVER_H
#define BITCOIN_RPCSERVER_H
#ifndef HUSH_RPCSERVER_H
#define HUSH_RPCSERVER_H
#include "amount.h"
#include "rpc/protocol.h"
@ -527,4 +527,4 @@ extern UniValue pricesrefillfund(const UniValue& params, bool fHelp, const CPubK
#endif // BITCOIN_RPCSERVER_H
#endif // HUSH_RPCSERVER_H

Loading…
Cancel
Save