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

Method apply_debug_updates

libraries/chain/db_debug.cpp:187–195  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

185}
186
187void database::apply_debug_updates()
188{
189 block_id_type head_id = head_block_id();
190 auto it = _node_property_object.debug_updates.find( head_id );
191 if( it == _node_property_object.debug_updates.end() )
192 return;
193 for( const fc::variant_object& update : it->second )
194 debug_apply_update( *this, update );
195}
196
197void database::debug_update( const fc::variant_object& update )
198{

Callers

nothing calls this directly

Calls 3

debug_apply_updateFunction · 0.85
findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected