MCPcopy Create free account
hub / github.com/cryptonomex/graphene / get_advanced_node_parameters

Method get_advanced_node_parameters

libraries/net/node.cpp:4926–4937  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4924 }
4925
4926 fc::variant_object node_impl::get_advanced_node_parameters()
4927 {
4928 VERIFY_CORRECT_THREAD();
4929 fc::mutable_variant_object result;
4930 result["peer_connection_retry_timeout"] = _peer_connection_retry_timeout;
4931 result["desired_number_of_connections"] = _desired_number_of_connections;
4932 result["maximum_number_of_connections"] = _maximum_number_of_connections;
4933 result["maximum_number_of_blocks_to_handle_at_one_time"] = _maximum_number_of_blocks_to_handle_at_one_time;
4934 result["maximum_number_of_sync_blocks_to_prefetch"] = _maximum_number_of_sync_blocks_to_prefetch;
4935 result["maximum_blocks_per_peer_during_syncing"] = _maximum_blocks_per_peer_during_syncing;
4936 return result;
4937 }
4938
4939 message_propagation_data node_impl::get_transaction_propagation_data( const graphene::net::transaction_id_type& transaction_id )
4940 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected