| 1 | <?php |
||
| 14 | class BitcoinCashChecker extends CheckerBase |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * @var array |
||
| 18 | */ |
||
| 19 | protected $sigHashCache = []; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @var int |
||
| 23 | */ |
||
| 24 | protected $sigHashOptionalBits = SigHash::ANYONECANPAY | SigHash::BITCOINCASH; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @param ScriptInterface $script |
||
| 28 | * @param int $sigHashType |
||
| 29 | * @param int $sigVersion |
||
| 30 | * @return BufferInterface |
||
| 31 | */ |
||
| 32 | 1 | public function getSigHash(ScriptInterface $script, int $sigHashType, int $sigVersion): BufferInterface |
|
| 54 | } |
||
| 55 |