@@ -31,16 +31,18 @@ namespace node {
3131// / This is a placeholder for electrum, bitcoind, and stratum v1/v2 channels.
3232class BCN_API channel_tcp
3333 : public node::channel,
34- public network::channel
34+ public network::channel,
35+ protected network::tracker<channel_tcp>
3536{
3637public:
37- typedef std::shared_ptr<node:: channel_tcp> ptr;
38+ typedef std::shared_ptr<channel_tcp> ptr;
3839
39- channel_tcp (const network::logger& log, const network::socket::ptr& socket ,
40- uint64_t identifier, const node::configuration& config ,
41- const options_t & options) NOEXCEPT
40+ inline channel_tcp (const network::logger& log,
41+ const network::socket::ptr& socket, uint64_t identifier ,
42+ const node::configuration& config, const options_t & options) NOEXCEPT
4243 : node::channel(log, socket, identifier, config),
43- network::channel (log, socket, identifier, config.network, options)
44+ network::channel(log, socket, identifier, config.network, options),
45+ network::tracker<channel_tcp>(log)
4446 {
4547 }
4648};
0 commit comments