Module lightning::util::events [−][src]
Events are returned from various bits in the library which indicate some action must be taken by the client.
Because we don’t have a built-in runtime, it’s up to the client to call events at a time in the future, as well as generate and broadcast funding transactions handle payment preimages and a few other things.
Enums
Event | An Event which you should probably take some action in response to. |
MessageSendEvent | An event generated by ChannelManager which indicates a message should be sent to a peer (or broadcast to most peers). These events are handled by PeerManager::process_events if you are using a PeerManager. |
Traits
EventsProvider | A trait indicating an object may generate events |
MessageSendEventsProvider | A trait indicating an object may generate message send events |