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

#include <witness_object.hpp>

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

Public Member Functions

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

account_id_type witness_account
 
uint64_t last_aslot = 0
 
public_key_type signing_key
 
optional< vesting_balance_id_type > pay_vb
 
vote_id_type vote_id
 
uint64_t total_votes = 0
 
string url
 
int64_t total_missed = 0
 
uint32_t last_confirmed_block_num = 0
 
- Public Attributes inherited from graphene::db::object
object_id_type id
 

Static Public Attributes

static const uint8_t space_id = protocol_ids
 
static const uint8_t type_id = witness_object_type
 
- Static Public Attributes inherited from graphene::db::object
static const uint8_t space_id = 0
 
static const uint8_t type_id = 0
 

Detailed Description

Definition at line 32 of file witness_object.hpp.

Constructor & Destructor Documentation

graphene::chain::witness_object::witness_object ( )
inline

Definition at line 48 of file witness_object.hpp.

Member Data Documentation

uint64_t graphene::chain::witness_object::last_aslot = 0

Definition at line 39 of file witness_object.hpp.

uint32_t graphene::chain::witness_object::last_confirmed_block_num = 0

Definition at line 46 of file witness_object.hpp.

optional< vesting_balance_id_type > graphene::chain::witness_object::pay_vb

Definition at line 41 of file witness_object.hpp.

public_key_type graphene::chain::witness_object::signing_key

Definition at line 40 of file witness_object.hpp.

const uint8_t graphene::chain::witness_object::space_id = protocol_ids
static

Definition at line 35 of file witness_object.hpp.

int64_t graphene::chain::witness_object::total_missed = 0

Definition at line 45 of file witness_object.hpp.

uint64_t graphene::chain::witness_object::total_votes = 0

Definition at line 43 of file witness_object.hpp.

const uint8_t graphene::chain::witness_object::type_id = witness_object_type
static

Definition at line 36 of file witness_object.hpp.

string graphene::chain::witness_object::url

Definition at line 44 of file witness_object.hpp.

vote_id_type graphene::chain::witness_object::vote_id

Definition at line 42 of file witness_object.hpp.

account_id_type graphene::chain::witness_object::witness_account

Definition at line 38 of file witness_object.hpp.


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