sgns::trustedpeer::QuorumPolicyState¶
#include <QuorumPolicy.hpp>
Public Functions¶
| Name | |
|---|---|
| std::optional< QuorumPolicyState > | Canonicalized() const |
| std::optional< std::vector< uint8_t > > | CanonicalBytes() const |
| std::optional< std::string > | Hash() const |
| bool | operator==(const QuorumPolicyState & other) const |
| std::optional< QuorumPolicyState > | DecodeCanonical(const std::vector< uint8_t > & bytes) |
Public Attributes¶
| Name | |
|---|---|
| constexpr uint8_t | ENCODING_VERSION |
| constexpr std::string_view | POLICY_DOMAIN |
| uint8_t | encoding_version |
| uint16_t | network_id |
| uint64_t | version |
| std::string | expected_previous_hash |
| std::string | authorizing_policy_hash |
| std::vector< std::string > | peers |
| uint64_t | membership_threshold |
| uint64_t | burn_threshold |
Public Functions Documentation¶
function Canonicalized¶
function CanonicalBytes¶
function Hash¶
function operator==¶
function DecodeCanonical¶
Public Attributes Documentation¶
variable ENCODING_VERSION¶
variable POLICY_DOMAIN¶
variable encoding_version¶
variable network_id¶
variable version¶
variable expected_previous_hash¶
variable authorizing_policy_hash¶
variable peers¶
variable membership_threshold¶
variable burn_threshold¶
Updated on 2026-09-25 at 15:46:10 +0000