MCPcopy Create free account
hub / github.com/ElementsProject/elements / CKey

Method CKey

src/key.h:58–62  ·  view source on GitHub ↗

Construct an invalid private key.

Source from the content-addressed store, hash-verified

56public:
57 //! Construct an invalid private key.
58 CKey() : fValid(false), fCompressed(false)
59 {
60 // Important: vch must be 32 bytes in length to not break serialization
61 keydata.resize(32);
62 }
63
64 friend bool operator==(const CKey& a, const CKey& b)
65 {

Callers

nothing calls this directly

Calls 1

resizeMethod · 0.45

Tested by

no test coverage detected