Double-spending prevention for Bitcoin zero-confirmation transactions
Handbook of Applied Cryptography