Skip to content

sgns::account::TrustStartupController::RefreshTestHooks

More...

#include <TrustStartupController.hpp>

Public Types

Name
using outcome::result< std::vector< sgns::securecrdt::CandidateId > > CandidateList

Public Attributes

Name
std::function< CandidateList(sgns::trustedpeer::TrustedPeerRegistry &)> list_policy_candidates
std::function< CandidateList(BurnConfig &)> list_burn_candidates
std::function< void(uint32_t)> observe_attempt
std::function< void(std::chrono::milliseconds, std::function< void()>)> schedule_retry
std::function< void()> observe_dispatch_idle
std::function< void()> observe_coalesced_request
std::function< void(std::function< void()>)> bind_request_refresh

Detailed Description

struct sgns::account::TrustStartupController::RefreshTestHooks;

Narrow deterministic seam for refresh-dispatch regressions. Production callers leave this empty and use the real registry methods/timers.

Public Types Documentation

using CandidateList

using sgns::account::TrustStartupController::RefreshTestHooks::CandidateList =  outcome::result<std::vector<sgns::securecrdt::CandidateId> >;

Public Attributes Documentation

variable list_policy_candidates

std::function< CandidateList(sgns::trustedpeer::TrustedPeerRegistry &)> list_policy_candidates;

variable list_burn_candidates

std::function< CandidateList(BurnConfig &)> list_burn_candidates;

variable observe_attempt

std::function< void(uint32_t)> observe_attempt;

variable schedule_retry

std::function< void(std::chrono::milliseconds, std::function< void()>)> schedule_retry;

variable observe_dispatch_idle

std::function< void()> observe_dispatch_idle;

variable observe_coalesced_request

std::function< void()> observe_coalesced_request;

variable bind_request_refresh

std::function< void(std::function< void()>)> bind_request_refresh;

Updated on 2026-10-14 at 21:27:05 +0000