From 24edbfd31e11df6dbbc78420a4fcb49df53e0286 Mon Sep 17 00:00:00 2001 From: callebtc <93376500+callebtc@users.noreply.github.com> Date: Wed, 31 Aug 2022 14:14:46 +0200 Subject: [PATCH] forgot types --- types/types.go | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 types/types.go diff --git a/types/types.go b/types/types.go new file mode 100644 index 0000000..cb745ba --- /dev/null +++ b/types/types.go @@ -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 +}