change tx detection to check for orphaned blocks
Merge pull request #78 from TheSerapher/issue-74

change tx detection to check for orphaned blocks