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

Method Serialize

src/wallet/scriptpubkeyman.h:119–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117
118 template<typename Stream>
119 void Serialize(Stream& s) const
120 {
121 int nVersion = s.GetVersion();
122 if (!(s.GetType() & SER_GETHASH)) {
123 s << nVersion;
124 }
125 s << nTime << vchPubKey << fInternal << m_pre_split;
126 }
127
128 template<typename Stream>
129 void Unserialize(Stream& s)

Callers

nothing calls this directly

Calls 2

GetVersionMethod · 0.45
GetTypeMethod · 0.45

Tested by

no test coverage detected