MCPcopy 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

75public:
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

GetLenFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected