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