lbcwallet/txstore
Josh Rickmar 3b436402e0 Search unconfirmed txs when finding prev credits.
If a transaction is added that debits from previous transaction
outputs, and those outputs are still unconfirmed, it is possible that
if the credits were not already known (as is the case with
transactions notified after a sendrawtransaction), only mined unspent
transaction outputs would be searched and the unconfirmed unspent
credits would be missed.  This results in spent outputs still being
marked unspent.

This change fixes the above by also searching through unconfirmed
transactions when the previous credits must be lookup up, rather than
being pass from an AddDebits call.

Fixes issue #91.
2014-06-19 11:49:52 -05:00
..
doc.go Pass txstore.Credit/Debits directly, not pointers. 2014-06-18 00:16:08 -05:00
fixedIO_test.go Rename tx package to txstore. 2014-05-08 14:51:33 -05:00
json.go Pass txstore.Credit/Debits directly, not pointers. 2014-06-18 00:16:08 -05:00
serialization.go Fix various issues found by profiling. 2014-06-18 17:08:02 -05:00
tx.go Search unconfirmed txs when finding prev credits. 2014-06-19 11:49:52 -05:00
tx_test.go Updates for btcutil and btcscript's btcnet conversion. 2014-05-27 17:49:36 -05:00