Scorum
Classes | Namespaces | Macros | Typedefs | Enumerations
witness_objects.hpp File Reference
#include <scorum/chain/schema/scorum_object_types.hpp>
#include <boost/multi_index/composite_key.hpp>

Go to the source code of this file.

Classes

class  scorum::witness::account_bandwidth_object
 
class  scorum::witness::reserve_ratio_object
 

Namespaces

 scorum
 
 scorum::witness
 

Macros

#define WITNESS_SPACE_ID   12
 

Typedefs

typedef oid< account_bandwidth_object > scorum::witness::account_bandwidth_id_type
 
typedef oid< reserve_ratio_object > scorum::witness::reserve_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 > > > > > scorum::witness::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 > > > > scorum::witness::reserve_ratio_index
 

Enumerations

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

Macro Definition Documentation

◆ WITNESS_SPACE_ID

#define WITNESS_SPACE_ID   12

Definition at line 13 of file witness_objects.hpp.