mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-05-23 15:26:42 +00:00

* [NOD-1461] Change the external api interface to not having anything besides DomainTransactions and DomainBlocks. * [NOD-1462] Move external api types to a separate package. * [NOD-1462] Clarify which model we're using in miningmanager. * [NOD-1462] Extract coinbase data to its own struct. * [NOD-1462] Add a comment above CoinbaseData. * [NOD-1462] Fix the comment above CoinbaseData.
13 lines
469 B
Go
13 lines
469 B
Go
package externalapi
|
|
|
|
// UTXOEntry houses details about an individual transaction output in a utxo
|
|
// set such as whether or not it was contained in a coinbase tx, the blue
|
|
// score of the block that accepts the tx, its public key script, and how
|
|
// much it pays.
|
|
type UTXOEntry struct {
|
|
Amount uint64
|
|
ScriptPublicKey []byte // The public key script for the output.
|
|
BlockBlueScore uint64 // Blue score of the block accepting the tx.
|
|
IsCoinbase bool
|
|
}
|