Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/elements
/ IsCoinBase
Method
IsCoinBase
src/primitives/transaction.h:564–567 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
562
unsigned int GetTotalSize() const;
563
564
bool IsCoinBase() const
565
{
566
return (vin.size() == 1 && vin[0].prevout.IsNull());
567
}
568
569
friend bool operator==(const CTransaction& a, const CTransaction& b)
570
{
Callers
3
AreInputsStandard
Function · 0.45
IsWitnessStandard
Function · 0.45
SpendsNonAnchorWitnessProg
Function · 0.45
Calls
2
size
Method · 0.45
IsNull
Method · 0.45
Tested by
no test coverage detected