Iroha - A simple, decentralized ledger http://iroha.tech
iroha::model::AddPeer Struct Reference

#include "add_peer.hpp"

Inheritance diagram for iroha::model::AddPeer:
Inheritance graph
Collaboration diagram for iroha::model::AddPeer:
Collaboration graph

Public Member Functions

bool operator== (const Command &command) const override
 AddPeer ()
 AddPeer (const Peer &peer)
- Public Member Functions inherited from iroha::model::Command
virtual ~Command ()=default
virtual bool operator!= (const Command &rhs) const

Public Attributes

Peer peer

Detailed Description

Provide user's intent for adding peer to current network

Constructor & Destructor Documentation

iroha::model::AddPeer::AddPeer ( )
iroha::model::AddPeer::AddPeer ( const Peer peer)

Member Function Documentation

bool iroha::model::AddPeer::operator== ( const Command command) const

Implements iroha::model::Command.

Member Data Documentation

Peer iroha::model::AddPeer::peer

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