Kagome
Polkadot Runtime Engine in C++17
tuner.hpp File Reference
#include <memory>
#include <boost/asio/ip/tcp.hpp>
#include "api/transport/rpc_io_context.hpp"
#include "log/logger.hpp"
Include dependency graph for tuner.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 kagome::api
 

Typedefs

using kagome::api::Acceptor = boost::asio::ip::tcp::acceptor
 
using kagome::api::Endpoint = boost::asio::ip::tcp::endpoint
 

Functions

std::unique_ptr< Acceptor > kagome::api::acceptOnFreePort (std::shared_ptr< boost::asio::io_context > context, Endpoint endpoint, uint16_t port_tolerance, const log::Logger &logger)
 

Variables

constexpr uint16_t kagome::api::kDefaultPortTolerance = 10