View Source BitcoinCoreClient.Subscriptions (BitcoinCoreClient v0.1.3)
Keeps track of blocks and transactions ZMQ subscriptions
Link to this section Summary
Functions
Returns a list of pids that subscribed to new bitcoin block messages
Starts the subscriptions server
Starts the subscriptions server
Subscribes the current process to receive bitcoin block messages
Unsubscribes the current process to receive bitcoin block messages
Link to this section Functions
@spec get_blocks_subscriptions() :: list()
Returns a list of pids that subscribed to new bitcoin block messages
Starts the subscriptions server
Starts the subscriptions server
@spec subscribe_blocks() :: :ok
Subscribes the current process to receive bitcoin block messages
@spec unsubscribe_blocks() :: :ok
Unsubscribes the current process to receive bitcoin block messages