29 namespace graphene {
namespace chain {
36 uint64_t last_aslot = 0;
40 uint64_t total_votes = 0;
42 int64_t total_missed = 0;
43 uint32_t last_confirmed_block_num = 0;
52 ordered_unique< tag<by_id>,
53 member<object, object_id_type, &object::id>
55 ordered_unique< tag<by_account>,
56 member<witness_object, account_id_type, &witness_object::witness_account>
58 ordered_unique< tag<by_vote_id>,
59 member<witness_object, vote_id_type, &witness_object::vote_id>
account_id_type witness_account
#define MAP_OBJECT_ID_TO_TYPE(OBJECT)
optional< vesting_balance_id_type > pay_vb
FC_REFLECT_TYPENAME(fc::log_message)
#define GRAPHENE_DECLARE_EXTERNAL_SERIALIZATION(type)
An ID for some votable object.
multi_index_container< witness_object, indexed_by< ordered_unique< tag< by_id >, member< object, object_id_type, &object::id > >, ordered_unique< tag< by_account >, member< witness_object, account_id_type, &witness_object::witness_account > >, ordered_unique< tag< by_vote_id >, member< witness_object, vote_id_type, &witness_object::vote_id > > > > witness_multi_index_type
public_key_type signing_key