pybitmessage.network.invthread module

src/network/invthread.py

class InvThread(name=None)[source]

Bases: pybitmessage.network.threads.StoppableThread

A thread to send inv annoucements.

static handleLocallyGenerated(stream, hashId)

Locally generated inventory items require special handling

name = 'InvBroadcaster'
run()

Method representing the thread’s activity.

You may override this method in a subclass. The standard run() method invokes the callable object passed to the object’s constructor as the target argument, if any, with sequential and keyword arguments taken from the args and kwargs arguments, respectively.

handleExpiredDandelion(expired)[source]

For expired dandelion objects, mark all remotes as not having the object