Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
protocol.hpp File Reference
#include <sysio/chain/block.hpp>
#include <sysio/chain/types.hpp>
#include <chrono>
Include dependency graph for protocol.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  sysio::chain_size_message
 
struct  sysio::handshake_message
 
struct  sysio::go_away_message
 
struct  sysio::time_message
 
struct  sysio::select_ids< T >
 
struct  sysio::notice_message
 
struct  sysio::request_message
 
struct  sysio::sync_request_message
 

Namespaces

namespace  sysio
 

Typedefs

typedef std::chrono::system_clock::duration::rep sysio::tstamp
 
using sysio::ordered_txn_ids = select_ids<transaction_id_type>
 
using sysio::ordered_blk_ids = select_ids<block_id_type>
 
using sysio::net_message
 

Enumerations

enum  sysio::go_away_reason {
  sysio::no_reason , sysio::self , sysio::duplicate , sysio::wrong_chain ,
  sysio::wrong_version , sysio::forked , sysio::unlinkable , sysio::bad_transaction ,
  sysio::validation , sysio::benign_other , sysio::fatal_other , sysio::authentication
}
 
enum  sysio::id_list_modes { sysio::none , sysio::catch_up , sysio::last_irr_catch_up , sysio::normal }
 

Functions

constexpr auto sysio::reason_str (go_away_reason rsn)
 
constexpr auto sysio::modes_str (id_list_modes m)
 

Variables

constexpr size_t sysio::max_p2p_address_length = 253 + 6
 
constexpr size_t sysio::max_handshake_str_length = 384