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

Function GetSerializeSize

src/serialize.h:1102–1105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1100
1101template <typename T>
1102size_t GetSerializeSize(const T& t, int nVersion = 0)
1103{
1104 return (CSizeComputer(nVersion) << t).size();
1105}
1106
1107template <typename... T>
1108size_t GetSerializeSizeMany(int nVersion, const T&... t)

Callers 15

TxToUnivFunction · 0.85
coins.cppFile · 0.85
PreChecksMethod · 0.85
CheckBlockFunction · 0.85
InitDataMethod · 0.85
GetDustThresholdFunction · 0.85
spend.cppFile · 0.85
verify_scriptFunction · 0.85
GetSerializedSizeMethod · 0.85
InitMethod · 0.85
VerifyWitnessProgramFunction · 0.85

Calls 2

CSizeComputerClass · 0.85
sizeMethod · 0.45

Tested by 4

BOOST_AUTO_TEST_CASEFunction · 0.68
BOOST_AUTO_TEST_CASEFunction · 0.68
TestPackageSelectionMethod · 0.68
BOOST_AUTO_TEST_CASEFunction · 0.68