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

Method IsGenBlkMsg

src/protocol.h:504–507  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

502 return type == MSG_TX || type == MSG_WTX || type == MSG_WITNESS_TX;
503 }
504 bool IsGenBlkMsg() const
505 {
506 return type == MSG_BLOCK || type == MSG_FILTERED_BLOCK || type == MSG_CMPCT_BLOCK || type == MSG_WITNESS_BLOCK;
507 }
508
509 uint32_t type;
510 uint256 hash;

Callers 1

ProcessGetDataMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected