Source: https://bitcointechtalk.com/how-to-protect-against-replay-attacks-7a00bd2fe52f?source=user_profile---------1----------------