block_queue

    struct span
    {
      uint64_t start_block_height;
      std::vector<crypto::hash> hashes;
      std::vector<cryptonote::block_complete_entry> blocks;
      boost::uuids::uuid connection_id;
      uint64_t nblocks;
      float rate;
      size_t size;
      boost::posix_time::ptime time;
    };
    typedef std::set<span> block_map;
 block_map blocks;

add_blocks

flush_spans

flush_stale_spans

remove_span

remove_spans

get_max_block_height

print

get_overview

reserve_span

is_blockchain_placeholder

get_start_gap_span

get_next_span_if_scheduled

set_span_hashes

get_next_span

has_next_span

get_data_size

get_num_filled_spans_prefix

get_num_filled_spans

get_last_known_hash

has_spans

get_speed

foreach

requested

Last updated

Was this helpful?