1 | <?php |
||
12 | class BitcoinConsensus implements ConsensusInterface |
||
13 | { |
||
14 | /** |
||
15 | * @param TransactionInterface $tx |
||
16 | * @param ScriptInterface $scriptPubKey |
||
17 | * @param int $flags |
||
18 | * @param int $nInputToSign |
||
19 | * @param int $amount |
||
20 | * @return bool |
||
21 | * @throws BitcoinConsensusException |
||
22 | */ |
||
23 | 500 | public function verify(TransactionInterface $tx, ScriptInterface $scriptPubKey, int $flags, int $nInputToSign, int $amount): bool |
|
38 | } |
||
39 |