BitShares-Core
7.0.2
BitShares blockchain node software and command-line wallet software
|
Create a witness object, as a bid to hold a witness position on the network. More...
#include <witness.hpp>
Classes | |
struct | fee_params_t |
Public Member Functions | |
account_id_type | fee_payer () const |
void | validate () const |
Public Member Functions inherited from graphene::protocol::base_operation | |
virtual | ~base_operation ()=default |
template<typename T > | |
share_type | calculate_fee (const T ¶ms) const |
virtual void | get_required_authorities (vector< authority > &) const |
virtual void | get_required_active_authorities (flat_set< account_id_type > &) const |
virtual void | get_required_owner_authorities (flat_set< account_id_type > &) const |
fc::optional< fc::future< void > > | validate_parallel (uint32_t skip) 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::protocol::base_operation | |
static uint64_t | calculate_data_fee (uint64_t bytes, uint64_t price_per_kbyte) |
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 37 of file witness.hpp.
|
inline |
Definition at line 47 of file witness.hpp.
|
virtual |
Reimplemented from graphene::protocol::base_operation.
Definition at line 30 of file witness.cpp.
public_key_type graphene::protocol::witness_create_operation::block_signing_key |
Definition at line 45 of file witness.hpp.
asset graphene::protocol::witness_create_operation::fee |
Definition at line 41 of file witness.hpp.
string graphene::protocol::witness_create_operation::url |
Definition at line 44 of file witness.hpp.
account_id_type graphene::protocol::witness_create_operation::witness_account |
The account which owns the witness. This account pays the fee for this operation.
Definition at line 43 of file witness.hpp.