aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/server.h
diff options
context:
space:
mode:
authorGabriel Davidian <gabrielius.dav@gmail.com>2018-03-25 18:25:09 +0000
committerGabriel Davidian <gabrielius.dav@gmail.com>2018-03-25 18:25:09 +0000
commit4d74c78c69123a3d97293f40337e2efa5dadbff0 (patch)
tree8a5bb1358c8aff0e88e92d2534cd8eb4dc1ba8be /src/rpc/server.h
parent7466a26cab5d66665991433947964a638f5b957e (diff)
Add username and ip logging for RPC method requests
Diffstat (limited to 'src/rpc/server.h')
-rw-r--r--src/rpc/server.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rpc/server.h b/src/rpc/server.h
index d25268a8ab..7fc300f554 100644
--- a/src/rpc/server.h
+++ b/src/rpc/server.h
@@ -45,6 +45,7 @@ public:
bool fHelp;
std::string URI;
std::string authUser;
+ std::string peerAddr;
JSONRPCRequest() : id(NullUniValue), params(NullUniValue), fHelp(false) {}
void parse(const UniValue& valRequest);