BitShares-Core  7.0.2
BitShares blockchain node software and command-line wallet 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 87 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 123 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 90 of file worker_object.hpp.


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