TARAXA
taraxa::storage::migration::PeriodDagBlocks Class Reference

#include <period_dag_blocks.hpp>

Collaboration diagram for taraxa::storage::migration::PeriodDagBlocks:

Public Member Functions

 PeriodDagBlocks (std::shared_ptr< DbStorage > db)
 
std::string id () override
 
uint32_t dbVersion () override
 
void migrate (logger::Logger &log) override
 
- Public Member Functions inherited from taraxa::storage::migration::Base
 Base (std::shared_ptr< DbStorage > db)
 
virtual ~Base ()=default
 
bool isApplied ()
 
void apply (logger::Logger &log)
 

Additional Inherited Members

- Protected Member Functions inherited from taraxa::storage::migration::Base
void setApplied ()
 
- Protected Attributes inherited from taraxa::storage::migration::Base
std::shared_ptr< DbStoragedb_
 
Batch batch_
 

Constructor & Destructor Documentation

◆ PeriodDagBlocks()

taraxa::storage::migration::PeriodDagBlocks::PeriodDagBlocks ( std::shared_ptr< DbStorage db)

Member Function Documentation

◆ dbVersion()

uint32_t taraxa::storage::migration::PeriodDagBlocks::dbVersion ( )
overridevirtual

◆ id()

std::string taraxa::storage::migration::PeriodDagBlocks::id ( )
overridevirtual

◆ migrate()

void taraxa::storage::migration::PeriodDagBlocks::migrate ( logger::Logger log)
overridevirtual

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