https://bitcoin.stackexchange.com/questions/3374/how-to-redeem-a-basic-tx/5241#5241