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

Method IsNull

src/primitives/transaction.h:317–325  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

315 }
316
317 bool IsNull() const
318 {
319 if (!g_con_elementsmode) {
320 // Ignore the asset and the nonce in compatibility mode.
321 return nValue.IsNull() && scriptPubKey.empty();
322 }
323
324 return nAsset.IsNull() && nValue.IsNull() && nNonce.IsNull() && scriptPubKey.empty();
325 }
326
327 bool IsFee() const {
328 return g_con_elementsmode && scriptPubKey == CScript()

Callers 7

IsNullMethod · 0.45
SerializeMethod · 0.45
UnserializeMethod · 0.45
UnserializeMethod · 0.45
IsCoinBaseMethod · 0.45
HasWitnessMethod · 0.45
HasWitnessMethod · 0.45

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected