mirror of
https://github.com/callebtc/electronwall.git
synced 2025-12-17 07:04:21 +01:00
25 lines
540 B
Go
25 lines
540 B
Go
package types
|
|
|
|
import (
|
|
"github.com/callebtc/electronwall/api"
|
|
"github.com/lightningnetwork/lnd/lnrpc"
|
|
"github.com/lightningnetwork/lnd/lnrpc/routerrpc"
|
|
)
|
|
|
|
type HtlcForwardEvent struct {
|
|
PubkeyFrom string
|
|
AliasFrom string
|
|
PubkeyTo string
|
|
AliasTo string
|
|
Event *routerrpc.ForwardHtlcInterceptRequest
|
|
}
|
|
|
|
type ChannelAcceptEvent struct {
|
|
PubkeyFrom string
|
|
AliasFrom string
|
|
Event *lnrpc.ChannelAcceptRequest
|
|
NodeInfo *lnrpc.NodeInfo
|
|
OneMl api.OneML_NodeInfoResponse
|
|
Amboss api.Amboss_NodeInfoResponse
|
|
}
|