aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authors_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b>2010-11-25 16:40:25 +0000
committers_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b>2010-11-25 16:40:25 +0000
commitb7ccd48dd8dd2fb5c37f81e734673e998fd2d78a (patch)
tree92b61fa5bbf69e14f2191d48d8364adc93da698e
parent776d0f34595fd616129d4816a337662ff39de7c6 (diff)
still working on account-based commands getbalance, move and sendfrom, they're only for testing for now
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@190 1a98c847-1fd6-4fd8-948a-caf3550aa51b
-rw-r--r--rpc.cpp2
-rw-r--r--serialize.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/rpc.cpp b/rpc.cpp
index 113de85a9d..422113a449 100644
--- a/rpc.cpp
+++ b/rpc.cpp
@@ -628,6 +628,8 @@ Value getbalance(const Array& params, bool fHelp)
if (params.size() == 0)
return ((double)GetBalance() / (double)COIN);
+ throw runtime_error("under construction"); //// to be released soon
+
string strAccount = params[0].get_str();
int nMinDepth = 1;
if (params.size() > 1)
diff --git a/serialize.h b/serialize.h
index a289769f22..a3cfa9c062 100644
--- a/serialize.h
+++ b/serialize.h
@@ -22,7 +22,7 @@ class CDataStream;
class CAutoFile;
static const unsigned int MAX_SIZE = 0x02000000;
-static const int VERSION = 31601;
+static const int VERSION = 31602;
static const char* pszSubVer = "";