a549b6908a
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. |
||
---|---|---|
.. | ||
config.go | ||
errors.go | ||
log.go | ||
methods.go | ||
rpchelp_test.go | ||
rpcserver_test.go | ||
rpcserverhelp.go | ||
server.go |