Skip to content

sgns::securecrdt

Classes

Name
class sgns::securecrdt::ISignedCRDTData
Interface implemented by every CRDT-backed value that requires a quorum of authorized signers to create/update.
class sgns::securecrdt::SecureCrdt
Mandatory wrapper for reading/writing registered SecureCrdt keys.
class sgns::securecrdt::SecureCrdtRegistry
Static registry resolving a CRDT key to its SecureCrdtRegistryEntry.
struct sgns::securecrdt::SecureCrdtRegistryEntry
Policy entry describing how a registered key pattern is verified and instantiated.
struct sgns::securecrdt::SignerSetSnapshot
Snapshot of an authorized signer set and its required signature count, as produced by an injected SignerSetSource.

Types

Name
using std::function< outcome::result< SignerSetSnapshot >(const std::string &base_key)> SignerSetSource
Injectable callback resolving the current authorized signer set for a given base_key. NOT hard-wired to TrustedPeerRegistry (which does not exist until Phase 10) - tests inject a fixed-list lambda.

Types Documentation

using SignerSetSource

using sgns::securecrdt::SignerSetSource = typedef std::function<outcome::result<SignerSetSnapshot>( const std::string &base_key )>;

Injectable callback resolving the current authorized signer set for a given base_key. NOT hard-wired to TrustedPeerRegistry (which does not exist until Phase 10) - tests inject a fixed-list lambda.


Updated on 2026-08-06 at 13:59:18 +0000