diff options
author | gavinandresen <gavinandresen@1a98c847-1fd6-4fd8-948a-caf3550aa51b> | 2010-11-10 16:43:31 +0000 |
---|---|---|
committer | gavinandresen <gavinandresen@1a98c847-1fd6-4fd8-948a-caf3550aa51b> | 2010-11-10 16:43:31 +0000 |
commit | 838e8c91667657f6b4e2353ac3dc908598fc6097 (patch) | |
tree | c331d3e04842da776db58bba6e797c446ac7a965 | |
parent | e2a186af10d81a0e27b2e7c34783711d65caeae7 (diff) |
Add paytxfee to getinfo output
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@178 1a98c847-1fd6-4fd8-948a-caf3550aa51b
-rw-r--r-- | rpc.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; } |