Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
sysio::handshake_message Struct Reference

#include <protocol.hpp>

Collaboration diagram for sysio::handshake_message:

Public Attributes

uint16_t network_version = 0
 incremental value above a computed base
 
chain_id_type chain_id
 used to identify chain
 
fc::sha256 node_id
 used to identify peers and prevent self-connect
 
chain::public_key_type key
 authentication key; may be a producer or peer key, or empty
 
int64_t time {0}
 time message created in nanoseconds from epoch
 
fc::sha256 token
 digest of time to prove we own the private key of the key above
 
chain::signature_type sig
 signature for the digest
 
string p2p_address
 
uint32_t last_irreversible_block_num = 0
 
block_id_type last_irreversible_block_id
 
uint32_t head_num = 0
 
block_id_type head_id
 
string os
 
string agent
 
int16_t generation = 0
 

Detailed Description

Definition at line 27 of file protocol.hpp.

Member Data Documentation

◆ agent

string sysio::handshake_message::agent

Definition at line 41 of file protocol.hpp.

◆ chain_id

chain_id_type sysio::handshake_message::chain_id

Definition at line 29 of file protocol.hpp.

◆ generation

int16_t sysio::handshake_message::generation = 0

Definition at line 42 of file protocol.hpp.

◆ head_id

block_id_type sysio::handshake_message::head_id

Definition at line 39 of file protocol.hpp.

◆ head_num

uint32_t sysio::handshake_message::head_num = 0

Definition at line 38 of file protocol.hpp.

◆ key

chain::public_key_type sysio::handshake_message::key

Definition at line 31 of file protocol.hpp.

◆ last_irreversible_block_id

block_id_type sysio::handshake_message::last_irreversible_block_id

Definition at line 37 of file protocol.hpp.

◆ last_irreversible_block_num

uint32_t sysio::handshake_message::last_irreversible_block_num = 0

Definition at line 36 of file protocol.hpp.

◆ network_version

uint16_t sysio::handshake_message::network_version = 0

Definition at line 28 of file protocol.hpp.

◆ node_id

fc::sha256 sysio::handshake_message::node_id

Definition at line 30 of file protocol.hpp.

◆ os

string sysio::handshake_message::os

Definition at line 40 of file protocol.hpp.

◆ p2p_address

string sysio::handshake_message::p2p_address

Definition at line 35 of file protocol.hpp.

◆ sig

chain::signature_type sysio::handshake_message::sig

Definition at line 34 of file protocol.hpp.

◆ time

int64_t sysio::handshake_message::time {0}

Definition at line 32 of file protocol.hpp.

32{0};

◆ token

fc::sha256 sysio::handshake_message::token

Definition at line 33 of file protocol.hpp.


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