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
}
// Credit is the type representing a transaction output which is spendable
// by wallet.
// Credit is the type representing a transaction output which was spent or
// is still spendably by wallet. A UTXO is an unspent Credit, but not all
// Credits are UTXOs.
type Credit struct {
*TxRecord
OutputIndex uint32