diff --git a/plugins/net_plugin/net_plugin.cpp b/plugins/net_plugin/net_plugin.cpp index b55f05d0d742295482b6d77a1b24f18405a61622..5def058dfea5d4b2cd50ee28f0b7e4e038580744 100644 --- a/plugins/net_plugin/net_plugin.cpp +++ b/plugins/net_plugin/net_plugin.cpp @@ -2176,7 +2176,7 @@ namespace eosio { } void net_plugin_impl::handle_message( connection_ptr c, const packed_transaction &msg) { - fc_dlog(logger, "got a signed transaction from ${p}", ("p",c->peer_name())); + fc_dlog(logger, "got a packed transaction from ${p}", ("p",c->peer_name())); if( sync_master->is_active(c) ) { fc_dlog(logger, "got a txn during sync - dropping"); return; @@ -2201,6 +2201,7 @@ namespace eosio { } void net_plugin_impl::handle_message( connection_ptr c, const signed_transaction &msg) { + ilog("Got a signed transaction from ${p}",("p",c->peer_name())); c->cancel_wait(); } @@ -2233,13 +2234,10 @@ namespace eosio { auto ltx = local_txns.get().find(recpt.id); switch (recpt.status) { case transaction_receipt::executed: { - if( ltx == local_txns.end()) { - fc_elog (logger,"summary references unknown transaction ${rid}",("rid",recpt.id)); - close (c); // close without go away allows reconnect - return; + if( ltx != local_txns.end()) { + sb.input_transactions.push_back(ltx->packed_txn); + local_txns.modify( ltx, ubn ); } - sb.input_transactions.push_back(ltx->packed_txn); - local_txns.modify( ltx, ubn ); break; } case transaction_receipt::soft_fail: @@ -2443,6 +2441,7 @@ namespace eosio { * This one is necessary to hook into the boost notifier api **/ void net_plugin_impl::transaction_ready(const transaction_metadata& md, const packed_transaction& txn) { + fc_dlog(logger,"transaction ready called, id = ${id}",("id",md.id)); time_point_sec expire; if (md.decompressed_trx) { expire = md.decompressed_trx->expiration; diff --git a/scripts/eosio-tn_up.sh b/scripts/eosio-tn_up.sh index 6587a599768b65b9ad7ff8d4ff5e103174de5074..b2f6cc7bf08e24c379c1aaa2f2cc826a328184ad 100755 --- a/scripts/eosio-tn_up.sh +++ b/scripts/eosio-tn_up.sh @@ -20,7 +20,7 @@ if [ ! -e $rundir/$prog ]; then exit -1 fi -if [ -z "$EOSIO_NDOE" ]; then +if [ -z "$EOSIO_NODE" ]; then echo data directory not set exit -1 fi