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

Method bad_message

test/functional/p2p_leak.py:43–45  ·  view source on GitHub ↗
(self, message)

Source from the content-addressed store, hash-verified

41 self.got_sendaddrv2 = False
42
43 def bad_message(self, message):
44 self.unexpected_msg = True
45 print("should not have received message: %s" % message.msgtype)
46
47 def on_open(self):
48 self.ever_connected = True

Callers 15

on_versionMethod · 0.95
on_verackMethod · 0.95
on_invMethod · 0.95
on_addrMethod · 0.95
on_getdataMethod · 0.95
on_getblocksMethod · 0.95
on_txMethod · 0.95
on_blockMethod · 0.95
on_getaddrMethod · 0.95
on_headersMethod · 0.95
on_getheadersMethod · 0.95
on_pingMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected