Branch: refs/heads/master
Home: https://github.com/conformal/btcwallet
Commit: bd89f076cddc8d9af01e0bae1702275f6be49470
https://github.com/conformal/btcwallet/commit/bd89f076cddc8d9af01e0bae1702275f6be49470
Author: Josh Rickmar <[email protected]>
Date: 2014-01-23 (Thu, 23 Jan 2014)
Changed paths:
M account.go
M cmdmgr.go
M disksync.go
Log Message:
-----------
Implement exporting a watching-only wallet.
This change allows for the use of watching-only wallets. Unlike
normal, "hot" wallets, watching-only wallets do not contain any
private keys, and can be used in situations where you want to keep one
wallet online to create new receiving addresses and watch for received
transactions, while keeping the hot wallet offline (possibly on an
air-gapped computer).
Two (websocket) extension RPC calls have been added:
First, exportwatchingwallet, which will export the current hot wallet
to a watching-only wallet, saving either to disk or returning the
base64-encoded wallet files to the caller.
Second, recoveraddresses, which is used to recover the next n
addresses from the address chain. This is used to "sync" a watching
wallet with the hot wallet, or vice versa.