1 | <?php |
||
10 | class PayToPubkeyHash implements ScriptInfoInterface |
||
11 | { |
||
12 | /** |
||
13 | * @var ScriptInterface |
||
14 | */ |
||
15 | private $script; |
||
16 | |||
17 | /** |
||
18 | * @var BufferInterface |
||
19 | */ |
||
20 | private $hash; |
||
21 | |||
22 | /** |
||
23 | * @param ScriptInterface $script |
||
24 | */ |
||
25 | public function __construct(ScriptInterface $script) |
||
37 | |||
38 | /** |
||
39 | * @return string |
||
40 | */ |
||
41 | public function classification() |
||
45 | |||
46 | /** |
||
47 | * @return int |
||
48 | */ |
||
49 | public function getRequiredSigCount() |
||
53 | |||
54 | /** |
||
55 | * @return int |
||
56 | */ |
||
57 | public function getKeyCount() |
||
61 | |||
62 | /** |
||
63 | * @param PublicKeyInterface $publicKey |
||
64 | * @return bool |
||
65 | */ |
||
66 | public function checkInvolvesKey(PublicKeyInterface $publicKey) |
||
70 | |||
71 | /** |
||
72 | * @return PublicKeyInterface[] |
||
73 | */ |
||
74 | public function getKeys() |
||
78 | } |
||
79 |