Bitshares-Core  2.0.181105
BitShares blockchain implementation and command-line interface software
Classes | Public Member Functions | Public Attributes | List of all members
graphene::chain::witness_create_operation Struct Reference

Create a witness object, as a bid to hold a witness position on the network.Accounts which wish to become witnesses may use this operation to create a witness object which stakeholders may vote on to approve its position as a witness. More...

#include <witness.hpp>

Inheritance diagram for graphene::chain::witness_create_operation:
graphene::chain::base_operation

Classes

struct  fee_parameters_type
 

Public Member Functions

account_id_type fee_payer () const
 
void validate () const
 
- Public Member Functions inherited from graphene::chain::base_operation
template<typename T >
share_type calculate_fee (const T &params) const
 
void get_required_authorities (vector< authority > &) const
 
void get_required_active_authorities (flat_set< account_id_type > &) const
 
void get_required_owner_authorities (flat_set< account_id_type > &) const
 
void validate () const
 

Public Attributes

asset fee
 
account_id_type witness_account
 The account which owns the witness. This account pays the fee for this operation. More...
 
string url
 
public_key_type block_signing_key
 

Additional Inherited Members

- Static Public Member Functions inherited from graphene::chain::base_operation
static uint64_t calculate_data_fee (uint64_t bytes, uint64_t price_per_kbyte)
 

Detailed Description

Create a witness object, as a bid to hold a witness position on the network.

Accounts which wish to become witnesses may use this operation to create a witness object which stakeholders may vote on to approve its position as a witness.

Definition at line 36 of file witness.hpp.

Member Function Documentation

◆ fee_payer()

account_id_type graphene::chain::witness_create_operation::fee_payer ( ) const
inline

Definition at line 46 of file witness.hpp.

◆ validate()

void graphene::chain::witness_create_operation::validate ( ) const

Definition at line 28 of file witness.cpp.

Member Data Documentation

◆ block_signing_key

public_key_type graphene::chain::witness_create_operation::block_signing_key

Definition at line 44 of file witness.hpp.

◆ fee

asset graphene::chain::witness_create_operation::fee

Definition at line 40 of file witness.hpp.

◆ url

string graphene::chain::witness_create_operation::url

Definition at line 43 of file witness.hpp.

◆ witness_account

account_id_type graphene::chain::witness_create_operation::witness_account

The account which owns the witness. This account pays the fee for this operation.

Definition at line 42 of file witness.hpp.


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