MCPcopy Create free account
hub / github.com/ElementsProject/elements / GetVersion

Method GetVersion

src/wallet/wallet.h:760–760  ·  view source on GitHub ↗

get the current wallet format (the oldest client version guaranteed to understand this wallet)

Source from the content-addressed store, hash-verified

758
759 //! get the current wallet format (the oldest client version guaranteed to understand this wallet)
760 int GetVersion() const { LOCK(cs_wallet); return nWalletVersion; }
761
762 //! Get wallet transactions that conflict with given transaction (spend same outputs)
763 std::set<uint256> GetConflicts(const uint256& txid) const EXCLUSIVE_LOCKS_REQUIRED(cs_wallet);

Callers 15

SerializeMethod · 0.45
UnserializeMethod · 0.45
LoadWalletMethod · 0.45
getwalletinfoFunction · 0.45
upgradewalletFunction · 0.45
BOOST_AUTO_TEST_CASEFunction · 0.45
BOOST_AUTO_TEST_CASEFunction · 0.45
FUZZ_TARGET_INITFunction · 0.45
FUZZ_TARGETFunction · 0.45
FUZZ_TARGETFunction · 0.45
decodepsbtFunction · 0.45
joinpsbtsFunction · 0.45

Calls

no outgoing calls

Tested by 5

BOOST_AUTO_TEST_CASEFunction · 0.36
BOOST_AUTO_TEST_CASEFunction · 0.36
FUZZ_TARGET_INITFunction · 0.36
FUZZ_TARGETFunction · 0.36
FUZZ_TARGETFunction · 0.36