Branch: refs/heads/master
  Home:   https://github.com/conformal/btcwallet
  Commit: ea54b638f33baa96defea27dc2dd29f7c33c4413
      
https://github.com/conformal/btcwallet/commit/ea54b638f33baa96defea27dc2dd29f7c33c4413
  Author: Josh Rickmar <[email protected]>
  Date:   2014-01-16 (Thu, 16 Jan 2014)

  Changed paths:
    M wallet/wallet.go
    M wallet/wallet_test.go

  Log Message:
  -----------
  Add ChainedPubKey function and tests.

This change adds a function to generate the next public key of the
address chain from the previous public key and chaincode, without
needing the previous address's private key.  This will be used to
allow generating new addresses with an unlocked wallet, where the
private keys are created on the next unlock.

Tests have been added to verify that the chained private and private
keys match each other (using both chaining functions) as well as an
expected value in the test case. ECDSA signature creation and
verifiction is also performed using the generated keypairs to verify
the next keypair is valid.


Reply via email to