I am studying the source code of eos and I saw that in the cleos it has this function.
call(push_txn_func, packed_transaction(trx, compression));
I think this is used to push the transaction to the chain. So there must be somewhere in the nodeos to handle this transaction from cleos. I spent several days on it searching for that place. At first, I saw this function in net_plugin.
void handle_message( connection_ptr c, const packed_transaction &msg);
But I added logs there and found it's not the place. Then I found
void chain_plugin::accept_transaction(const chain::packed_transaction& trx, next_function<chain::transaction_trace_ptr> next) {
my->incoming_transaction_async_method(std::make_shared<packed_transaction>(trx), false, std::forward<decltype(next)>(next));}
in the chain_plugin. Again, no log output there. So it may not be the place. So my question is where is the place that nodeos handling the transaction from cleos?