Golos
Разработчикам Статистика Баунти Документация Партнеры Github
Public Member Functions | Public Attributes | List of all members
golos::chain::proposal_object Class Reference

tracks the approval of a partially approved transaction More...

#include <proposal_object.hpp>

Inheritance diagram for golos::chain::proposal_object:

Public Member Functions

 proposal_object ()
 
template<typename Constructor , typename Allocator >
 proposal_object (Constructor &&c, allocator< Allocator > a)
 
bool is_authorized_to_execute (database &db) const
 

Public Attributes

id_type id
 
protocol::integral_id_type proposal_id
 
account_name_type owner
 
time_point_sec expiration_time
 
optional< time_point_sec > review_period_time
 
protocol::transaction proposed_transaction
 
flat_set< account_name_type > required_active_approvals
 
flat_set< account_name_type > available_active_approvals
 
flat_set< account_name_type > required_owner_approvals
 
flat_set< account_name_type > available_owner_approvals
 
flat_set< account_name_type > required_posting_approvals
 
flat_set< account_name_type > available_posting_approvals
 
flat_set< protocol::public_key_type > available_key_approvals
 

Detailed Description

tracks the approval of a partially approved transaction

Definition at line 14 of file proposal_object.hpp.

Constructor & Destructor Documentation

◆ proposal_object() [1/2]

golos::chain::proposal_object::proposal_object ( )
inline

Definition at line 16 of file proposal_object.hpp.

◆ proposal_object() [2/2]

template<typename Constructor , typename Allocator >
golos::chain::proposal_object::proposal_object ( Constructor &&  c,
allocator< Allocator >  a 
)
inline

Definition at line 21 of file proposal_object.hpp.

Member Function Documentation

◆ is_authorized_to_execute()

bool golos::chain::proposal_object::is_authorized_to_execute ( database db) const

Definition at line 8 of file proposal_object.cpp.

Member Data Documentation

◆ available_active_approvals

flat_set<account_name_type> golos::chain::proposal_object::available_active_approvals

Definition at line 34 of file proposal_object.hpp.

◆ available_key_approvals

flat_set<protocol::public_key_type> golos::chain::proposal_object::available_key_approvals

Definition at line 39 of file proposal_object.hpp.

◆ available_owner_approvals

flat_set<account_name_type> golos::chain::proposal_object::available_owner_approvals

Definition at line 36 of file proposal_object.hpp.

◆ available_posting_approvals

flat_set<account_name_type> golos::chain::proposal_object::available_posting_approvals

Definition at line 38 of file proposal_object.hpp.

◆ expiration_time

time_point_sec golos::chain::proposal_object::expiration_time

Definition at line 30 of file proposal_object.hpp.

◆ id

id_type golos::chain::proposal_object::id

Definition at line 23 of file proposal_object.hpp.

◆ owner

account_name_type golos::chain::proposal_object::owner

Definition at line 28 of file proposal_object.hpp.

◆ proposal_id

protocol::integral_id_type golos::chain::proposal_object::proposal_id

Definition at line 27 of file proposal_object.hpp.

◆ proposed_transaction

protocol::transaction golos::chain::proposal_object::proposed_transaction

Definition at line 32 of file proposal_object.hpp.

◆ required_active_approvals

flat_set<account_name_type> golos::chain::proposal_object::required_active_approvals

Definition at line 33 of file proposal_object.hpp.

◆ required_owner_approvals

flat_set<account_name_type> golos::chain::proposal_object::required_owner_approvals

Definition at line 35 of file proposal_object.hpp.

◆ required_posting_approvals

flat_set<account_name_type> golos::chain::proposal_object::required_posting_approvals

Definition at line 37 of file proposal_object.hpp.

◆ review_period_time

optional<time_point_sec> golos::chain::proposal_object::review_period_time

Definition at line 31 of file proposal_object.hpp.


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