| 1 | <?php |
||
| 10 | class PayToPubkeyHash implements ScriptInfoInterface |
||
| 11 | { |
||
| 12 | |||
| 13 | /** |
||
| 14 | * @var BufferInterface |
||
| 15 | */ |
||
| 16 | private $hash; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @param ScriptInterface $script |
||
| 20 | */ |
||
| 21 | public function __construct(ScriptInterface $script) |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @return int |
||
| 35 | */ |
||
| 36 | public function getRequiredSigCount() |
||
| 40 | |||
| 41 | /** |
||
| 42 | * @return int |
||
| 43 | */ |
||
| 44 | public function getKeyCount() |
||
| 48 | |||
| 49 | /** |
||
| 50 | * @param PublicKeyInterface $publicKey |
||
| 51 | * @return bool |
||
| 52 | */ |
||
| 53 | public function checkInvolvesKey(PublicKeyInterface $publicKey) |
||
| 57 | |||
| 58 | /** |
||
| 59 | * @return PublicKeyInterface[] |
||
| 60 | */ |
||
| 61 | public function getKeys() |
||
| 65 | } |
||
| 66 |