| 3850 | } |
| 3851 | |
| 3852 | void node_impl::new_peer_just_added( const peer_connection_ptr& peer ) |
| 3853 | { |
| 3854 | VERIFY_CORRECT_THREAD(); |
| 3855 | peer->send_message(current_time_request_message(), |
| 3856 | offsetof(current_time_request_message, request_sent_time)); |
| 3857 | start_synchronizing_with_peer( peer ); |
| 3858 | if( _active_connections.size() != _last_reported_number_of_connections ) |
| 3859 | { |
| 3860 | _last_reported_number_of_connections = (uint32_t)_active_connections.size(); |
| 3861 | _delegate->connection_count_changed( _last_reported_number_of_connections ); |
| 3862 | } |
| 3863 | } |
| 3864 | |
| 3865 | void node_impl::close() |
| 3866 | { |
nothing calls this directly
no test coverage detected