iamanopensourcer
iamanopensourcer
I read the source code to understand the EOS. In libraries/chain/fork_database.cpp and the function fork_database::prune( const block_state_ptr& h ), I can't understand some code because I don't think ((*bni)->block_num <...
In controller_impl::push_block() method, send a signal called "pre_accepted_block", I found it was dealed with code below: ``` my->pre_accepted_block_connection = my->chain->pre_accepted_block.connect([this](const signed_block_ptr& blk) { auto itr = my->loaded_checkpoints.find( blk->block_num() ); if(...
Some of the code doesn't seem to be in use. ``` 1. eosio.producer_plugin_impl.on_block() _self->confirmed_block( { bsp->id, d, producer, sig } ); //here just build a signal but never used 2....
I saw the code above,but I can't find code like this : app().get_channel().subscribe() _Originally posted by @iamanopensourcer in https://github.com/EOSIO/eos/issues/6153#issuecomment-433338719_
I saw the code above,but I can't find code like this : app().get_channel().subscribe() _Originally posted by @iamanopensourcer in https://github.com/_render_node/MDU6SXNzdWUzNzQyNTM1NDc=/issues/unread_timeline#issuecomment-433338719_