From 30158c77e99a099cbdd556bacbac18b431c3870c Mon Sep 17 00:00:00 2001 From: s_nakamoto Date: Tue, 23 Feb 2010 22:01:39 +0000 Subject: run as daemon without GUI, hooked wxApp::Initialize to ignore gtk-init-check failure if no GUI, fork to daemonize, rpc getinfo, getconnectioncount, getbalance, getgenerate, setgenerate, -- version 0.2.6 --- main.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'main.h') diff --git a/main.h b/main.h index 4027f87eb4..452ce85b63 100644 --- a/main.h +++ b/main.h @@ -1384,6 +1384,9 @@ public: CPrivKey vchPrivKey; int64 nTimeCreated; int64 nTimeExpires; + string strComment; + //// todo: add something to note what created it (user, getnewaddress, change) + //// maybe should have a map property map CWalletKey(int64 nTimeExpiresIn=0) { @@ -1398,6 +1401,7 @@ public: READWRITE(vchPrivKey); READWRITE(nTimeCreated); READWRITE(nTimeExpires); + READWRITE(strComment); ) }; -- cgit v1.2.3