aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_protocol
diff options
context:
space:
mode:
authorPierre Boyer <pierre.s.boyer@gmail.com>2016-12-04 14:13:54 +0100
committerPierre Boyer <pierre.s.boyer@gmail.com>2016-12-04 14:13:54 +0100
commitf4772bae812cdab9cca3864d79cdbec7abe5a114 (patch)
tree434455673de9c67c5ed71c4d37a936610012df56 /src/cryptonote_protocol
parentMerge pull request #1372 (diff)
downloadmonero-f4772bae812cdab9cca3864d79cdbec7abe5a114.tar.xz
Fix a few minor typos
Diffstat (limited to 'src/cryptonote_protocol')
-rw-r--r--src/cryptonote_protocol/cryptonote_protocol_handler.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/cryptonote_protocol/cryptonote_protocol_handler.h b/src/cryptonote_protocol/cryptonote_protocol_handler.h
index ab5d8230d..3525cd927 100644
--- a/src/cryptonote_protocol/cryptonote_protocol_handler.h
+++ b/src/cryptonote_protocol/cryptonote_protocol_handler.h
@@ -141,23 +141,23 @@ namespace cryptonote
double get_avg_block_size();
boost::circular_buffer<size_t> m_avg_buffer = boost::circular_buffer<size_t>(10);
- template<class t_parametr>
- bool post_notify(typename t_parametr::request& arg, cryptonote_connection_context& context)
+ template<class t_parameter>
+ bool post_notify(typename t_parameter::request& arg, cryptonote_connection_context& context)
{
- LOG_PRINT_L2("[" << epee::net_utils::print_connection_context_short(context) << "] post " << typeid(t_parametr).name() << " -->");
+ LOG_PRINT_L2("[" << epee::net_utils::print_connection_context_short(context) << "] post " << typeid(t_parameter).name() << " -->");
std::string blob;
epee::serialization::store_t_to_binary(arg, blob);
//handler_response_blocks_now(blob.size()); // XXX
- return m_p2p->invoke_notify_to_peer(t_parametr::ID, blob, context);
+ return m_p2p->invoke_notify_to_peer(t_parameter::ID, blob, context);
}
- template<class t_parametr>
- bool relay_post_notify(typename t_parametr::request& arg, cryptonote_connection_context& exlude_context)
+ template<class t_parameter>
+ bool relay_post_notify(typename t_parameter::request& arg, cryptonote_connection_context& exclude_context)
{
- LOG_PRINT_L2("[" << epee::net_utils::print_connection_context_short(exlude_context) << "] post relay " << typeid(t_parametr).name() << " -->");
+ LOG_PRINT_L2("[" << epee::net_utils::print_connection_context_short(exclude_context) << "] post relay " << typeid(t_parameter).name() << " -->");
std::string arg_buff;
epee::serialization::store_t_to_binary(arg, arg_buff);
- return m_p2p->relay_notify_to_all(t_parametr::ID, arg_buff, exlude_context);
+ return m_p2p->relay_notify_to_all(t_parameter::ID, arg_buff, exclude_context);
}
virtual std::ofstream& get_logreq() const ;