aboutsummaryrefslogtreecommitdiff
path: root/main.h
diff options
context:
space:
mode:
authors_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b>2010-02-23 22:01:39 +0000
committers_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b>2010-02-23 22:01:39 +0000
commit30158c77e99a099cbdd556bacbac18b431c3870c (patch)
tree60f2b388dc78f0e25ce873a8ea4487393711b18e /main.h
parentee618d7540107aef543a0b252509b3005a15409c (diff)
downloadbitcoin-30158c77e99a099cbdd556bacbac18b431c3870c.tar.xz
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
Diffstat (limited to 'main.h')
-rw-r--r--main.h4
1 files changed, 4 insertions, 0 deletions
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<string, string> property map
CWalletKey(int64 nTimeExpiresIn=0)
{
@@ -1398,6 +1401,7 @@ public:
READWRITE(vchPrivKey);
READWRITE(nTimeCreated);
READWRITE(nTimeExpires);
+ READWRITE(strComment);
)
};