Scorum
|
Updates account to witness. More...
#include <scorum_operations.hpp>
Public Member Functions | |
void | validate () const |
void | get_required_active_authorities (flat_set< account_name_type > &a) const |
![]() | |
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 |
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.
|
inline |
Definition at line 506 of file scorum_operations.hpp.
void scorum::protocol::witness_update_operation::validate | ( | ) | const |
Definition at line 171 of file scorum_operations.cpp.
public_key_type scorum::protocol::witness_update_operation::block_signing_key |
Definition at line 502 of file scorum_operations.hpp.
account_name_type scorum::protocol::witness_update_operation::owner |
Definition at line 500 of file scorum_operations.hpp.
chain_properties scorum::protocol::witness_update_operation::proposed_chain_props |
Definition at line 503 of file scorum_operations.hpp.
std::string scorum::protocol::witness_update_operation::url |
Definition at line 501 of file scorum_operations.hpp.