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::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 61 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 107 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 64 of file worker_object.hpp.


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