Skip to content

sgns::GeniusNode::AccountServiceSnapshot

More...

Public Attributes

Name
std::shared_ptr< GeniusAccount > account
std::shared_ptr< TransactionManager > manager
uint64_t generation
uint64_t catchup_generation

Detailed Description

struct sgns::GeniusNode::AccountServiceSnapshot;

One published account generation. The two owners and their generation are copied together while holding lifecycle_mutex_; callers must not reconstruct this tuple from the individual member shared_ptrs.

Public Attributes Documentation

variable account

std::shared_ptr< GeniusAccount > account;

variable manager

std::shared_ptr< TransactionManager > manager;

variable generation

uint64_t generation = 0;

variable catchup_generation

uint64_t catchup_generation = 0;

Catchup-callback owner generation sampled under the same lifecycle lock as the rest of the tuple — always consistent with generation.


Updated on 2026-09-25 at 15:46:10 +0000