Class PostSpendVtxoPollingHandler
Event handler that polls for VTXO updates after a successful spend transaction broadcast. This ensures the local VTXO state reflects the new outputs from the transaction.
public class PostSpendVtxoPollingHandler : IEventHandler<PostCoinsSpendActionEvent>
- Inheritance
-
PostSpendVtxoPollingHandler
- Implements
- Inherited Members
Constructors
PostSpendVtxoPollingHandler(VtxoSynchronizationService, IClientTransport, IOptions<VtxoPollingOptions>, ILogger<PostSpendVtxoPollingHandler>?)
Event handler that polls for VTXO updates after a successful spend transaction broadcast. This ensures the local VTXO state reflects the new outputs from the transaction.
public PostSpendVtxoPollingHandler(VtxoSynchronizationService vtxoSyncService, IClientTransport transport, IOptions<VtxoPollingOptions> options, ILogger<PostSpendVtxoPollingHandler>? logger = null)
Parameters
vtxoSyncServiceVtxoSynchronizationServicetransportIClientTransportoptionsIOptions<VtxoPollingOptions>loggerILogger<PostSpendVtxoPollingHandler>
Methods
HandleAsync(PostCoinsSpendActionEvent, CancellationToken)
Handles the event asynchronously.
public Task HandleAsync(PostCoinsSpendActionEvent @event, CancellationToken cancellationToken = default)
Parameters
eventPostCoinsSpendActionEventcancellationTokenCancellationToken