Monero
Loading...
Searching...
No Matches
cryptonote::block_queue::span Struct Reference

#include <block_queue.h>

Collaboration diagram for cryptonote::block_queue::span:

Public Member Functions

 span (uint64_t start_block_height, std::vector< cryptonote::block_complete_entry > blocks, const boost::uuids::uuid &connection_id, const epee::net_utils::network_address &addr, float rate, size_t size)
 span (uint64_t start_block_height, uint64_t nblocks, const boost::uuids::uuid &connection_id, const epee::net_utils::network_address &addr, boost::posix_time::ptime time)
bool operator< (const span &s) const

Public Attributes

uint64_t start_block_height
std::vector< crypto::hashhashes
std::vector< cryptonote::block_complete_entryblocks
boost::uuids::uuid connection_id
uint64_t nblocks
float rate
size_t size
boost::posix_time::ptime time
epee::net_utils::network_address origin {}

Constructor & Destructor Documentation

◆ span() [1/2]

cryptonote::block_queue::span::span ( uint64_t start_block_height,
std::vector< cryptonote::block_complete_entry > blocks,
const boost::uuids::uuid & connection_id,
const epee::net_utils::network_address & addr,
float rate,
size_t size )
inline

◆ span() [2/2]

cryptonote::block_queue::span::span ( uint64_t start_block_height,
uint64_t nblocks,
const boost::uuids::uuid & connection_id,
const epee::net_utils::network_address & addr,
boost::posix_time::ptime time )
inline

Member Function Documentation

◆ operator<()

bool cryptonote::block_queue::span::operator< ( const span & s) const
inline

Member Data Documentation

◆ blocks

std::vector<cryptonote::block_complete_entry> cryptonote::block_queue::span::blocks

◆ connection_id

boost::uuids::uuid cryptonote::block_queue::span::connection_id

◆ hashes

std::vector<crypto::hash> cryptonote::block_queue::span::hashes

◆ nblocks

uint64_t cryptonote::block_queue::span::nblocks

◆ origin

epee::net_utils::network_address cryptonote::block_queue::span::origin {}

◆ rate

float cryptonote::block_queue::span::rate

◆ size

size_t cryptonote::block_queue::span::size

◆ start_block_height

uint64_t cryptonote::block_queue::span::start_block_height

◆ time

boost::posix_time::ptime cryptonote::block_queue::span::time

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