Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/elements
/ HasWitness
Method
HasWitness
src/primitives/transaction.h:621–624 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
619
uint256 GetHash() const;
620
621
bool HasWitness() const
622
{
623
return !witness.IsNull();
624
}
625
};
626
627
typedef std::shared_ptr<const CTransaction> CTransactionRef;
Callers
nothing calls this directly
Calls
1
IsNull
Method · 0.45
Tested by
no test coverage detected