code: def _find_input_dependencies(self, inputs):
          
          dependencies = []
          for address in inputs:
              dependencies.extend(
                  self._predecessor_tree.find_read_predecessors(address))
          return dependencies
docs: Use the predecessor tree to find dependencies based on inputs.
  
          Returns: A list of transaction ids.