CatapultServer  v0.5.0.1 (Elephant)
catapult::harvesting::ScheduledHarvesterTaskOptions Struct Reference

Options for the harvesting task. More...

Public Attributes

predicate HarvestingAllowed
 Indicates if harvesting is allowed. More...
 
supplier< std::shared_ptr< const model::BlockElement > > LastBlockElementSupplier
 Supplies information about the last block of the chain. More...
 
chain::TimeSupplier TimeSupplier
 Supplies the current network time. More...
 
consumer< model::BlockRange &&, const disruptor::ProcessingCompleteFunc & > RangeConsumer
 Consumes a range consisting of the harvested block, usually delivers it to the disruptor queue. More...
 

Detailed Description

Options for the harvesting task.

Member Data Documentation

◆ HarvestingAllowed

predicate catapult::harvesting::ScheduledHarvesterTaskOptions::HarvestingAllowed

Indicates if harvesting is allowed.

◆ LastBlockElementSupplier

supplier<std::shared_ptr<const model::BlockElement> > catapult::harvesting::ScheduledHarvesterTaskOptions::LastBlockElementSupplier

Supplies information about the last block of the chain.

◆ RangeConsumer

consumer<model::BlockRange&&, const disruptor::ProcessingCompleteFunc&> catapult::harvesting::ScheduledHarvesterTaskOptions::RangeConsumer

Consumes a range consisting of the harvested block, usually delivers it to the disruptor queue.

◆ TimeSupplier

chain::TimeSupplier catapult::harvesting::ScheduledHarvesterTaskOptions::TimeSupplier

Supplies the current network time.


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