Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
Remove unused max-implicit-request config
Browse files Browse the repository at this point in the history
  • Loading branch information
heifner committed Dec 14, 2018
1 parent f712780 commit 2edbf2f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
3 changes: 0 additions & 3 deletions Docker/config.ini
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,6 @@ network-version-match = 0
# number of blocks to retrieve in a chunk from any individual peer during synchronization (eosio::net_plugin)
sync-fetch-span = 100

# maximum sizes of transaction or block messages that are sent without first sending a notice (eosio::net_plugin)
max-implicit-request = 1500

# Enable block production, even if the chain is stale. (eosio::producer_plugin)
enable-stale-production = false

Expand Down
5 changes: 0 additions & 5 deletions plugins/net_plugin/net_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,6 @@ namespace eosio {
constexpr auto def_txn_expire_wait = std::chrono::seconds(3);
constexpr auto def_resp_expected_wait = std::chrono::seconds(5);
constexpr auto def_sync_fetch_span = 100;
constexpr uint32_t def_max_just_send = 1500; // roughly 1 "mtu"

constexpr auto message_header_size = 4;

Expand Down Expand Up @@ -629,8 +628,6 @@ namespace eosio {

class dispatch_manager {
public:
uint32_t just_send_it_max = 0;

std::multimap<block_id_type, connection_ptr, sha256_less> received_blocks;
std::multimap<transaction_id_type, connection_ptr, sha256_less> received_transactions;

Expand Down Expand Up @@ -2738,7 +2735,6 @@ namespace eosio {
( "network-version-match", bpo::value<bool>()->default_value(false),
"True to require exact match of peer network version.")
( "sync-fetch-span", bpo::value<uint32_t>()->default_value(def_sync_fetch_span), "number of blocks to retrieve in a chunk from any individual peer during synchronization")
( "max-implicit-request", bpo::value<uint32_t>()->default_value(def_max_just_send), "(deprecated) this option is ignored")
( "use-socket-read-watermark", bpo::value<bool>()->default_value(false), "Enable expirimental socket read watermark optimization")
( "peer-log-format", bpo::value<string>()->default_value( "[\"${_name}\" ${_ip}:${_port}]" ),
"The string used to format peers when logging messages about them. Variables are escaped with ${<variable name>}.\n"
Expand Down Expand Up @@ -2772,7 +2768,6 @@ namespace eosio {
my->max_cleanup_time_ms = options.at("max-cleanup-time-msec").as<int>();
my->txn_exp_period = def_txn_expire_wait;
my->resp_expected_period = def_resp_expected_wait;
my->dispatcher->just_send_it_max = options.at( "max-implicit-request" ).as<uint32_t>();
my->max_client_count = options.at( "max-clients" ).as<int>();
my->max_nodes_per_host = options.at( "p2p-max-nodes-per-host" ).as<int>();
my->num_clients = 0;
Expand Down

0 comments on commit 2edbf2f

Please sign in to comment.