utils.Logger().Info().Str("txId",tx.Hash().Hex()).Int("MaxNumTxsPerBlockLimit",txsThrottleConfig.MaxNumTxsPerBlockLimit).Msg("Throttling tx with max num txs per block limit")
returnsender,shardingconfig.TxUnselect
}
// do not throttle transactions if disabled
if!txsThrottleConfig.EnableTxnThrottling{
returnsender,shardingconfig.TxSelect
}
// throttle a single sender sending too many transactions in one block
utils.Logger().Info().Str("txId",tx.Hash().Hex()).Uint64("MaxTxAmountLimit",txsThrottleConfig.MaxTxAmountLimit.Uint64()).Uint64("txAmount",tx.Value().Uint64()).Msg("Throttling tx with max amount limit")