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

Method generate_blocks

tests/common/database_fixture.cpp:718–722  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

716}
717
718void database_fixture_base::generate_blocks( uint32_t block_count )
719{
720 for( uint32_t i = 0; i < block_count; ++i )
721 generate_block();
722}
723
724uint32_t database_fixture_base::generate_blocks(fc::time_point_sec timestamp, bool miss_intermediate_blocks, uint32_t skip)
725{

Callers 1

Calls 3

generate_blockFunction · 0.85
get_slot_at_timeMethod · 0.80
head_block_timeMethod · 0.80

Tested by 1