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

Method GetTxConflicts

src/wallet/wallet.cpp:1787–1796  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1785}
1786
1787std::set<uint256> CWallet::GetTxConflicts(const CWalletTx& wtx) const
1788{
1789 std::set<uint256> result;
1790 {
1791 uint256 myHash = wtx.GetHash();
1792 result = GetConflicts(myHash);
1793 result.erase(myHash);
1794 }
1795 return result;
1796}
1797
1798// Rebroadcast transactions from the wallet. We do this on a random timer
1799// to slightly obfuscate which transactions come from our wallet.

Callers 1

WalletTxToJSONFunction · 0.80

Calls 2

GetHashMethod · 0.45
eraseMethod · 0.45

Tested by

no test coverage detected