Branch: refs/heads/master
  Home:   https://github.com/btcsuite/btcwallet
  Commit: a549b6908acfd07f45fcd4a97959fc4649d5dbf1
      
https://github.com/btcsuite/btcwallet/commit/a549b6908acfd07f45fcd4a97959fc4649d5dbf1
  Author: Josh Rickmar <[email protected]>
  Date:   2016-04-22 (Fri, 22 Apr 2016)

  Changed paths:
    M rpc/legacyrpc/methods.go

  Log Message:
  -----------
  Avoid calling getrawtransaction from signrawtransaction.

Replace all calls to getrawtransaction with gettxout.

As btcd no longer enables the transaction index by default,
getrawtransaction can no longer be depended on.  gettxout is safe to
use since it queries the utxo set.  This also means that it will
continue to work even when pruning is enabled.

This should be further improved in the future to not look up previous
output scripts over btcd rpc when they are already saved by the
wallet.

Fixes #410.


Reply via email to