Post
Topic
Board Кодеры
Re: Формат wallet.dat
by
N.Z.
on 13/11/2011, 21:09:17 UTC
А как можно в кошелек вкрутить новый адрес с ключом, сгенерированный с помощью oclvanitygen, например? В особенности интересует прикручивание после шифрования кошелька в версии 0.4.0
С помощью костылей:
How do I import the private key into bitcoin?

If you wish to spend coins received on a vanity address created by vanitygen, you must import the private key into a bitcoin client.  This process is currently quite difficult.  There are two popular methods of doing this:

  • Sipa's showwallet branch is a patch to the official bitcoin client.  It adds a new command called "importprivkey" that accepts the base-58 encoded private key.  Vanitygen has been tested to work with that version of bitcoin.  Unfortunately, to use this code, you must rebuild the bitcoin client by hand, or get a pre-built binary from a trusted source.
  • Jackjack's pywallet script is an all-in-one tool that directly modifies the wallet.dat file.  This works with a normal, unpatched bitcoin client, but does require Python with the bsddb package.
Также тут
Quote from: Bitcoin.it
As of October 2011, the easiest way to redeem a private key is on MtGox's Add Funds screen. Funds are deposited to the MtGox account after a six-confirmation wait (typically an hour or two).

Итого: патч + самостоятельная сборка, питоновский скрипт или загрузить адрес с бабками на мтгокс. В последнем случае, понятно, адрес импортируется в клиент биржи.