Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/elements
/ ValidSize
Method
ValidSize
src/pubkey.h:77–79 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
75
public:
76
77
bool static ValidSize(const std::vector<unsigned char> &vch) {
78
return vch.size() > 0 && GetLen(vch[0]) == vch.size();
79
}
80
81
//! Construct an invalid public key.
82
CPubKey()
Callers
nothing calls this directly
Calls
2
GetLen
Function · 0.85
size
Method · 0.45
Tested by
no test coverage detected