BitShares-Core  4.0.0
BitShares blockchain implementation and command-line interface software
Public Member Functions | Public Attributes | List of all members
graphene::net::detail::node_configuration Struct Reference

Public Member Functions

 node_configuration ()

Public Attributes

fc::ip::endpoint listen_endpoint
bool accept_incoming_connections
bool wait_if_endpoint_is_busy
fc::ecc::private_key private_key

Detailed Description

Definition at line 234 of file node.cpp.

Constructor & Destructor Documentation

graphene::net::detail::node_configuration::node_configuration ( )

Definition at line 236 of file node.cpp.

Member Data Documentation

bool graphene::net::detail::node_configuration::accept_incoming_connections

Definition at line 239 of file node.cpp.

fc::ip::endpoint graphene::net::detail::node_configuration::listen_endpoint

Definition at line 238 of file node.cpp.

fc::ecc::private_key graphene::net::detail::node_configuration::private_key

Originally, our p2p code just had a 'node-id' that was a random number identifying this node on the network. This is now a private key/public key pair, where the public key is used in place of the old random node-id. The private part is unused, but might be used in the future to support some notion of trusted peers.

Definition at line 247 of file node.cpp.

bool graphene::net::detail::node_configuration::wait_if_endpoint_is_busy

Definition at line 240 of file node.cpp.

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