Dispatches validation event notifications to registered subscribers.
Synopsis
Declared in <validationinterface.h>
class ValidationSignals;
Member Functions
Name |
Description |
|
Construct the signal dispatcher. |
|
Destroy the dispatcher, releasing its internal state. |
Fire the ActiveTipChange event to all subscribers. |
|
Fire the BlockChecked event to all subscribers. |
|
Fire the BlockConnected event to all subscribers. |
|
Fire the BlockDisconnected event to all subscribers. |
|
Pushes a function to callback onto the notification queue, guaranteeing any callbacks generated prior to now are finished when the function is called. |
|
Return the number of callbacks still queued for delivery. |
|
Fire the ChainStateFlushed event to all subscribers. |
|
Call any remaining callbacks on the calling thread |
|
Fire the MempoolTransactionsRemovedForBlock event to all subscribers. |
|
Fire the NewPoWValidBlock event to all subscribers. |
|
Register subscriber |
|
Register subscriber |
|
This is a synonym for the following, which asserts certain locks are not held: std::promise<void> promise; CallFunctionInValidationInterfaceQueue([&promise]{ promise.set_value(); }); promise.get_future().wait(); |
|
Fire the TransactionAddedToMempool event to all subscribers. |
|
Fire the TransactionRemovedFromMempool event to all subscribers. |
|
Unregister all subscribers |
|
Unregister subscriber |
|
Unregister subscriber. DEPRECATED. This is not safe to use when the RPC server or main message handler thread is running. |
|
Fire the UpdatedBlockTip event to all subscribers. |
Created with MrDocs