RelaySetsEngine class
- Implemented types
Constructors
-
RelaySetsEngine({required RelayManager relayManager, required CacheManager cacheManager, required List<
String> ? bootstrapRelays, GlobalState? globalState}) - engine that pre-calculates relay sets for gossip
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
doNostrRequestWithRelaySet(
RequestState state, {bool splitRequestsByPubKeyMappings = true}) → Future< void> -
doRelayRequest(
String id, RelayRequestState request) → bool -
handleEventBroadcast(
{required Nip01Event nostrEvent, required EventSigner? signer, required Stream< List< doneStream, Iterable<RelayBroadcastResponse> >String> ? specificRelays}) → NdkBroadcastResponse -
override
-
handleRequest(
RequestState state) → Future< void> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
requestRelays(
String name, Iterable< String> urls, Filter filter, {Duration timeout = kDefaultStreamIdleTimeout, bool closeOnEOSE = true}) → Future<NdkResponse> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- kDefaultStreamIdleTimeout → const Duration