Clarify distinction between a Credit and UTXO.

This commit is contained in:
Josh Rickmar 2014-05-08 14:36:18 -05:00
parent 94e676b46f
commit c086267521

View file

@ -136,8 +136,9 @@ type Debits struct {
*TxRecord *TxRecord
} }
// Credit is the type representing a transaction output which is spendable // Credit is the type representing a transaction output which was spent or
// by wallet. // is still spendably by wallet. A UTXO is an unspent Credit, but not all
// Credits are UTXOs.
type Credit struct { type Credit struct {
*TxRecord *TxRecord
OutputIndex uint32 OutputIndex uint32