wallet::CWallet::IsMine

IsMine overloads

Synopses

Declared in <wallet/wallet.h>

Report whether an outpoint belongs to this wallet.

[[requires_capability(0x7f2e1e599428), requires_capability(0x7f2e11aaa1e8), requires_capability(0x7f2e169fffd8), requires_capability(0x7f2e15f2f478), requires_capability(0x7f2e12c6e108)]]
bool
IsMine(COutPoint const& outpoint) const;
» more...

Report whether a script belongs to this wallet.

[[requires_capability(0x7f2e1e5991e8), requires_capability(0x7f2e11aa9fa8), requires_capability(0x7f2e169ffd98), requires_capability(0x7f2e15f2f238), requires_capability(0x7f2e12c6dec8)]]
bool
IsMine(CScript const& script) const;
» more...

Report whether any output of a transaction belongs to this wallet.

[[requires_capability(0x7f2e1e599368), requires_capability(0x7f2e11aaa128), requires_capability(0x7f2e169fff18), requires_capability(0x7f2e15f2f3b8), requires_capability(0x7f2e12c6e048)]]
bool
IsMine(CTransaction const& tx) const;
» more...

Report whether a destination belongs to this wallet.

[[requires_capability(0x7f2e1e599128), requires_capability(0x7f2e11aa9ee8), requires_capability(0x7f2e169ffcd8), requires_capability(0x7f2e15f2f178), requires_capability(0x7f2e12c6de08)]]
bool
IsMine(CTxDestination const& dest) const;
» more...

Report whether a transaction output belongs to this wallet.

[[requires_capability(0x7f2e1e5992a8), requires_capability(0x7f2e11aaa068), requires_capability(0x7f2e169ffe58), requires_capability(0x7f2e15f2f2f8), requires_capability(0x7f2e12c6df88)]]
bool
IsMine(CTxOut const& txout) const;
» more...

Return Value

  • true if the outpoint is owned by the wallet.
  • true if the script is owned by the wallet.
  • true if any output is owned by the wallet.
  • true if the destination is owned by the wallet.
  • true if the output is owned by the wallet.

Parameters

NameDescription
outpointThe outpoint to test.
scriptThe script to test.
txThe transaction to test.
destThe destination to test.
txoutThe output to test.