BitShares-Core  7.0.2
BitShares blockchain node software and command-line wallet software
Classes | Public Member Functions | Public Attributes | List of all members
graphene::protocol::witness_update_operation Struct Reference

Update a witness object's URL and block signing key. More...

#include <witness.hpp>

Inheritance diagram for graphene::protocol::witness_update_operation:
graphene::protocol::base_operation

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 &params) 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
 
witness_id_type witness
 The witness object to update. More...
 
account_id_type witness_account
 The account which owns the witness. This account pays the fee for this operation. More...
 
optional< string > new_url
 The new URL. More...
 
optional< public_key_typenew_signing_key
 The new block signing key. More...
 

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)
 

Detailed Description

Update a witness object's URL and block signing key.

Definition at line 55 of file witness.hpp.

Member Function Documentation

◆ fee_payer()

account_id_type graphene::protocol::witness_update_operation::fee_payer ( ) const
inline

Definition at line 72 of file witness.hpp.

◆ validate()

void graphene::protocol::witness_update_operation::validate ( ) const
virtual

Reimplemented from graphene::protocol::base_operation.

Definition at line 36 of file witness.cpp.

Member Data Documentation

◆ fee

asset graphene::protocol::witness_update_operation::fee

Definition at line 62 of file witness.hpp.

◆ new_signing_key

optional< public_key_type > graphene::protocol::witness_update_operation::new_signing_key

The new block signing key.

Definition at line 70 of file witness.hpp.

◆ new_url

optional< string > graphene::protocol::witness_update_operation::new_url

The new URL.

Definition at line 68 of file witness.hpp.

◆ witness

witness_id_type graphene::protocol::witness_update_operation::witness

The witness object to update.

Definition at line 64 of file witness.hpp.

◆ witness_account

account_id_type graphene::protocol::witness_update_operation::witness_account

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

Definition at line 66 of file witness.hpp.


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