This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.4.10; | |
// Based on Alex Miller's design, with minor revisions to appease the compiler, and incorporate Christian Lundkvist's | |
// input about hash collisions. | |
contract Bitcoin { | |
struct UTXO { | |
address owner; | |
uint value; |