I would like to have a contract that when it is triggered it parses the blockchain and checks for the existence of a certain transaction.
Is that feasible ? I browsed contract examples on the ethereum github but none seemed to fit this scenario. Expressions and functions like block.number and block.parenthash etc. seem static, referring to just the block that is current.
Any help would be greatly appreciated.