mirror of
https://github.com/callebtc/electronwall.git
synced 2025-12-17 15:14:25 +01:00
forgot types
This commit is contained in:
24
types/types.go
Normal file
24
types/types.go
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
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
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user