MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / IsGenBlkMsg

Method IsGenBlkMsg

src/protocol.h:531–534  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

529 return type == MSG_TX || type == MSG_WTX || type == MSG_WITNESS_TX;
530 }
531 bool IsGenBlkMsg() const
532 {
533 return type == MSG_BLOCK || type == MSG_FILTERED_BLOCK || type == MSG_CMPCT_BLOCK || type == MSG_WITNESS_BLOCK;
534 }
535
536 uint32_t type;
537 uint256 hash;

Callers 1

ProcessGetDataMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected