Kagome
Polkadot Runtime Engine in C++17
|
#include "network/protocols/sync_protocol.hpp"
#include <chrono>
#include <memory>
#include <optional>
#include <unordered_map>
#include <unordered_set>
#include <boost/circular_buffer.hpp>
#include <libp2p/connection/stream.hpp>
#include <libp2p/host/host.hpp>
#include "application/chain_spec.hpp"
#include "log/logger.hpp"
#include "network/impl/protocols/protocol_base_impl.hpp"
#include "network/reputation_repository.hpp"
#include "network/sync_protocol_observer.hpp"
#include "utils/non_copyable.hpp"
Go to the source code of this file.
Classes | |
class | kagome::network::detail::BlocksResponseCache |
struct | kagome::network::detail::BlocksResponseCache::CacheRecord |
class | kagome::network::SyncProtocolImpl |
Namespaces | |
kagome::network | |
kagome::network::detail | |
Variables | |
static constexpr auto | kagome::network::kResponsesCacheCapacity = 500 |
static constexpr auto | kagome::network::kResponsesCacheExpirationTimeout |
static constexpr auto | kagome::network::kMaxCacheEntriesPerPeer = 5 |
struct kagome::network::detail::BlocksResponseCache::CacheRecord |
Definition at line 85 of file sync_protocol_impl.hpp.
Class Members | ||
---|---|---|
circular_buffer< Fingerprint > | fingerprints | |
PeerId | peer_id | |
ExpirationTimepoint | valid_till |