I've found a lot of information regarding orphan blocks, but I can't find an answer to this simple question.
If I send a payment to a user and my transaction happens to end up in an orphaned block, how will I recover my bitcoins? When the block-chain reorganizes itself and orphans the original block, will the client automatically add back my funds?
I've never encountered an orphan block so I have no clue how the transactions are resolved. Could someone please clarify what happens to the funds within these blocks?
RLH is correct, a block does not need contain ANY transactions (I could say, not include transactions to any of bvpx's known addresses), but every transaction included must be valid or the whole block is invalidated (and the miner subsidy is lost, hence miners will not include invalid transactions).
– Mark Aug 15 '14 at 17:59