OpenChannelCommand class

Open a payment channel with a peer

Inheritance

Constructors

OpenChannelCommand({required String walletId, required String serverPeerId, required int fundingAmountSats, required int lockTimeDurationSeconds, String? context, String? counterpartyMarker, String? requestId})

Properties

context → String?
final
correlationId → String
The correlation ID of the message.
no setterinherited
counterpartyMarker → String?
The app's opaque marker for the counterparty of this channel (bead libspiffy-bps1, spv-understanding.md "Core Data Management" requirement 5): it is stamped on the wallet transactions the channel records — the funding it pays out and the settlement or refund that comes back. Opaque and app-chosen, exactly as on every other payment; libspiffy never interprets it.
final
fundingAmountSats → int
final
hashCode → int
The hash code for this object.
no setterinherited
lockTimeDurationSeconds → int
final
metadata → Map<String, dynamic>
The metadata of the message.
no setter
replyTimeout → Duration
How long WalletCoordinator.ask waits for the reply when the caller gives no timeout. A request that is still running then is not cancelled: its reply arrives on the event stream later.
no setteroverride
replyTo → ActorRef?
The actor to reply to.
no setterinherited
requestId → String
Identifies this request; its reply carries it back.
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
serverPeerId → String
final
timestamp → DateTime
The timestamp of the message.
finalinherited
walletId → String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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