methods implementing node's public interface
| 4190 | |
| 4191 | // methods implementing node's public interface |
| 4192 | void node_impl::set_node_delegate(std::shared_ptr<node_delegate> del, fc::thread* thread_for_delegate_calls) |
| 4193 | { |
| 4194 | VERIFY_CORRECT_THREAD(); |
| 4195 | _delegate.reset(); |
| 4196 | if (del) |
| 4197 | _delegate = std::make_unique<statistics_gathering_node_delegate_wrapper>(del, thread_for_delegate_calls); |
| 4198 | if( _delegate ) |
| 4199 | _chain_id = del->get_chain_id(); |
| 4200 | } |
| 4201 | |
| 4202 | void node_impl::load_configuration( const fc::path& configuration_directory ) |
| 4203 | { |
no test coverage detected