Bitshares-Core  2.0.181105
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:

Public Attributes

account_id_type account

Static Public Attributes

static const uint8_t space_id = implementation_ids
static const uint8_t type_id = impl_special_authority_object_type

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 43 of file special_authority_object.hpp.

Member Data Documentation

◆ account

account_id_type graphene::chain::special_authority_object::account

Definition at line 49 of file special_authority_object.hpp.

◆ space_id

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

Definition at line 46 of file special_authority_object.hpp.

◆ type_id

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

Definition at line 47 of file special_authority_object.hpp.

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