pub type AddressLocation = OutputLocation;
Expand description
The location of the first transparent::Output
sent to an address.
The address location stays the same, even if the corresponding output has been spent.
The first output location is used to represent the address in the database, because output locations are significantly smaller than addresses.
TODO: make this a different type to OutputLocation? derive IntoDisk and FromDisk?
Aliased Type§
struct AddressLocation {
transaction_location: TransactionLocation,
output_index: OutputIndex,
}
Fields§
§transaction_location: TransactionLocation
The location of the transparent input’s transaction.
output_index: OutputIndex
The index of the transparent output in its transaction.