From 838e8c91667657f6b4e2353ac3dc908598fc6097 Mon Sep 17 00:00:00 2001 From: gavinandresen Date: Wed, 10 Nov 2010 16:43:31 +0000 Subject: [PATCH] Add paytxfee to getinfo output git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@178 1a98c847-1fd6-4fd8-948a-caf3550aa51b --- rpc.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/rpc.cpp b/rpc.cpp index 1df2238c9..0c71993c2 100644 --- a/rpc.cpp +++ b/rpc.cpp @@ -263,6 +263,7 @@ Value getinfo(const Array& params, bool fHelp) obj.push_back(Pair("hashespersec", gethashespersec(params, false))); obj.push_back(Pair("testnet", fTestNet)); obj.push_back(Pair("keypoololdest", (boost::int64_t)CWalletDB().GetOldestKeyPoolTime())); + obj.push_back(Pair("paytxfee", (double)nTransactionFee / (double)COIN)); obj.push_back(Pair("errors", GetWarnings("statusbar"))); return obj; }