@@ -634,7 +634,7 @@ bool application_impl::is_plugin_enabled(const string& name) const
634
634
return !(_active_plugins.find (name) == _active_plugins.end ());
635
635
}
636
636
637
- /* *
637
+ /*
638
638
* If delegate has the item, the network has no need to fetch it.
639
639
*/
640
640
bool application_impl::has_item (const net::item_id& id)
@@ -649,7 +649,7 @@ bool application_impl::has_item(const net::item_id& id)
649
649
FC_CAPTURE_AND_RETHROW ( (id) ) // GCOVR_EXCL_LINE
650
650
}
651
651
652
- /* *
652
+ /*
653
653
* @brief allows the application to validate an item prior to broadcasting to peers.
654
654
*
655
655
* @param sync_mode true if the message was fetched through the sync process, false during normal operation
@@ -759,7 +759,7 @@ bool application_impl::is_included_block(const block_id_type& block_id)
759
759
return block_id == block_id_in_preferred_chain;
760
760
}
761
761
762
- /* *
762
+ /*
763
763
* Assuming all data elements are ordered in some way, this method should
764
764
* return up to limit ids that occur *after* the last ID in synopsis that
765
765
* we recognize.
@@ -816,7 +816,7 @@ std::vector<item_hash_t> application_impl::get_block_ids(const std::vector<item_
816
816
return result;
817
817
} FC_CAPTURE_AND_RETHROW ( (blockchain_synopsis)(remaining_item_count)(limit) ) } // GCOVR_EXCL_LINE
818
818
819
- /* *
819
+ /*
820
820
* Given the hash of the requested data, fetch the body.
821
821
*/
822
822
message application_impl::get_item (const item_id& id)
@@ -840,7 +840,7 @@ chain_id_type application_impl::get_chain_id() const
840
840
return _chain_db->get_chain_id ();
841
841
}
842
842
843
- /* *
843
+ /*
844
844
* Returns a synopsis of the blockchain used for syncing. This consists of a list of
845
845
* block hashes at intervals exponentially increasing towards the genesis block.
846
846
* When syncing to a peer, the peer uses this data to determine if we're on the same
@@ -1018,7 +1018,7 @@ std::vector<item_hash_t> application_impl::get_blockchain_synopsis(const item_ha
1018
1018
return synopsis;
1019
1019
} FC_CAPTURE_AND_RETHROW () } // GCOVR_EXCL_LINE
1020
1020
1021
- /* *
1021
+ /*
1022
1022
* Call this after the call to handle_message succeeds.
1023
1023
*
1024
1024
* @param item_type the type of the item we're synchronizing, will be the same as item passed to the sync_from() call
@@ -1030,7 +1030,7 @@ void application_impl::sync_status(uint32_t item_type, uint32_t item_count)
1030
1030
// any status reports to GUI go here
1031
1031
}
1032
1032
1033
- /* *
1033
+ /*
1034
1034
* Call any time the number of connected peers changes.
1035
1035
*/
1036
1036
void application_impl::connection_count_changed (uint32_t c)
@@ -1043,7 +1043,7 @@ uint32_t application_impl::get_block_number(const item_hash_t& block_id)
1043
1043
return block_header::num_from_id (block_id);
1044
1044
} FC_CAPTURE_AND_RETHROW ( (block_id) ) } // GCOVR_EXCL_LINE
1045
1045
1046
- /* *
1046
+ /*
1047
1047
* Returns the time a block was produced (if block_id = 0, returns genesis time).
1048
1048
* If we don't know about the block, returns time_point_sec::min()
1049
1049
*/
0 commit comments