Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bitcoin/bitcoin
/ ToGenTxid
Function
ToGenTxid
src/protocol.cpp:121–125 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
119
}
120
121
GenTxid ToGenTxid(const CInv& inv)
122
{
123
assert(inv.IsGenTxMsg());
124
return inv.IsMsgWtx() ? GenTxid{Wtxid::FromUint256(inv.hash)} : GenTxid{Txid::FromUint256(inv.hash)};
125
}
Callers
2
ProcessGetData
Method · 0.85
ProcessMessage
Method · 0.85
Calls
2
IsGenTxMsg
Method · 0.80
IsMsgWtx
Method · 0.80
Tested by
no test coverage detected