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

tracks all of the proposal objects that requrie approval of an individual account. More...

#include <proposal_object.hpp>

Inheritance diagram for graphene::chain::required_approval_index:
graphene::db::secondary_index

Public Member Functions

virtual void object_inserted (const object &obj) override
 
virtual void object_removed (const object &obj) override
 
virtual void about_to_modify (const object &before) override
 
virtual void object_modified (const object &after) override
 
- Public Member Functions inherited from graphene::db::secondary_index
virtual ~secondary_index ()
 

Public Attributes

map< account_id_type, set< proposal_id_type > > _account_to_proposals
 

Detailed Description

tracks all of the proposal objects that requrie approval of an individual account.

This is a secondary index on the proposal_index

Note
the set of required approvals is constant

Definition at line 71 of file proposal_object.hpp.

Member Function Documentation

void graphene::chain::required_approval_index::about_to_modify ( const object before)
overridevirtual

Reimplemented from graphene::db::secondary_index.

Definition at line 127 of file proposal_object.cpp.

void graphene::chain::required_approval_index::object_inserted ( const object obj)
overridevirtual

Reimplemented from graphene::db::secondary_index.

Definition at line 60 of file proposal_object.cpp.

void graphene::chain::required_approval_index::object_modified ( const object after)
overridevirtual

Reimplemented from graphene::db::secondary_index.

Definition at line 134 of file proposal_object.cpp.

void graphene::chain::required_approval_index::object_removed ( const object obj)
overridevirtual

Reimplemented from graphene::db::secondary_index.

Definition at line 86 of file proposal_object.cpp.

Member Data Documentation

map<account_id_type, set<proposal_id_type> > graphene::chain::required_approval_index::_account_to_proposals

Definition at line 79 of file proposal_object.hpp.


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