|
BitShares-Core
7.0.2
BitShares blockchain node software and command-line wallet software
|
#include <special_authority_object.hpp>
Public Attributes | |
| account_id_type | account |
Public Attributes inherited from graphene::db::object | |
| object_id_type | id |
Additional Inherited Members | |
Public Member Functions inherited from graphene::db::abstract_object< special_authority_object, implementation_ids, impl_special_authority_object_type > | |
| abstract_object () | |
| object_id< SpaceID, TypeID > | get_id () const |
Public Member Functions inherited from graphene::db::base_abstract_object< special_authority_object > | |
| std::unique_ptr< object > | clone () const override |
| void | move_from (object &obj) override |
| fc::variant | to_variant () const override |
| std::vector< char > | pack () const override |
| object ()=default | |
| object (uint8_t space_id, uint8_t type_id) | |
Public Member Functions inherited from graphene::db::object | |
| object ()=default | |
| object (uint8_t space_id, uint8_t type_id) | |
| virtual | ~object ()=default |
| virtual std::unique_ptr< object > | clone () const =0 |
| virtual fc::variant | to_variant () const =0 |
| virtual std::vector< char > | pack () const =0 |
Static Public Attributes inherited from graphene::db::abstract_object< special_authority_object, implementation_ids, impl_special_authority_object_type > | |
| static constexpr uint8_t | space_id |
| static constexpr uint8_t | type_id |
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.
| account_id_type graphene::chain::special_authority_object::account |
Definition at line 46 of file special_authority_object.hpp.
1.8.17