| 4881 | } |
| 4882 | |
| 4883 | void node_impl::sync_from(const item_id& current_head_block, const std::vector<uint32_t>& hard_fork_block_numbers) |
| 4884 | { |
| 4885 | VERIFY_CORRECT_THREAD(); |
| 4886 | _most_recent_blocks_accepted.clear(); |
| 4887 | _sync_item_type = current_head_block.item_type; |
| 4888 | _most_recent_blocks_accepted.push_back(current_head_block.item_hash); |
| 4889 | _hard_fork_block_numbers = hard_fork_block_numbers; |
| 4890 | } |
| 4891 | |
| 4892 | bool node_impl::is_connected() const |
| 4893 | { |