Bitshares-Core  2.0.181105
BitShares blockchain implementation and command-line interface software
Public Member Functions | Public Attributes | List of all members
graphene::chain::refund_worker_type Struct Reference

A worker who returns all of his pay to the reserve. More...

#include <worker_object.hpp>

Public Member Functions

void pay_worker (share_type pay, database &)
 

Public Attributes

share_type total_burned
 Record of how much this worker has burned in his lifetime. More...
 

Detailed Description

A worker who returns all of his pay to the reserve.

This worker type pays everything he receives back to the network's reserve funds pool.

Definition at line 59 of file worker_object.hpp.

Member Function Documentation

◆ pay_worker()

void graphene::chain::refund_worker_type::pay_worker ( share_type  pay,
database db 
)

Definition at line 106 of file worker_evaluator.cpp.

Member Data Documentation

◆ total_burned

share_type graphene::chain::refund_worker_type::total_burned

Record of how much this worker has burned in his lifetime.

Definition at line 62 of file worker_object.hpp.


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