Scorum
Public Member Functions | Public Attributes | List of all members
scorum::protocol::witness_update_operation Struct Reference

Updates account to witness. More...

#include <scorum_operations.hpp>

Inheritance diagram for scorum::protocol::witness_update_operation:
scorum::protocol::base_operation

Public Member Functions

void validate () const
 
void get_required_active_authorities (flat_set< account_name_type > &a) const
 
- Public Member Functions inherited from scorum::protocol::base_operation
void get_required_authorities (std::vector< authority > &) const
 
void get_required_active_authorities (flat_set< account_name_type > &) const
 
void get_required_posting_authorities (flat_set< account_name_type > &) const
 
void get_required_owner_authorities (flat_set< account_name_type > &) const
 
bool is_virtual () const
 
void validate () const
 

Public Attributes

account_name_type owner
 
std::string url
 
public_key_type block_signing_key
 
chain_properties proposed_chain_props
 

Detailed Description

Updates account to witness.

If the owner isn't a witness he will become a witness. If the block_signing_key is null then the witness is removed from contention. The network will pick the top 21 witnesses for producing blocks.

Definition at line 498 of file scorum_operations.hpp.

Member Function Documentation

◆ get_required_active_authorities()

void scorum::protocol::witness_update_operation::get_required_active_authorities ( flat_set< account_name_type > &  a) const
inline

Definition at line 506 of file scorum_operations.hpp.

◆ validate()

void scorum::protocol::witness_update_operation::validate ( ) const

Definition at line 171 of file scorum_operations.cpp.

Member Data Documentation

◆ block_signing_key

public_key_type scorum::protocol::witness_update_operation::block_signing_key

Definition at line 502 of file scorum_operations.hpp.

◆ owner

account_name_type scorum::protocol::witness_update_operation::owner

Definition at line 500 of file scorum_operations.hpp.

◆ proposed_chain_props

chain_properties scorum::protocol::witness_update_operation::proposed_chain_props

Definition at line 503 of file scorum_operations.hpp.

◆ url

std::string scorum::protocol::witness_update_operation::url

Definition at line 501 of file scorum_operations.hpp.


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