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

#include <special_authority_object.hpp>

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

Public Attributes

account_id_type account
- Public Attributes inherited from graphene::db::object
object_id_type id

Static Public Attributes

static constexpr uint8_t space_id = implementation_ids
static constexpr uint8_t type_id = impl_special_authority_object_type

Additional Inherited Members

- Public Member Functions inherited from graphene::db::abstract_object< special_authority_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 ()

Detailed Description

special_authority_object only exists to help with a specific indexing problem. We want to be able to iterate over all accounts that contain a special authority. However, accounts which have a special_authority are very rare. So rather than indexing account_object by the special_authority fields (requiring additional bookkeeping for every account), we instead maintain a special_authority_object pointing to each account which has special_authority (requiring additional bookkeeping only for every account which has special_authority).

This class is an implementation detail.

Definition at line 42 of file special_authority_object.hpp.

Member Data Documentation

account_id_type graphene::chain::special_authority_object::account

Definition at line 48 of file special_authority_object.hpp.

constexpr uint8_t graphene::chain::special_authority_object::space_id = implementation_ids

Definition at line 45 of file special_authority_object.hpp.

constexpr uint8_t graphene::chain::special_authority_object::type_id = impl_special_authority_object_type

Definition at line 46 of file special_authority_object.hpp.

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