Scorum
Namespaces | Classes | Typedefs | Enumerations
scorum::witness Namespace Reference

Namespaces

 block_production_condition
 
 detail
 

Classes

class  account_bandwidth_object
 
class  reserve_ratio_object
 
class  witness_plugin
 

Typedefs

typedef oid< account_bandwidth_objectaccount_bandwidth_id_type
 
typedef oid< reserve_ratio_objectreserve_ratio_id_type
 
typedef shared_multi_index_container< account_bandwidth_object, indexed_by< ordered_unique< tag< by_id >, member< account_bandwidth_object, account_bandwidth_id_type, &account_bandwidth_object::id > >, ordered_unique< tag< by_account_bandwidth_type >, composite_key< account_bandwidth_object, member< account_bandwidth_object, account_name_type, &account_bandwidth_object::account >, member< account_bandwidth_object, bandwidth_type, &account_bandwidth_object::type > > > > > account_bandwidth_index
 
typedef shared_multi_index_container< reserve_ratio_object, indexed_by< ordered_unique< tag< by_id >, member< reserve_ratio_object, reserve_ratio_id_type, &reserve_ratio_object::id > > > > reserve_ratio_index
 

Enumerations

enum  witness_plugin_object_type { account_bandwidth_object_type = (WITNESS_SPACE_ID << 8) , reserve_ratio_object_type }
 
enum  bandwidth_type { post , forum , market }
 

Typedef Documentation

◆ account_bandwidth_id_type

Definition at line 43 of file witness_objects.hpp.

◆ account_bandwidth_index

Definition at line 99 of file witness_objects.hpp.

◆ reserve_ratio_id_type

Definition at line 82 of file witness_objects.hpp.

◆ reserve_ratio_index

typedef shared_multi_index_container<reserve_ratio_object, indexed_by<ordered_unique<tag<by_id>, member<reserve_ratio_object, reserve_ratio_id_type, &reserve_ratio_object::id> > > > scorum::witness::reserve_ratio_index

Definition at line 106 of file witness_objects.hpp.

Enumeration Type Documentation

◆ bandwidth_type

Enumerator
post 

Rate limiting posting reward eligibility over time.

forum 

Rate limiting for all forum related actins.

market 

Rate limiting for all other actions.

Definition at line 22 of file witness_objects.hpp.

◆ witness_plugin_object_type

Enumerator
account_bandwidth_object_type 
reserve_ratio_object_type 

Definition at line 16 of file witness_objects.hpp.