package
channel
Type Members
-
case class
AddHtlcFailed(channelId: ByteVector32, paymentHash: ByteVector32, t: Throwable, origin: Origin, channelUpdate: Option[ChannelUpdate], originalCommand: Option[CMD_ADD_HTLC]) extends ChannelException with Product with Serializable
-
class
AliasActor extends Actor with ActorLogging
-
-
-
-
case class
BITCOIN_TX_CONFIRMED(tx: Transaction) extends BitcoinEvent with Product with Serializable
-
sealed
trait
BitcoinEvent extends AnyRef
-
final
case class
CMD_ADD_HTLC(amount: MilliSatoshi, paymentHash: ByteVector32, cltvExpiry: CltvExpiry, onion: OnionRoutingPacket, upstream: Upstream, commit: Boolean = false, previousFailures: Seq[AddHtlcFailed] = Seq.empty) extends Command with Product with Serializable
-
final
case class
CMD_CLOSE(scriptPubKey: Option[ByteVector]) extends Command with Product with Serializable
-
final
case class
CMD_FAIL_HTLC(id: Long, reason: Either[ByteVector, FailureMessage], commit: Boolean = false) extends Command with HasHtlcId with Product with Serializable
-
final
case class
CMD_FAIL_MALFORMED_HTLC(id: Long, onionHash: ByteVector32, failureCode: Int, commit: Boolean = false) extends Command with HasHtlcId with Product with Serializable
-
final
case class
CMD_FULFILL_HTLC(id: Long, r: ByteVector32, commit: Boolean = false) extends Command with HasHtlcId with Product with Serializable
-
final
case class
CMD_UPDATE_FEE(feeratePerKw: Long, commit: Boolean = false) extends Command with Product with Serializable
-
final
case class
CMD_UPDATE_RELAY_FEE(feeBase: MilliSatoshi, feeProportionalMillionths: Long) extends Command with Product with Serializable
-
case class
CannotAffordFees(channelId: ByteVector32, missing: Satoshi, reserve: Satoshi, fees: Satoshi) extends ChannelException with Product with Serializable
-
-
-
-
-
case class
Changes(ourChanges: LocalChanges, theirChanges: RemoteChanges) extends Product with Serializable
-
-
case class
ChannelClosed(channel: ActorRef, channelId: ByteVector32, closingType: ClosingType, commitments: Commitments) extends Product with Serializable
-
case class
ChannelCreated(channel: ActorRef, peer: ActorRef, remoteNodeId: PublicKey, isFunder: Boolean, temporaryChannelId: ByteVector32, initialFeeratePerKw: Long, fundingTxFeeratePerKw: Option[Long]) extends ChannelEvent with Product with Serializable
-
case class
ChannelErrorOccurred(channel: ActorRef, channelId: ByteVector32, remoteNodeId: PublicKey, data: Data, error: ChannelError, isFatal: Boolean) extends ChannelEvent with Product with Serializable
-
-
-
case class
ChannelFundingError(channelId: ByteVector32) extends ChannelException with Product with Serializable
-
case class
ChannelIdAssigned(channel: ActorRef, remoteNodeId: PublicKey, temporaryChannelId: ByteVector32, channelId: ByteVector32) extends ChannelEvent with Product with Serializable
-
case class
ChannelPersisted(channel: ActorRef, remoteNodeId: PublicKey, channelId: ByteVector32, data: Data) extends ChannelEvent with Product with Serializable
-
case class
ChannelReserveBelowOurDustLimit(channelId: ByteVector32, channelReserve: Satoshi, dustLimit: Satoshi) extends ChannelException with Product with Serializable
-
-
case class
ChannelReserveTooHigh(channelId: ByteVector32, channelReserve: Satoshi, reserveToFundingRatio: Double, maxReserveToFundingRatio: Double) extends ChannelException with Product with Serializable
-
case class
ChannelRestored(channel: ActorRef, peer: ActorRef, remoteNodeId: PublicKey, isFunder: Boolean, channelId: ByteVector32, currentData: HasCommitments) extends ChannelEvent with Product with Serializable
-
-
-
case class
ChannelStateChanged(channel: ActorRef, peer: ActorRef, remoteNodeId: PublicKey, previousState: State, currentState: State, currentData: Data) extends ChannelEvent with Product with Serializable
-
case class
ChannelUnavailable(channelId: ByteVector32) extends ChannelException with Product with Serializable
-
case class
ChannelVersion(bits: BitVector) extends Product with Serializable
-
-
case class
ClosingTxProposed(unsignedTx: Transaction, localClosingSigned: ClosingSigned) extends Product with Serializable
-
sealed
trait
Command extends AnyRef
-
case class
CommandUnavailableInThisState(channelId: ByteVector32, command: String, state: State) extends ChannelException with Product with Serializable
-
case class
CommitmentSyncError(channelId: ByteVector32) extends ChannelException with Product with Serializable
-
case class
Commitments(channelVersion: ChannelVersion, localParams: LocalParams, remoteParams: RemoteParams, channelFlags: Byte, localCommit: LocalCommit, remoteCommit: RemoteCommit, localChanges: LocalChanges, remoteChanges: RemoteChanges, localNextHtlcId: Long, remoteNextHtlcId: Long, originChannels: Map[Long, Origin], remoteNextCommitInfo: Either[WaitingForRevocation, PublicKey], commitInput: InputInfo, remotePerCommitmentSecrets: ShaChain, channelId: ByteVector32) extends Product with Serializable
-
final
case class
DATA_CLOSING(commitments: Commitments, fundingTx: Option[Transaction], waitingSince: Long, mutualCloseProposed: List[Transaction], mutualClosePublished: List[Transaction] = Nil, localCommitPublished: Option[LocalCommitPublished] = None, remoteCommitPublished: Option[RemoteCommitPublished] = None, nextRemoteCommitPublished: Option[RemoteCommitPublished] = None, futureRemoteCommitPublished: Option[RemoteCommitPublished] = None, revokedCommitPublished: List[RevokedCommitPublished] = Nil) extends Data with HasCommitments with Product with Serializable
-
final
case class
DATA_NEGOTIATING(commitments: Commitments, localShutdown: Shutdown, remoteShutdown: Shutdown, closingTxProposed: List[List[ClosingTxProposed]], bestUnpublishedClosingTx_opt: Option[Transaction]) extends Data with HasCommitments with Product with Serializable
-
final
case class
DATA_NORMAL(commitments: Commitments, shortChannelId: ShortChannelId, buried: Boolean, channelAnnouncement: Option[ChannelAnnouncement], channelUpdate: ChannelUpdate, localShutdown: Option[Shutdown], remoteShutdown: Option[Shutdown]) extends Data with HasCommitments with Product with Serializable
-
-
-
-
final
case class
DATA_WAIT_FOR_FUNDING_CREATED(temporaryChannelId: ByteVector32, localParams: LocalParams, remoteParams: RemoteParams, fundingAmount: Satoshi, pushAmount: MilliSatoshi, initialFeeratePerKw: Long, remoteFirstPerCommitmentPoint: PublicKey, channelFlags: Byte, channelVersion: ChannelVersion, lastSent: AcceptChannel) extends Data with Product with Serializable
-
final
case class
DATA_WAIT_FOR_FUNDING_INTERNAL(temporaryChannelId: ByteVector32, localParams: LocalParams, remoteParams: RemoteParams, fundingAmount: Satoshi, pushAmount: MilliSatoshi, initialFeeratePerKw: Long, remoteFirstPerCommitmentPoint: PublicKey, channelVersion: ChannelVersion, lastSent: OpenChannel) extends Data with Product with Serializable
-
-
final
case class
DATA_WAIT_FOR_FUNDING_SIGNED(channelId: ByteVector32, localParams: LocalParams, remoteParams: RemoteParams, fundingTx: Transaction, fundingTxFee: Satoshi, localSpec: CommitmentSpec, localCommitTx: CommitTx, remoteCommit: RemoteCommit, channelFlags: Byte, channelVersion: ChannelVersion, lastSent: FundingCreated) extends Data with Product with Serializable
-
-
-
sealed
trait
Data extends AnyRef
-
-
case class
DustLimitAboveOurChannelReserve(channelId: ByteVector32, dustLimit: Satoshi, channelReserve: Satoshi) extends ChannelException with Product with Serializable
-
case class
DustLimitTooLarge(channelId: ByteVector32, dustLimit: Satoshi, max: Satoshi) extends ChannelException with Product with Serializable
-
case class
DustLimitTooSmall(channelId: ByteVector32, dustLimit: Satoshi, min: Satoshi) extends ChannelException with Product with Serializable
-
case class
ExpiryTooBig(channelId: ByteVector32, maximum: CltvExpiry, actual: CltvExpiry, blockCount: Long) extends ChannelException with Product with Serializable
-
case class
ExpiryTooSmall(channelId: ByteVector32, minimum: CltvExpiry, actual: CltvExpiry, blockCount: Long) extends ChannelException with Product with Serializable
-
case class
FeerateTooDifferent(channelId: ByteVector32, localFeeratePerKw: Long, remoteFeeratePerKw: Long) extends ChannelException with Product with Serializable
-
case class
FeerateTooSmall(channelId: ByteVector32, remoteFeeratePerKw: Long) extends ChannelException with Product with Serializable
-
case class
ForcedLocalCommit(channelId: ByteVector32) extends ChannelException with Product with Serializable
-
class
Forwarder extends Actor with ActorLogging
-
-
case class
FundingTxSpent(channelId: ByteVector32, spendingTx: Transaction) extends ChannelException with Product with Serializable
-
case class
FundingTxTimedout(channelId: ByteVector32) extends ChannelException with Product with Serializable
-
-
sealed
trait
HasHtlcId extends AnyRef
-
-
case class
HtlcSigCountMismatch(channelId: ByteVector32, expected: Int, actual: Int) extends ChannelException with Product with Serializable
-
case class
HtlcTimedout(channelId: ByteVector32, htlcs: Set[UpdateAddHtlc]) extends ChannelException with Product with Serializable
-
case class
HtlcTxAndSigs(txinfo: TransactionWithInputInfo, localSig: ByteVector64, remoteSig: ByteVector64) extends Product with Serializable
-
-
-
-
case class
INPUT_INIT_FUNDEE(temporaryChannelId: ByteVector32, localParams: LocalParams, remote: ActorRef, remoteInit: Init) extends Product with Serializable
-
case class
INPUT_INIT_FUNDER(temporaryChannelId: ByteVector32, fundingAmount: Satoshi, pushAmount: MilliSatoshi, initialFeeratePerKw: Long, fundingTxFeeratePerKw: Long, localParams: LocalParams, remote: ActorRef, remoteInit: Init, channelFlags: Byte, channelVersion: ChannelVersion) extends Product with Serializable
-
case class
INPUT_RECONNECTED(remote: ActorRef, localInit: Init, remoteInit: Init) extends Product with Serializable
-
-
case class
InsufficientFunds(channelId: ByteVector32, amount: MilliSatoshi, missing: Satoshi, reserve: Satoshi, fees: Satoshi) extends ChannelException with Product with Serializable
-
case class
InvalidChainHash(channelId: ByteVector32, local: ByteVector32, remote: ByteVector32) extends ChannelException with Product with Serializable
-
case class
InvalidCloseFee(channelId: ByteVector32, fee: Satoshi) extends ChannelException with Product with Serializable
-
case class
InvalidCloseSignature(channelId: ByteVector32, tx: Transaction) extends ChannelException with Product with Serializable
-
case class
InvalidCommitmentSignature(channelId: ByteVector32, tx: Transaction) extends ChannelException with Product with Serializable
-
case class
InvalidFailureCode(channelId: ByteVector32) extends ChannelException with Product with Serializable
-
case class
InvalidFinalScript(channelId: ByteVector32) extends ChannelException with Product with Serializable
-
case class
InvalidFundingAmount(channelId: ByteVector32, fundingAmount: Satoshi, min: Satoshi, max: Satoshi) extends ChannelException with Product with Serializable
-
case class
InvalidHtlcPreimage(channelId: ByteVector32, id: Long) extends ChannelException with Product with Serializable
-
case class
InvalidHtlcSignature(channelId: ByteVector32, tx: Transaction) extends ChannelException with Product with Serializable
-
case class
InvalidMaxAcceptedHtlcs(channelId: ByteVector32, maxAcceptedHtlcs: Int, max: Int) extends ChannelException with Product with Serializable
-
-
case class
InvalidRevocation(channelId: ByteVector32) extends ChannelException with Product with Serializable
-
case class
InvalidRevokedCommitProof(channelId: ByteVector32, ourCommitmentNumber: Long, theirCommitmentNumber: Long, perCommitmentSecret: PrivateKey) extends ChannelException with Product with Serializable
-
-
case class
LocalChannelDown(channel: ActorRef, channelId: ByteVector32, shortChannelId: ShortChannelId, remoteNodeId: PublicKey) extends ChannelEvent with Product with Serializable
-
case class
LocalChannelUpdate(channel: ActorRef, channelId: ByteVector32, shortChannelId: ShortChannelId, remoteNodeId: PublicKey, channelAnnouncement_opt: Option[ChannelAnnouncement], channelUpdate: ChannelUpdate, commitments: Commitments) extends ChannelEvent with Product with Serializable
-
case class
LocalCommit(index: Long, spec: CommitmentSpec, publishableTxs: PublishableTxs) extends Product with Serializable
-
case class
LocalCommitConfirmed(channel: ActorRef, remoteNodeId: PublicKey, channelId: ByteVector32, refundAtBlock: Long) extends ChannelEvent with Product with Serializable
-
case class
LocalCommitPublished(commitTx: Transaction, claimMainDelayedOutputTx: Option[Transaction], htlcSuccessTxs: List[Transaction], htlcTimeoutTxs: List[Transaction], claimHtlcDelayedTxs: List[Transaction], irrevocablySpent: Map[OutPoint, ByteVector32]) extends Product with Serializable
-
final
case class
LocalParams(nodeId: PublicKey, fundingKeyPath: KeyPath, dustLimit: Satoshi, maxHtlcValueInFlightMsat: UInt64, channelReserve: Satoshi, htlcMinimum: MilliSatoshi, toSelfDelay: CltvExpiryDelta, maxAcceptedHtlcs: Int, isFunder: Boolean, defaultFinalScriptPubKey: ByteVector, features: ByteVector) extends Product with Serializable
-
case class
NetworkFeePaid(channel: ActorRef, remoteNodeId: PublicKey, channelId: ByteVector32, tx: Transaction, fee: Satoshi, txType: String) extends ChannelEvent with Product with Serializable
-
-
-
case class
PublishableTxs(commitTx: CommitTx, htlcTxsAndSigs: List[HtlcTxAndSigs]) extends Product with Serializable
-
final
case class
RES_GETINFO(nodeId: PublicKey, channelId: ByteVector32, state: State, data: Data) extends Product with Serializable
-
class
Register extends Actor with ActorLogging
-
case class
RemoteCannotAffordFeesForNewHtlc(channelId: ByteVector32, amount: MilliSatoshi, missing: Satoshi, reserve: Satoshi, fees: Satoshi) extends ChannelException with Product with Serializable
-
-
case class
RemoteCommit(index: Long, spec: CommitmentSpec, txid: ByteVector32, remotePerCommitmentPoint: PublicKey) extends Product with Serializable
-
case class
RemoteCommitPublished(commitTx: Transaction, claimMainOutputTx: Option[Transaction], claimHtlcSuccessTxs: List[Transaction], claimHtlcTimeoutTxs: List[Transaction], irrevocablySpent: Map[OutPoint, ByteVector32]) extends Product with Serializable
-
final
case class
RemoteParams(nodeId: PublicKey, dustLimit: Satoshi, maxHtlcValueInFlightMsat: UInt64, channelReserve: Satoshi, htlcMinimum: MilliSatoshi, toSelfDelay: CltvExpiryDelta, maxAcceptedHtlcs: Int, fundingPubKey: PublicKey, revocationBasepoint: PublicKey, paymentBasepoint: PublicKey, delayedPaymentBasepoint: PublicKey, htlcBasepoint: PublicKey, features: ByteVector) extends Product with Serializable
-
case class
RevocationSyncError(channelId: ByteVector32) extends ChannelException with Product with Serializable
-
case class
RevokedCommitPublished(commitTx: Transaction, claimMainOutputTx: Option[Transaction], mainPenaltyTx: Option[Transaction], htlcPenaltyTxs: List[Transaction], claimHtlcDelayedPenaltyTxs: List[Transaction], irrevocablySpent: Map[OutPoint, ByteVector32]) extends Product with Serializable
-
case class
ShortChannelIdAssigned(channel: ActorRef, channelId: ByteVector32, shortChannelId: ShortChannelId, previousShortChannelId: Option[ShortChannelId]) extends ChannelEvent with Product with Serializable
-
sealed
trait
State extends AnyRef
-
-
case class
TooManyAcceptedHtlcs(channelId: ByteVector32, maximum: Long) extends ChannelException with Product with Serializable
-
case class
UnexpectedHtlcId(channelId: ByteVector32, expected: Long, actual: Long) extends ChannelException with Product with Serializable
-
case class
UnexpectedRevocation(channelId: ByteVector32) extends ChannelException with Product with Serializable
-
case class
UnknownHtlcId(channelId: ByteVector32, id: Long) extends ChannelException with Product with Serializable
-
sealed
trait
Upstream extends AnyRef
-
case class
WaitingForRevocation(nextRemoteCommit: RemoteCommit, sent: CommitSig, sentAfterLocalCommitIndex: Long, reSignAsap: Boolean = false) extends Product with Serializable
Purpose of this actor is to be an alias for its origin actor. It allows to reference the using
with a meaningful name
system.actorSelection() }}}