lbcwallet/rpc/legacyrpc
Josh Rickmar a549b6908a 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.
2016-04-22 12:00:48 -04:00
..
config.go Use LICENSE file and short license headers. 2016-02-28 22:22:34 -05:00
errors.go Fix spelling in legacy test and docs using aspell 2016-03-09 20:39:03 +01:00
log.go Use LICENSE file and short license headers. 2016-02-28 22:22:34 -05:00
methods.go Avoid calling getrawtransaction from signrawtransaction. 2016-04-22 12:00:48 -04:00
rpchelp_test.go Resurrect rpchelp_test.go 2016-04-13 10:44:43 -04:00
rpcserver_test.go Fix race in TestThrottle test. 2016-03-16 11:55:27 -04:00
rpcserverhelp.go Modernize the RPC server. 2016-01-29 11:18:26 -05:00
server.go Remove legacy JSON-RPC notifications. 2016-03-11 14:14:33 -05:00