Verifies a spending input against this script pubkey.
Declared in <kernel/bitcoinkernel_wrapper.h>
bool
Verify(
int64_t amount,
Transaction const& tx_to,
PrecomputedTransactionData const* precomputed_txdata,
unsigned int input_index,
ScriptVerificationFlags flags,
ScriptVerifyStatus& status) const;
True when the input satisfies the script.
| Name | Description |
|---|---|
| amount | The value of the output being spent, in satoshis. |
| tx_to | The spending transaction. |
| precomputed_txdata | Optional precomputed signature-hash data, or null. |
| input_index | The index of the input under verification. |
| flags | The script verification flags to apply. |
| status | Receives the verification status. |