Network coding isone of the important researches in multi-hop wireless networks domain and it widely participates in improving the performance of these networks, since it benefits from the broadcasting nature of transmission processes to transmit more than single packet in one broadcasting transmission. So it achieves double use of the available bandwidth, which can increase the throughput of the network and reduce the congestion.Our aim in this research is to verify the improvement that network coding presents to theperformance of multi-hops wireless Ad-hoc networks, and to study the accelerating of research process for coding chances through constructing a virtual queues according to the packets flows that pass the node, and applying affective manner to manage this queues.