This type is here to ensure copyWithSpent returns the same type as the one it was called on.
This type is here to ensure copyWithSpent returns the same type as the one it was called on.
Updates the confirmations
field
Updates the spent
field
Whether or not this TXO is spent from our wallet
The TXID of the transaction this output was received in
Converts the UTXO to the canonical txid:vout
format
Converts a non-sensitive DB representation of a UTXO into a signable (and sensitive) real-world UTXO
The database level representation of a UTXO. When storing a UTXO we don't want to store sensitive material such as private keys. We instead store the necessary information we need to derive the private keys, given the root wallet seed.