From c08626752116c24c3f3126d1a12ebab78212446d Mon Sep 17 00:00:00 2001 From: Josh Rickmar Date: Thu, 8 May 2014 14:36:18 -0500 Subject: [PATCH] Clarify distinction between a Credit and UTXO. --- tx/tx.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tx/tx.go b/tx/tx.go index d3b15ee..f9bdae7 100644 --- a/tx/tx.go +++ b/tx/tx.go @@ -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