Skip to content

sgns::PruneEvaluationResult

Structured result of one evaluation pass (D-03). More...

#include <PruneEligibility.hpp>

Public Functions

Name
size_t EligibleCount() const
Number of eligible candidates in this pass.

Public Attributes

Name
std::vector< PruneCandidateResult > candidates
One entry per enumerated candidate key, eligible and ineligible alike.
std::vector< BlockGateResult > block_reports

Detailed Description

struct sgns::PruneEvaluationResult;

Structured result of one evaluation pass (D-03).

Pure report: the evaluator erased nothing and wrote nothing. Production dry-run mode derives its per-cycle INFO summary from this structure (candidates AND block verdicts); the Phase-18 TxPruner consumes the eligible subset as its work list and consults block_reports before deleting a block.

Public Functions Documentation

function EligibleCount

inline size_t EligibleCount() const

Number of eligible candidates in this pass.

Return: Count of candidates whose eligible flag is set.

Public Attributes Documentation

variable candidates

std::vector< PruneCandidateResult > candidates;

One entry per enumerated candidate key, eligible and ineligible alike.

variable block_reports

std::vector< BlockGateResult > block_reports;

PRUNE-03 block-gate verdicts, one per DISTINCT CID among the eligible candidates (deduplicated — batched commits put several eligible transactions into one block).


Updated on 2026-10-22 at 19:28:22 +0000