| 1 | <?php |
||
| 9 | class Utxo |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @var OutPointInterface |
||
| 13 | */ |
||
| 14 | private $outPoint; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @var TransactionOutputInterface |
||
| 18 | */ |
||
| 19 | private $prevOut; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @param OutPointInterface $outPoint |
||
| 23 | * @param TransactionOutputInterface $prevOut |
||
| 24 | */ |
||
| 25 | public function __construct(OutPointInterface $outPoint, TransactionOutputInterface $prevOut) |
||
| 30 | |||
| 31 | 18 | /** |
|
| 32 | 18 | * @return OutPoint |
|
| 33 | 18 | */ |
|
| 34 | 18 | public function getOutPoint() |
|
| 38 | |||
| 39 | 6 | /** |
|
| 40 | * @return TransactionOutputInterface |
||
| 41 | 6 | */ |
|
| 42 | public function getOutput() |
||
| 46 | } |
||
| 47 |