Modeling Bitcoin Contracts by Timed Automata
On the security of public key protocols