Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
sysio::chain::legacy::producer_key Struct Reference

#include <producer_schedule.hpp>

Collaboration diagram for sysio::chain::legacy::producer_key:

Public Attributes

account_name producer_name
 
public_key_type block_signing_key
 

Friends

bool operator== (const producer_key &lhs, const producer_key &rhs)
 
bool operator!= (const producer_key &lhs, const producer_key &rhs)
 

Detailed Description

Used as part of the producer_schedule_type, maps the producer name to their key.

Definition at line 14 of file producer_schedule.hpp.

Friends And Related Symbol Documentation

◆ operator!=

bool operator!= ( const producer_key & lhs,
const producer_key & rhs )
friend

Definition at line 21 of file producer_schedule.hpp.

21 {
22 return tie( lhs.producer_name, lhs.block_signing_key ) != tie( rhs.producer_name, rhs.block_signing_key );
23 }

◆ operator==

bool operator== ( const producer_key & lhs,
const producer_key & rhs )
friend

Definition at line 18 of file producer_schedule.hpp.

18 {
19 return tie( lhs.producer_name, lhs.block_signing_key ) == tie( rhs.producer_name, rhs.block_signing_key );
20 }

Member Data Documentation

◆ block_signing_key

public_key_type sysio::chain::legacy::producer_key::block_signing_key

Definition at line 16 of file producer_schedule.hpp.

◆ producer_name

account_name sysio::chain::legacy::producer_key::producer_name

Definition at line 15 of file producer_schedule.hpp.


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