PaymentChannelManagerActor class

Payment Channel Manager - Orchestrates all channel operations

Constructors

PaymentChannelManagerActor({required ActorRef walletManager, required EventStore eventStore, required CryptoService cryptoService, NetworkType networkType = dartsv.NetworkType.TEST, void eventBroadcaster(ChannelEvent)?, ActorRef? channelProjection, ActorRef? arcActor, ActorRef? walletProjection, Duration signingTimeout = const Duration(seconds: 30), Duration broadcastTimeout = const Duration(seconds: 60), ActorRef? spvActor, ReadModelStorage? storage, BlockHeaderChain? headerChain, required ChannelTiming? timing})

Properties

hashCode → int
The hash code for this object.
no setterinherited
pendingSignatureCount → int
Number of signing requests (refund, payment, acknowledgment) still awaiting WalletManager's reply. Every request leaves this map on success, failure and timeout alike.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onError(Object error, StackTrace stackTrace) → void
Called when an error occurs.
inherited
onMessage(dynamic message) → Future<void>
Called when a message is received.
postStop() → void
Stop the channel aggregates this manager spawned, so a host-owned actor system does not keep them running after libspiffy shuts down.
preStart() → void
Called when the actor is started.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited