Monero
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
cryptonote::peer Struct Reference

#include <core_rpc_server_commands_defs.h>

Public Member Functions

 peer ()=default
 
 peer (uint64_t id, const std::string &host, uint64_t last_seen, uint32_t pruning_seed, uint16_t rpc_port, uint32_t rpc_credits_per_hash)
 
 peer (uint64_t id, const std::string &host, uint16_t port, uint64_t last_seen, uint32_t pruning_seed, uint16_t rpc_port, uint32_t rpc_credits_per_hash)
 
 peer (uint64_t id, uint32_t ip, uint16_t port, uint64_t last_seen, uint32_t pruning_seed, uint16_t rpc_port, uint32_t rpc_credits_per_hash)
 

Public Attributes

uint64_t id
 
std::string host
 
uint32_t ip
 
uint16_t port
 
uint16_t rpc_port
 
uint32_t rpc_credits_per_hash
 
uint64_t last_seen
 
uint32_t pruning_seed
 

Constructor & Destructor Documentation

◆ peer() [1/4]

cryptonote::peer::peer ( )
default

◆ peer() [2/4]

cryptonote::peer::peer ( uint64_t id,
const std::string & host,
uint64_t last_seen,
uint32_t pruning_seed,
uint16_t rpc_port,
uint32_t rpc_credits_per_hash )
inline

◆ peer() [3/4]

cryptonote::peer::peer ( uint64_t id,
const std::string & host,
uint16_t port,
uint64_t last_seen,
uint32_t pruning_seed,
uint16_t rpc_port,
uint32_t rpc_credits_per_hash )
inline

◆ peer() [4/4]

cryptonote::peer::peer ( uint64_t id,
uint32_t ip,
uint16_t port,
uint64_t last_seen,
uint32_t pruning_seed,
uint16_t rpc_port,
uint32_t rpc_credits_per_hash )
inline

Member Data Documentation

◆ host

std::string cryptonote::peer::host

◆ id

uint64_t cryptonote::peer::id

◆ ip

uint32_t cryptonote::peer::ip

◆ last_seen

uint64_t cryptonote::peer::last_seen

◆ port

uint16_t cryptonote::peer::port

◆ pruning_seed

uint32_t cryptonote::peer::pruning_seed

◆ rpc_credits_per_hash

uint32_t cryptonote::peer::rpc_credits_per_hash

◆ rpc_port

uint16_t cryptonote::peer::rpc_port

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