clplug-0.3.3.0: Create Core Lightning Plugins
Safe HaskellSafe-Inferred
LanguageHaskell2010

Data.Lightning.Hooks

Documentation

data Init Source #

Constructors

Init 

Instances

Instances details
FromJSON Init Source # 
Instance details

Defined in Data.Lightning.Hooks

Generic Init Source # 
Instance details

Defined in Data.Lightning.Hooks

Associated Types

type Rep Init :: Type -> Type #

Methods

from :: Init -> Rep Init x #

to :: Rep Init x -> Init #

Show Init Source # 
Instance details

Defined in Data.Lightning.Hooks

Methods

showsPrec :: Int -> Init -> ShowS #

show :: Init -> String #

showList :: [Init] -> ShowS #

type Rep Init Source # 
Instance details

Defined in Data.Lightning.Hooks

type Rep Init = D1 ('MetaData "Init" "Data.Lightning.Hooks" "clplug-0.3.3.0-2h4TmP7gsDNAf5Hc6NCMUh" 'False) (C1 ('MetaCons "Init" 'PrefixI 'True) (S1 ('MetaSel ('Just "options") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Object) :*: S1 ('MetaSel ('Just "configuration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 InitConfig)))

data InitConfig Source #

Instances

Instances details
FromJSON InitConfig Source # 
Instance details

Defined in Data.Lightning.Hooks

Generic InitConfig Source # 
Instance details

Defined in Data.Lightning.Hooks

Associated Types

type Rep InitConfig :: Type -> Type #

Show InitConfig Source # 
Instance details

Defined in Data.Lightning.Hooks

type Rep InitConfig Source # 
Instance details

Defined in Data.Lightning.Hooks

data Addr Source #

Constructors

Addr 

Fields

Instances

Instances details
FromJSON Addr Source # 
Instance details

Defined in Data.Lightning.Hooks

Generic Addr Source # 
Instance details

Defined in Data.Lightning.Hooks

Associated Types

type Rep Addr :: Type -> Type #

Methods

from :: Addr -> Rep Addr x #

to :: Rep Addr x -> Addr #

Show Addr Source # 
Instance details

Defined in Data.Lightning.Hooks

Methods

showsPrec :: Int -> Addr -> ShowS #

show :: Addr -> String #

showList :: [Addr] -> ShowS #

type Rep Addr Source # 
Instance details

Defined in Data.Lightning.Hooks

type Rep Addr = D1 ('MetaData "Addr" "Data.Lightning.Hooks" "clplug-0.3.3.0-2h4TmP7gsDNAf5Hc6NCMUh" 'False) (C1 ('MetaCons "Addr" 'PrefixI 'True) (S1 ('MetaSel ('Just "_type") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just "address") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "port") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int))))

data PeerConnected Source #

Constructors

PeerConnected 

Fields

Instances

Instances details
FromJSON PeerConnected Source # 
Instance details

Defined in Data.Lightning.Hooks

Generic PeerConnected Source # 
Instance details

Defined in Data.Lightning.Hooks

Associated Types

type Rep PeerConnected :: Type -> Type #

type Rep PeerConnected Source # 
Instance details

Defined in Data.Lightning.Hooks

type Rep PeerConnected = D1 ('MetaData "PeerConnected" "Data.Lightning.Hooks" "clplug-0.3.3.0-2h4TmP7gsDNAf5Hc6NCMUh" 'False) (C1 ('MetaCons "PeerConnected" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "direction") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "addr") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "features") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))))

data CommitmentRevocation Source #

Instances

Instances details
FromJSON CommitmentRevocation Source # 
Instance details

Defined in Data.Lightning.Hooks

Generic CommitmentRevocation Source # 
Instance details

Defined in Data.Lightning.Hooks

Associated Types

type Rep CommitmentRevocation :: Type -> Type #

type Rep CommitmentRevocation Source # 
Instance details

Defined in Data.Lightning.Hooks

type Rep CommitmentRevocation = D1 ('MetaData "CommitmentRevocation" "Data.Lightning.Hooks" "clplug-0.3.3.0-2h4TmP7gsDNAf5Hc6NCMUh" 'False) (C1 ('MetaCons "CommitmentRevocation" 'PrefixI 'True) ((S1 ('MetaSel ('Just "commitment_txid") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "penalty_tx") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "channel_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "commitnum") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int))))

data DbWrite Source #

Constructors

DbWrite 

Fields

Instances

Instances details
FromJSON DbWrite Source # 
Instance details

Defined in Data.Lightning.Hooks

Generic DbWrite Source # 
Instance details

Defined in Data.Lightning.Hooks

Associated Types

type Rep DbWrite :: Type -> Type #

Methods

from :: DbWrite -> Rep DbWrite x #

to :: Rep DbWrite x -> DbWrite #

type Rep DbWrite Source # 
Instance details

Defined in Data.Lightning.Hooks

type Rep DbWrite = D1 ('MetaData "DbWrite" "Data.Lightning.Hooks" "clplug-0.3.3.0-2h4TmP7gsDNAf5Hc6NCMUh" 'False) (C1 ('MetaCons "DbWrite" 'PrefixI 'True) (S1 ('MetaSel ('Just "data_version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "writes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Text])))

data InvoicePayment Source #

Constructors

InvoicePayment 

Fields

Instances

Instances details
FromJSON InvoicePayment Source # 
Instance details

Defined in Data.Lightning.Hooks

Generic InvoicePayment Source # 
Instance details

Defined in Data.Lightning.Hooks

Associated Types

type Rep InvoicePayment :: Type -> Type #

type Rep InvoicePayment Source # 
Instance details

Defined in Data.Lightning.Hooks

type Rep InvoicePayment = D1 ('MetaData "InvoicePayment" "Data.Lightning.Hooks" "clplug-0.3.3.0-2h4TmP7gsDNAf5Hc6NCMUh" 'False) (C1 ('MetaCons "InvoicePayment" 'PrefixI 'True) ((S1 ('MetaSel ('Just "label") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "preimage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "msat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "extratlvs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Value))))

data OpenChannel Source #

Instances

Instances details
FromJSON OpenChannel Source # 
Instance details

Defined in Data.Lightning.Hooks

Generic OpenChannel Source # 
Instance details

Defined in Data.Lightning.Hooks

Associated Types

type Rep OpenChannel :: Type -> Type #

type Rep OpenChannel Source # 
Instance details

Defined in Data.Lightning.Hooks

data OpenChannel2 Source #

Instances

Instances details
FromJSON OpenChannel2 Source # 
Instance details

Defined in Data.Lightning.Hooks

Generic OpenChannel2 Source # 
Instance details

Defined in Data.Lightning.Hooks

Associated Types

type Rep OpenChannel2 :: Type -> Type #

type Rep OpenChannel2 Source # 
Instance details

Defined in Data.Lightning.Hooks

type Rep OpenChannel2 = D1 ('MetaData "OpenChannel2" "Data.Lightning.Hooks" "clplug-0.3.3.0-2h4TmP7gsDNAf5Hc6NCMUh" 'False) (C1 ('MetaCons "OpenChannel2" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "channel_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "their_funding_msat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Msat) :*: S1 ('MetaSel ('Just "dust_limit_msat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Msat))) :*: ((S1 ('MetaSel ('Just "max_htlc_value_in_flight_msat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Msat) :*: S1 ('MetaSel ('Just "htlc_minimum_msat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Msat)) :*: (S1 ('MetaSel ('Just "funding_feerate_per_kw") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: (S1 ('MetaSel ('Just "commitment_feerate_per_kw") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "feerate_our_max") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int))))) :*: (((S1 ('MetaSel ('Just "feerate_our_min") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "to_self_delay") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)) :*: (S1 ('MetaSel ('Just "max_accepted_htlcs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "channel_flags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int))) :*: ((S1 ('MetaSel ('Just "locktime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "channel_max_msat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Msat)) :*: (S1 ('MetaSel ('Just "requested_lease_msat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Msat) :*: (S1 ('MetaSel ('Just "lease_blockheight_start") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "node_blockheight") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)))))))

data OpenChannel2Changed Source #

Constructors

OpenChannel2Changed 

Fields

Instances

Instances details
FromJSON OpenChannel2Changed Source # 
Instance details

Defined in Data.Lightning.Hooks

Generic OpenChannel2Changed Source # 
Instance details

Defined in Data.Lightning.Hooks

Associated Types

type Rep OpenChannel2Changed :: Type -> Type #

type Rep OpenChannel2Changed Source # 
Instance details

Defined in Data.Lightning.Hooks

type Rep OpenChannel2Changed = D1 ('MetaData "OpenChannel2Changed" "Data.Lightning.Hooks" "clplug-0.3.3.0-2h4TmP7gsDNAf5Hc6NCMUh" 'False) (C1 ('MetaCons "OpenChannel2Changed" 'PrefixI 'True) (S1 ('MetaSel ('Just "channel_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "psbt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

data OpenChannel2Sign Source #

Constructors

OpenChannel2Sign 

Fields

Instances

Instances details
FromJSON OpenChannel2Sign Source # 
Instance details

Defined in Data.Lightning.Hooks

Generic OpenChannel2Sign Source # 
Instance details

Defined in Data.Lightning.Hooks

Associated Types

type Rep OpenChannel2Sign :: Type -> Type #

type Rep OpenChannel2Sign Source # 
Instance details

Defined in Data.Lightning.Hooks

type Rep OpenChannel2Sign = D1 ('MetaData "OpenChannel2Sign" "Data.Lightning.Hooks" "clplug-0.3.3.0-2h4TmP7gsDNAf5Hc6NCMUh" 'False) (C1 ('MetaCons "OpenChannel2Sign" 'PrefixI 'True) (S1 ('MetaSel ('Just "channel_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "psbt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

data RbfChannel Source #

Instances

Instances details
FromJSON RbfChannel Source # 
Instance details

Defined in Data.Lightning.Hooks

Generic RbfChannel Source # 
Instance details

Defined in Data.Lightning.Hooks

Associated Types

type Rep RbfChannel :: Type -> Type #

type Rep RbfChannel Source # 
Instance details

Defined in Data.Lightning.Hooks

data HtlcAccepted Source #

Constructors

HtlcAccepted 

Fields

Instances

Instances details
FromJSON HtlcAccepted Source # 
Instance details

Defined in Data.Lightning.Hooks

Generic HtlcAccepted Source # 
Instance details

Defined in Data.Lightning.Hooks

Associated Types

type Rep HtlcAccepted :: Type -> Type #

type Rep HtlcAccepted Source # 
Instance details

Defined in Data.Lightning.Hooks

type Rep HtlcAccepted = D1 ('MetaData "HtlcAccepted" "Data.Lightning.Hooks" "clplug-0.3.3.0-2h4TmP7gsDNAf5Hc6NCMUh" 'False) (C1 ('MetaCons "HtlcAccepted" 'PrefixI 'True) (S1 ('MetaSel ('Just "onion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 HtlcOnion) :*: (S1 ('MetaSel ('Just "htlc") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Htlc) :*: S1 ('MetaSel ('Just "forward_to") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))))

data HtlcOnion Source #

Instances

Instances details
FromJSON HtlcOnion Source # 
Instance details

Defined in Data.Lightning.Hooks

Generic HtlcOnion Source # 
Instance details

Defined in Data.Lightning.Hooks

Associated Types

type Rep HtlcOnion :: Type -> Type #

type Rep HtlcOnion Source # 
Instance details

Defined in Data.Lightning.Hooks

type Rep HtlcOnion = D1 ('MetaData "HtlcOnion" "Data.Lightning.Hooks" "clplug-0.3.3.0-2h4TmP7gsDNAf5Hc6NCMUh" 'False) (C1 ('MetaCons "HtlcOnion" 'PrefixI 'True) ((S1 ('MetaSel ('Just "payload") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just "short_channel_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "forward_msat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Msat))) :*: (S1 ('MetaSel ('Just "outgoing_cltv_value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Msat) :*: (S1 ('MetaSel ('Just "shared_secret") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "next_ontion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))))

data Htlc Source #

Instances

Instances details
FromJSON Htlc Source # 
Instance details

Defined in Data.Lightning.Hooks

Generic Htlc Source # 
Instance details

Defined in Data.Lightning.Hooks

Associated Types

type Rep Htlc :: Type -> Type #

Methods

from :: Htlc -> Rep Htlc x #

to :: Rep Htlc x -> Htlc #

type Rep Htlc Source # 
Instance details

Defined in Data.Lightning.Hooks

type Rep Htlc = D1 ('MetaData "Htlc" "Data.Lightning.Hooks" "clplug-0.3.3.0-2h4TmP7gsDNAf5Hc6NCMUh" 'False) (C1 ('MetaCons "Htlc" 'PrefixI 'True) ((S1 ('MetaSel ('Just "short_channel_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just "_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "amount_msat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Msat))) :*: (S1 ('MetaSel ('Just "cltv_expiry") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: (S1 ('MetaSel ('Just "cltv_expiry_relative") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "payment_hash") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))))

data RpcCommand Source #

Constructors

RpcCommand 

Fields

Instances

Instances details
FromJSON RpcCommand Source # 
Instance details

Defined in Data.Lightning.Hooks

Generic RpcCommand Source # 
Instance details

Defined in Data.Lightning.Hooks

Associated Types

type Rep RpcCommand :: Type -> Type #

type Rep RpcCommand Source # 
Instance details

Defined in Data.Lightning.Hooks

type Rep RpcCommand = D1 ('MetaData "RpcCommand" "Data.Lightning.Hooks" "clplug-0.3.3.0-2h4TmP7gsDNAf5Hc6NCMUh" 'False) (C1 ('MetaCons "RpcCommand" 'PrefixI 'True) (S1 ('MetaSel ('Just "_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: (S1 ('MetaSel ('Just "method") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "params") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Value))))

data CustomMsg Source #

Constructors

CustomMsg 

Fields

Instances

Instances details
FromJSON CustomMsg Source # 
Instance details

Defined in Data.Lightning.Hooks

Generic CustomMsg Source # 
Instance details

Defined in Data.Lightning.Hooks

Associated Types

type Rep CustomMsg :: Type -> Type #

type Rep CustomMsg Source # 
Instance details

Defined in Data.Lightning.Hooks

type Rep CustomMsg = D1 ('MetaData "CustomMsg" "Data.Lightning.Hooks" "clplug-0.3.3.0-2h4TmP7gsDNAf5Hc6NCMUh" 'False) (C1 ('MetaCons "CustomMsg" 'PrefixI 'True) (S1 ('MetaSel ('Just "peer_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "payload") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

data OnionMessageRecv Source #

Instances

Instances details
FromJSON OnionMessageRecv Source # 
Instance details

Defined in Data.Lightning.Hooks

Generic OnionMessageRecv Source # 
Instance details

Defined in Data.Lightning.Hooks

Associated Types

type Rep OnionMessageRecv :: Type -> Type #

type Rep OnionMessageRecv Source # 
Instance details

Defined in Data.Lightning.Hooks

type Rep OnionMessageRecv = D1 ('MetaData "OnionMessageRecv" "Data.Lightning.Hooks" "clplug-0.3.3.0-2h4TmP7gsDNAf5Hc6NCMUh" 'False) (C1 ('MetaCons "OnionMessageRecv" 'PrefixI 'True) ((S1 ('MetaSel ('Just "reply_first_node") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just "reply_blinding") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "reply_path") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [MsgHop]))) :*: ((S1 ('MetaSel ('Just "invoice_request") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "invoice") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "invoice_error") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "unknown_fields") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Value)))))

data OnionMessageRecvSecret Source #

Instances

Instances details
FromJSON OnionMessageRecvSecret Source # 
Instance details

Defined in Data.Lightning.Hooks

Generic OnionMessageRecvSecret Source # 
Instance details

Defined in Data.Lightning.Hooks

Associated Types

type Rep OnionMessageRecvSecret :: Type -> Type #

type Rep OnionMessageRecvSecret Source # 
Instance details

Defined in Data.Lightning.Hooks

type Rep OnionMessageRecvSecret = D1 ('MetaData "OnionMessageRecvSecret" "Data.Lightning.Hooks" "clplug-0.3.3.0-2h4TmP7gsDNAf5Hc6NCMUh" 'False) (C1 ('MetaCons "OnionMessageRecvSecret" 'PrefixI 'True) (((S1 ('MetaSel ('Just "pathsecret") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "reply_first_node") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "reply_blinding") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "reply_path") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [MsgHop]))) :*: ((S1 ('MetaSel ('Just "invoice_request") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "invoice") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "invoice_error") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "unknown_fields") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Value)))))

data MsgHop Source #

Constructors

MsgHop 

Instances

Instances details
FromJSON MsgHop Source # 
Instance details

Defined in Data.Lightning.Hooks

Generic MsgHop Source # 
Instance details

Defined in Data.Lightning.Hooks

Associated Types

type Rep MsgHop :: Type -> Type #

Methods

from :: MsgHop -> Rep MsgHop x #

to :: Rep MsgHop x -> MsgHop #

type Rep MsgHop Source # 
Instance details

Defined in Data.Lightning.Hooks

type Rep MsgHop = D1 ('MetaData "MsgHop" "Data.Lightning.Hooks" "clplug-0.3.3.0-2h4TmP7gsDNAf5Hc6NCMUh" 'False) (C1 ('MetaCons "MsgHop" 'PrefixI 'True) (S1 ('MetaSel ('Just "_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just "encrypted_recipient_data") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "blinding") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))))