Returns whether the output spent by an input belongs to the wallet.
Declared in <wallet/receive.h>
[[requires_capability(0x7f2e11afabf8)]]
bool
InputIsMine(
CWallet const& wallet,
CTxIn const& txin);
true if the spent output is owned by the wallet.
| Name | Description |
|---|---|
| wallet | The wallet to check ownership against. |
| txin | The input whose previous output is checked. |