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
|
*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
|
||||||
|
|
Loading…
Reference in a new issue