BitShares-Core  5.0.0
BitShares blockchain implementation and command-line interface software
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
graphene::chain::proposal_object Class Reference

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

#include <proposal_object.hpp>

Inheritance diagram for graphene::chain::proposal_object:
graphene::db::abstract_object< proposal_object > graphene::db::object

Public Member Functions

bool is_authorized_to_execute (database &db) const
- Public Member Functions inherited from graphene::db::abstract_object< proposal_object >
virtual unique_ptr< objectclone () const
 these methods are implemented for derived classes by inheriting abstract_object<DerivedClass> More...
virtual void move_from (object &obj)
virtual variant to_variant () const
virtual vector< char > pack () const
- Public Member Functions inherited from graphene::db::object
 object ()
virtual ~object ()

Public Attributes

time_point_sec expiration_time
optional< time_point_sec > review_period_time
transaction proposed_transaction
flat_set< account_id_type > required_active_approvals
flat_set< account_id_type > available_active_approvals
flat_set< account_id_type > required_owner_approvals
flat_set< account_id_type > available_owner_approvals
flat_set< public_key_typeavailable_key_approvals
account_id_type proposer
std::string fail_reason
- Public Attributes inherited from graphene::db::object
object_id_type id

Static Public Attributes

static constexpr uint8_t space_id = protocol_ids
static constexpr uint8_t type_id = proposal_object_type

Detailed Description

tracks the approval of a partially approved transaction

Definition at line 40 of file proposal_object.hpp.

Member Function Documentation

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

Definition at line 34 of file proposal_object.cpp.

Member Data Documentation

flat_set<account_id_type> graphene::chain::proposal_object::available_active_approvals

Definition at line 50 of file proposal_object.hpp.

flat_set<public_key_type> graphene::chain::proposal_object::available_key_approvals

Definition at line 53 of file proposal_object.hpp.

flat_set<account_id_type> graphene::chain::proposal_object::available_owner_approvals

Definition at line 52 of file proposal_object.hpp.

time_point_sec graphene::chain::proposal_object::expiration_time

Definition at line 46 of file proposal_object.hpp.

std::string graphene::chain::proposal_object::fail_reason

Definition at line 55 of file proposal_object.hpp.

transaction graphene::chain::proposal_object::proposed_transaction

Definition at line 48 of file proposal_object.hpp.

account_id_type graphene::chain::proposal_object::proposer

Definition at line 54 of file proposal_object.hpp.

flat_set<account_id_type> graphene::chain::proposal_object::required_active_approvals

Definition at line 49 of file proposal_object.hpp.

flat_set<account_id_type> graphene::chain::proposal_object::required_owner_approvals

Definition at line 51 of file proposal_object.hpp.

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

Definition at line 47 of file proposal_object.hpp.

constexpr uint8_t graphene::chain::proposal_object::space_id = protocol_ids

Definition at line 43 of file proposal_object.hpp.

constexpr uint8_t graphene::chain::proposal_object::type_id = proposal_object_type

Definition at line 44 of file proposal_object.hpp.

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