Double-spending prevention for Bitcoin zero-confirmation transactions