CatapultServer  v0.5.0.1 (Elephant)
catapult::importance::ImportanceCalculator Class Referenceabstract

Base class for all importance calculators. More...

Public Member Functions

virtual ~ImportanceCalculator ()=default
 
virtual void recalculate (model::ImportanceHeight importanceHeight, cache::AccountStateCacheDelta &cache) const =0
 

Detailed Description

Base class for all importance calculators.

Constructor & Destructor Documentation

◆ ~ImportanceCalculator()

virtual catapult::importance::ImportanceCalculator::~ImportanceCalculator ( )
virtualdefault

Member Function Documentation

◆ recalculate()

virtual void catapult::importance::ImportanceCalculator::recalculate ( model::ImportanceHeight  importanceHeight,
cache::AccountStateCacheDelta cache 
) const
pure virtual

Recalculates importances for all accounts in cache at importanceHeight that are eligible for harvesting.


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