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

Method IsMsgTx

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

Single-message helper methods

Source from the content-addressed store, hash-verified

490
491 // Single-message helper methods
492 bool IsMsgTx() const { return type == MSG_TX; }
493 bool IsMsgBlk() const { return type == MSG_BLOCK; }
494 bool IsMsgWtx() const { return type == MSG_WTX; }
495 bool IsMsgFilteredBlk() const { return type == MSG_FILTERED_BLOCK; }

Callers 2

ProcessGetDataMethod · 0.80
ProcessMessageMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected