lnd/lnwallet
Olaoluwa Osuntokun 473f298524
lnwallet/btcwallet: fix bug in GetUtxo for BlockChainIO implementation
This commit fixes an unnoticed bug within btcwallet’s implementation of
the BlockChainIO interface, specifically the GetUtxo method. In order
to maintain compatibility with Bitcoin Core’s gettxout method, btcd
doesn’t return an error if the targeted output is actually spent.

We weren’t properly detecting this, but we do now by creating a new
error which is returned in the case of a nil error but a nil return
value.
2016-12-27 16:44:27 -08:00
..
btcwallet lnwallet/btcwallet: fix bug in GetUtxo for BlockChainIO implementation 2016-12-27 16:44:27 -08:00
channel_test.go channeldb: Open is no longer dependant on a specific set of chain params 2016-12-27 16:43:19 -08:00
channel.go lnwallet: public expose funding keys in channel state machine 2016-12-27 16:43:34 -08:00
config.go config: add --pendingchannel lnd flag 2016-10-22 02:11:18 +03:00
interface_test.go lnwallet: thread through tx conf details in ChannelReservation.DispatchChan() 2016-12-27 16:44:03 -08:00
interface.go lnwallet+lnrpc: convert GetCurrentHeight to GetBestBlock in BlockChainIO 2016-12-27 16:43:26 -08:00
log.go lnwallet: correct comment for logging object 2016-12-27 16:43:07 -08:00
parameters.go fundingmanager+lnwallet: add HTLC dust limit logic 2016-12-13 11:01:57 -08:00
reservation.go lnwallet: thread through tx conf details in ChannelReservation.DispatchChan() 2016-12-27 16:44:03 -08:00
script_utils_test.go lnwallet: convert CommitSpendRevoke+CommitSpendNoDelay to use Signer 2016-11-18 15:23:50 -08:00
script_utils.go general: fix typos, rename variables, add comments 2016-11-23 20:02:29 -06:00
size.go breacharbiter: introduce new sub-system to watch for breaches 2016-11-28 19:44:09 -08:00
wallet.go lnwallet: thread through tx conf details in ChannelReservation.DispatchChan() 2016-12-27 16:44:03 -08:00