Electroneum
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, float rate, size_t size)
 span (uint64_t start_block_height, uint64_t nblocks, const boost::uuids::uuid &connection_id, 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

Detailed Description

Definition at line 51 of file block_queue.h.

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,
float rate,
size_t size )
inline

Definition at line 62 of file block_queue.h.

Here is the caller graph for this function:

◆ span() [2/2]

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

Member Function Documentation

◆ operator<()

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

Definition at line 67 of file block_queue.h.

67{ return start_block_height < s.start_block_height; }
Here is the call graph for this function:

Member Data Documentation

◆ blocks

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

Definition at line 55 of file block_queue.h.

◆ connection_id

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

Definition at line 56 of file block_queue.h.

◆ hashes

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

Definition at line 54 of file block_queue.h.

◆ nblocks

uint64_t cryptonote::block_queue::span::nblocks

Definition at line 57 of file block_queue.h.

◆ rate

float cryptonote::block_queue::span::rate

Definition at line 58 of file block_queue.h.

◆ size

size_t cryptonote::block_queue::span::size

Definition at line 59 of file block_queue.h.

◆ start_block_height

uint64_t cryptonote::block_queue::span::start_block_height

Definition at line 53 of file block_queue.h.

◆ time

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

Definition at line 60 of file block_queue.h.


The documentation for this struct was generated from the following file:
  • /home/abuild/rpmbuild/BUILD/electroneum-5.1.3.1-build/electroneum-5.1.3.1/src/cryptonote_protocol/block_queue.h