Namespace NArk.Core.Transport
Classes
- CachingClientTransport
Caching decorator for IClientTransport that caches GetServerInfoAsync responses. Server info (network, dust limit, signer key) rarely changes during operation. All other methods are passed through to the underlying transport.
- ServerInfoChangedEventArgs
Provides context for a ServerInfoChanged event.
- VtxoScriptsChanged
Scripts whose VTXOs changed since the last push.
- VtxoSubscriptionEvent
Discriminated union for events yielded by OpenSubscriptionStreamAsync(IReadOnlySet<string>?, string?, CancellationToken).
- VtxoSubscriptionStarted
First event on every new subscription stream. Carries the server-assigned subscription ID that the caller must store for subsequent UpdateSubscriptionScriptsAsync(string, IReadOnlySet<string>?, IReadOnlySet<string>?, CancellationToken) calls and for reconnecting via OpenSubscriptionStreamAsync(IReadOnlySet<string>?, string?, CancellationToken).
Interfaces
- IServerInfoCacheInvalidation
Capability exposed by CachingClientTransport so in-process consumers (e.g. the plugin's contract-reconciliation service) can react to a server-info change. Same shape as IVtxoStorage.VtxosChanged.
Enums
- ServerInfoChangedReason
Describes why the Arkade server-info cache was invalidated or refreshed.