Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/elements
/ ToGenTxid
Function
ToGenTxid
src/protocol.cpp:224–228 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
222
}
223
224
GenTxid ToGenTxid(const CInv& inv)
225
{
226
assert(inv.IsGenTxMsg());
227
return inv.IsMsgWtx() ? GenTxid::Wtxid(inv.hash) : GenTxid::Txid(inv.hash);
228
}
Callers
3
ProcessGetData
Method · 0.70
ProcessMessage
Method · 0.70
SendMessages
Method · 0.70
Calls
2
IsGenTxMsg
Method · 0.80
IsMsgWtx
Method · 0.80
Tested by
no test coverage detected