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

Method IsGenTxMsg

src/protocol.h:500–503  ·  view source on GitHub ↗

Combined-message helper methods

Source from the content-addressed store, hash-verified

498
499 // Combined-message helper methods
500 bool IsGenTxMsg() const
501 {
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;

Callers 3

ToGenTxidFunction · 0.80
ProcessGetDataMethod · 0.80
ProcessMessageMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected