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

A worker who permanently destroys all of his pay. 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 permanently destroys all of his pay.

This worker sends all pay he receives to the null account.

Definition at line 85 of file worker_object.hpp.

Member Function Documentation

◆ pay_worker()

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

Definition at line 122 of file worker_evaluator.cpp.

Member Data Documentation

◆ total_burned

share_type graphene::chain::burn_worker_type::total_burned

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

Definition at line 88 of file worker_object.hpp.


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