Clarify distinction between a Credit and UTXO.
This commit is contained in:
parent
94e676b46f
commit
c086267521
1 changed files with 3 additions and 2 deletions
5
tx/tx.go
5
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
|
||||
|
|
Loading…
Reference in a new issue