Branch: refs/heads/master
  Home:   https://github.com/conformal/btcwallet
  Commit: c54af23849395ea31bd1eeb3e5261223cc85a56a
      
https://github.com/conformal/btcwallet/commit/c54af23849395ea31bd1eeb3e5261223cc85a56a
  Author: Josh Rickmar <[email protected]>
  Date:   2013-12-03 (Tue, 03 Dec 2013)

  Changed paths:
    M account.go
    M cmd.go
    M wallet/wallet.go

  Log Message:
  -----------
  Perform signature verifiction when generating addresses.

This change adds an additional check when creating a new wallet or
extending the keypool.  All public and private keypairs are parsed
from their serialized forms, and an ecdsa signature is created and
verified using the keypairs.  If the verifiction fails at any point,
the wallet creation or keypool extension is aborted to prevent any
errors where an address is returned to a user, but any funds send to
that address are unspendable due to a mismatched keypair.


Reply via email to