sgns::crdt::CrdtOptions¶
Options holds configurable values for CrdtDatastore.
#include <crdt_options.hpp>
Public Types¶
| Name | |
|---|---|
| enum class | VerifyErrorCode |
| using base::Buffer | Buffer |
| using base::Logger | Logger |
Public Functions¶
| Name | |
|---|---|
| std::shared_ptr< CrdtOptions > | DefaultOptions() |
| outcome::result< VerifyErrorCode > | Verify() const |
| bool | operator==(const CrdtOptions & rhs) const |
| bool | operator!=(const CrdtOptions & rhs) const |
Public Attributes¶
| Name | |
|---|---|
| Logger | logger |
| long long | rebroadcastIntervalMilliseconds |
| long long | dagSyncerTimeoutSec |
| int | numWorkers |
Public Types Documentation¶
enum VerifyErrorCode¶
| Enumerator | Value | Description |
|---|---|---|
| Success | 0 | |
| InvalidRebroadcastInterval | ||
| LoggerUndefinied | ||
| BadNumberOfNumWorkers | ||
| InvalidDAGSyncerTimeout |
using Buffer¶
using Logger¶
Public Functions Documentation¶
function DefaultOptions¶
function Verify¶
Verifies CrdtOptions
function operator==¶
function operator!=¶
Public Attributes Documentation¶
variable logger¶
variable rebroadcastIntervalMilliseconds¶
RebroadcastInterval specifies interval to rebroadcast data
variable dagSyncerTimeoutSec¶
DAGSyncerTimeout specifies how long to wait for a DAGSyncer. Set to 0 to disable.
variable numWorkers¶
NumWorkers specifies the number of workers ready to walk DAGs
Updated on 2026-03-04 at 13:10:43 -0800