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::MonthlyEventShardRouter Class Referencefinal

#include <events_shard.hpp>

Inheritance diagram for dcn::events::MonthlyEventShardRouter:
dcn::events::IEventShardRouter

Public Member Functions

 MonthlyEventShardRouter (std::filesystem::path archive_root)
 
EventShardId shardForFinalizedBlockTime (int chain_id, std::int64_t unix_seconds) const override
 
std::filesystem::path filenameFor (const EventShardId &shard_id) const override
 
std::string monthToken (const EventShardId &shard_id) const override
 
- Public Member Functions inherited from dcn::events::IEventShardRouter
virtual ~IEventShardRouter ()=default
 

Constructor & Destructor Documentation

◆ MonthlyEventShardRouter()

dcn::events::MonthlyEventShardRouter::MonthlyEventShardRouter ( std::filesystem::path  archive_root)
explicit

Member Function Documentation

◆ filenameFor()

std::filesystem::path dcn::events::MonthlyEventShardRouter::filenameFor ( const EventShardId shard_id) const
overridevirtual

◆ monthToken()

std::string dcn::events::MonthlyEventShardRouter::monthToken ( const EventShardId shard_id) const
overridevirtual

◆ shardForFinalizedBlockTime()

EventShardId dcn::events::MonthlyEventShardRouter::shardForFinalizedBlockTime ( int  chain_id,
std::int64_t  unix_seconds 
) const
overridevirtual

The documentation for this class was generated from the following files: