aboutsummaryrefslogtreecommitdiff
path: root/src/wallet.h
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2011-07-13 11:56:38 +0200
committerPieter Wuille <sipa@ulyssis.org>2011-12-17 21:49:48 +0100
commit95d888a6d1f659a5cb81124e0d97966b9de1f139 (patch)
treedb17f76d0517ddbf12fd9144948816e930439eef /src/wallet.h
parent30ab2c9c46ce38197017ce6a6e13869617e692c7 (diff)
Key import and export
Introduces two new RPC calls: * dumpprivkey: retrieve the private key corresponding to an address * importprivkey: add a private key to your wallet The private key format is analoguous to the address format. It is a 51-character base58-encoded string, that includes a version number and a checksum. Includes patch by mhanne: * add optional account parameter for importprivkey, if omitted use default
Diffstat (limited to 'src/wallet.h')
-rw-r--r--src/wallet.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wallet.h b/src/wallet.h
index 95537be63e..78f055a604 100644
--- a/src/wallet.h
+++ b/src/wallet.h
@@ -74,6 +74,7 @@ public:
bool ChangeWalletPassphrase(const SecureString& strOldWalletPassphrase, const SecureString& strNewWalletPassphrase);
bool EncryptWallet(const SecureString& strWalletPassphrase);
+ void MarkDirty();
bool AddToWallet(const CWalletTx& wtxIn);
bool AddToWalletIfInvolvingMe(const CTransaction& tx, const CBlock* pblock, bool fUpdate = false, bool fFindBlock = false);
bool EraseFromWallet(uint256 hash);