MCPcopy Create free account
hub / github.com/bitshares/bitshares-core / sync_from

Method sync_from

libraries/net/node.cpp:4883–4890  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 {

Callers 1

application.cppFile · 0.45

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected