Decentralised Art Server
High-performance C++ backend that exposes HTML interface and a secure REST API for managing Performative Transactions entities
 
Loading...
Searching...
No Matches
dcn::events Namespace Reference

Classes

struct  ChainBlockInfo
 
struct  CursorKey
 
struct  DecodedEvent
 
struct  EventKey
 
struct  EventKeyHash
 
class  EventRuntime
 
struct  EventRuntimeConfig
 
struct  EventShardId
 
struct  FeedArchiveRow
 
struct  FeedHotKey
 
struct  FeedItem
 
struct  FeedPage
 
struct  FeedQuery
 
struct  FinalityHeights
 
struct  FinalityState
 
class  IArchiveManager
 
class  IChainEventSource
 
class  IEventDecoder
 
class  IEventShardRouter
 
class  IEventSink
 
class  IFeedRepository
 
class  IHotEventStore
 
struct  IngestResumeState
 
struct  MonthBounds
 
class  MonthlyEventShardRouter
 
struct  NormalizedArchiveRow
 
struct  NormalizedHotKey
 
class  PTEventDecoder
 
struct  RawChainLog
 
class  RpcClient
 
class  SQLiteHotStore
 
struct  StreamDelta
 
struct  StreamPage
 
struct  StreamQuery
 

Enumerations

enum class  EventState : std::uint8_t { OBSERVED = 0 , SAFE = 1 , FINALIZED = 2 , REMOVED = 3 }
 
enum class  EventType : std::uint8_t { CONNECTOR_ADDED = 0 , TRANSFORMATION_ADDED = 1 , CONDITION_ADDED = 2 }
 

Functions

std::string toString (EventState state)
 
std::string toString (EventType type)
 
std::int64_t reorgLookbackStart (std::int64_t next_from_block, std::size_t reorg_window_blocks)
 

Variables

constexpr std::string_view CONNECTOR_ADDED_TYPE = "connector_added"
 
constexpr std::string_view TRANSFORMATION_ADDED_TYPE = "transformation_added"
 
constexpr std::string_view CONDITION_ADDED_TYPE = "condition_added"
 
constexpr std::string_view OBSERVED_STATE = "observed"
 
constexpr std::string_view SAFE_STATE = "safe"
 
constexpr std::string_view FINALIZED_STATE = "finalized"
 
constexpr std::string_view REMOVED_STATE = "removed"
 
constexpr std::size_t DEFAULT_FEED_LIMIT = 100
 
constexpr std::size_t MAX_FEED_LIMIT = 256
 
constexpr std::size_t DEFAULT_STREAM_LIMIT = 500
 
constexpr std::size_t MAX_STREAM_LIMIT = 2048
 
constexpr std::size_t DEFAULT_PROJECT_BATCH_SIZE = 256
 
constexpr int CURRENT_PROJECTOR_VERSION = 1
 

Enumeration Type Documentation

◆ EventState

enum class dcn::events::EventState : std::uint8_t
strong
Enumerator
OBSERVED 
SAFE 
FINALIZED 
REMOVED 

◆ EventType

enum class dcn::events::EventType : std::uint8_t
strong
Enumerator
CONNECTOR_ADDED 
TRANSFORMATION_ADDED 
CONDITION_ADDED 

Function Documentation

◆ reorgLookbackStart()

std::int64_t dcn::events::reorgLookbackStart ( std::int64_t  next_from_block,
std::size_t  reorg_window_blocks 
)

◆ toString() [1/2]

std::string dcn::events::toString ( EventState  state)

◆ toString() [2/2]

std::string dcn::events::toString ( EventType  type)

Variable Documentation

◆ CONDITION_ADDED_TYPE

constexpr std::string_view dcn::events::CONDITION_ADDED_TYPE = "condition_added"
constexpr

◆ CONNECTOR_ADDED_TYPE

constexpr std::string_view dcn::events::CONNECTOR_ADDED_TYPE = "connector_added"
constexpr

◆ CURRENT_PROJECTOR_VERSION

constexpr int dcn::events::CURRENT_PROJECTOR_VERSION = 1
constexpr

◆ DEFAULT_FEED_LIMIT

constexpr std::size_t dcn::events::DEFAULT_FEED_LIMIT = 100
constexpr

◆ DEFAULT_PROJECT_BATCH_SIZE

constexpr std::size_t dcn::events::DEFAULT_PROJECT_BATCH_SIZE = 256
constexpr

◆ DEFAULT_STREAM_LIMIT

constexpr std::size_t dcn::events::DEFAULT_STREAM_LIMIT = 500
constexpr

◆ FINALIZED_STATE

constexpr std::string_view dcn::events::FINALIZED_STATE = "finalized"
constexpr

◆ MAX_FEED_LIMIT

constexpr std::size_t dcn::events::MAX_FEED_LIMIT = 256
constexpr

◆ MAX_STREAM_LIMIT

constexpr std::size_t dcn::events::MAX_STREAM_LIMIT = 2048
constexpr

◆ OBSERVED_STATE

constexpr std::string_view dcn::events::OBSERVED_STATE = "observed"
constexpr

◆ REMOVED_STATE

constexpr std::string_view dcn::events::REMOVED_STATE = "removed"
constexpr

◆ SAFE_STATE

constexpr std::string_view dcn::events::SAFE_STATE = "safe"
constexpr

◆ TRANSFORMATION_ADDED_TYPE

constexpr std::string_view dcn::events::TRANSFORMATION_ADDED_TYPE = "transformation_added"
constexpr