added transaction_pool with validate() method.