Skip to content

sgns::UTXOManager::DurableSpendEvidence

Durable spend evidence decoded from one /utxo/ record. More...

#include <UTXOManager.hpp>

Public Attributes

Name
bool consumed
Record state is UTXO_CONSUMED.
bool genuine
Consumed AND non-zero amount (tombstone discriminator).
std::optional< base::Hash256 > spender
Record's spent_by_txid, when present.

Detailed Description

struct sgns::UTXOManager::DurableSpendEvidence;

Durable spend evidence decoded from one /utxo/ record.

The durable view behind the rebuild crosscheck (D-01): the in-memory registry is the write path's own view, so a resurrected READY entry can never carry its spender there — only the persisted record can still name it.

Public Attributes Documentation

variable consumed

bool consumed { false };

Record state is UTXO_CONSUMED.

variable genuine

bool genuine { false };

Consumed AND non-zero amount (tombstone discriminator).

variable spender

std::optional< base::Hash256 > spender;

Record's spent_by_txid, when present.


Updated on 2026-11-12 at 13:37:24 +0000