Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockEvent ¶ added in v0.11.0
type BroadcastServer ¶
type BroadcastServer interface { Subscribe() <-chan interface{} CancelSubscription(<-chan interface{}) }
func NewBroadcastServer ¶
func NewBroadcastServer(ctx context.Context, source <-chan interface{}) BroadcastServer
type ChannelEvent ¶
type ChannelEvent struct { EventData Type lnrpc.ChannelEventUpdate_UpdateType `json:"type"` ChannelId int `json:"channelId"` }
type ChannelGraphEvent ¶
type ChannelGraphEvent struct { GraphEventData ChannelGraphEventData PreviousEventTime time.Time `json:"previousEventTime"` PreviousEventData ChannelGraphEventData `json:"previous"` }
type ChannelGraphEventData ¶
type GraphEventData ¶
type HtlcEvent ¶ added in v0.11.0
type HtlcEvent struct { EventData Timestamp time.Time `json:"timestamp"` Data string `json:"data"` EventOrigin *string `json:"eventOrigin"` EventType *string `json:"eventType"` OutgoingHtlcId *uint64 `json:"outgoingHtlcId"` IncomingHtlcId *uint64 `json:"incomingHtlcId"` TimestampNs *uint64 `json:"timestampNs"` IncomingAmtMsat *uint64 `json:"incomingAmtMsat"` OutgoingAmtMsat *uint64 `json:"outgoingAmtMsat"` IncomingTimelock *uint32 `json:"incomingTimelock"` OutgoingTimelock *uint32 `json:"outgoingTimelock"` BoltFailureCode *string `json:"boltFailureCode"` BoltFailureString *string `json:"boltFailureString"` LndFailureDetail *string `json:"lndFailureDetail"` OutgoingChannelId *int `json:"outgoingChannelId"` IncomingChannelId *int `json:"incomingChannelId"` }
type InvoiceEvent ¶
type NodeGraphEvent ¶
type NodeGraphEvent struct { GraphEventData NodeGraphEventData PreviousEventTime time.Time `json:"previousEventTime"` PreviousEventData NodeGraphEventData `json:"previous"` }
type NodeGraphEventData ¶
type PeerEvent ¶
type PeerEvent struct { EventData Type lnrpc.PeerEvent_EventType `json:"type"` EventPublicKey string `json:"eventPublicKey"` }
type TransactionEvent ¶
type TransactionEvent struct { EventData Timestamp time.Time `json:"timestamp"` TransactionHash *string `json:"transactionHash"` Amount *int64 `json:"amount"` NumberOfConfirmations *int32 `json:"numberOfConfirmations"` BlockHash *string `json:"blockHash"` BlockHeight *int32 `json:"blockHeight"` TotalFees *int64 `json:"totalFees"` DestinationAddresses *[]string `json:"destinationAddresses"` RawTransactionHex *string `json:"rawTransactionHex"` Label *string `json:"label"` }
Click to show internal directories.
Click to hide internal directories.