From b7ccd48dd8dd2fb5c37f81e734673e998fd2d78a Mon Sep 17 00:00:00 2001 From: s_nakamoto Date: Thu, 25 Nov 2010 16:40:25 +0000 Subject: [PATCH] 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 --- rpc.cpp | 2 ++ serialize.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/rpc.cpp b/rpc.cpp index 113de85a9..422113a44 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 a289769f2..a3cfa9c06 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 = "";