Key import and export
authorPieter Wuille <pieter.wuille@gmail.com>
Wed, 13 Jul 2011 09:56:38 +0000 (11:56 +0200)
committerPieter Wuille <sipa@ulyssis.org>
Sat, 17 Dec 2011 20:49:48 +0000 (21:49 +0100)
commit95d888a6d1f659a5cb81124e0d97966b9de1f139
treedb17f76d0517ddbf12fd9144948816e930439eef
parent30ab2c9c46ce38197017ce6a6e13869617e692c7
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
bitcoin-qt.pro
src/bitcoinrpc.cpp
src/makefile.mingw
src/makefile.osx
src/makefile.unix
src/rpcdump.cpp [new file with mode: 0644]
src/wallet.cpp
src/wallet.h