| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Data.Lightning.Hooks
Documentation
Constructors
| Init | |
Fields
| |
Instances
| FromJSON Init Source # | |
| Generic Init Source # | |
| Show Init Source # | |
| type Rep Init Source # | |
Defined in Data.Lightning.Hooks type Rep Init = D1 ('MetaData "Init" "Data.Lightning.Hooks" "clplug-0.3.1.0-88NRFjkOHTbCuV3xl0kS7v" '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 #
Constructors
| InitConfig | |
Fields
| |
Instances
Instances
| FromJSON Addr Source # | |
| Generic Addr Source # | |
| Show Addr Source # | |
| type Rep Addr Source # | |
Defined in Data.Lightning.Hooks type Rep Addr = D1 ('MetaData "Addr" "Data.Lightning.Hooks" "clplug-0.3.1.0-88NRFjkOHTbCuV3xl0kS7v" '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 #
Instances
| FromJSON PeerConnected Source # | |
Defined in Data.Lightning.Hooks Methods parseJSON :: Value -> Parser PeerConnected # parseJSONList :: Value -> Parser [PeerConnected] # | |
| Generic PeerConnected Source # | |
Defined in Data.Lightning.Hooks Associated Types type Rep PeerConnected :: Type -> Type # | |
| type Rep PeerConnected Source # | |
Defined in Data.Lightning.Hooks type Rep PeerConnected = D1 ('MetaData "PeerConnected" "Data.Lightning.Hooks" "clplug-0.3.1.0-88NRFjkOHTbCuV3xl0kS7v" '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 #
Constructors
| CommitmentRevocation | |
Fields
| |
Instances
Constructors
| DbWrite | |
Fields
| |
Instances
| FromJSON DbWrite Source # | |
| Generic DbWrite Source # | |
| type Rep DbWrite Source # | |
Defined in Data.Lightning.Hooks type Rep DbWrite = D1 ('MetaData "DbWrite" "Data.Lightning.Hooks" "clplug-0.3.1.0-88NRFjkOHTbCuV3xl0kS7v" '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 | |
Instances
| FromJSON InvoicePayment Source # | |
Defined in Data.Lightning.Hooks Methods parseJSON :: Value -> Parser InvoicePayment # parseJSONList :: Value -> Parser [InvoicePayment] # | |
| Generic InvoicePayment Source # | |
Defined in Data.Lightning.Hooks Associated Types type Rep InvoicePayment :: Type -> Type # Methods from :: InvoicePayment -> Rep InvoicePayment x # to :: Rep InvoicePayment x -> InvoicePayment # | |
| type Rep InvoicePayment Source # | |
Defined in Data.Lightning.Hooks type Rep InvoicePayment = D1 ('MetaData "InvoicePayment" "Data.Lightning.Hooks" "clplug-0.3.1.0-88NRFjkOHTbCuV3xl0kS7v" '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 "amount_msat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Msat)))) | |
data OpenChannel Source #
Constructors
| OpenChannel | |
Fields
| |
Instances
data OpenChannel2 Source #
Constructors
| OpenChannel2 | |
Fields
| |
Instances
data OpenChannel2Changed Source #
Constructors
| OpenChannel2Changed | |
Fields
| |
Instances
| FromJSON OpenChannel2Changed Source # | |
Defined in Data.Lightning.Hooks Methods parseJSON :: Value -> Parser OpenChannel2Changed # parseJSONList :: Value -> Parser [OpenChannel2Changed] # | |
| Generic OpenChannel2Changed Source # | |
Defined in Data.Lightning.Hooks Associated Types type Rep OpenChannel2Changed :: Type -> Type # Methods from :: OpenChannel2Changed -> Rep OpenChannel2Changed x # to :: Rep OpenChannel2Changed x -> OpenChannel2Changed # | |
| type Rep OpenChannel2Changed Source # | |
Defined in Data.Lightning.Hooks type Rep OpenChannel2Changed = D1 ('MetaData "OpenChannel2Changed" "Data.Lightning.Hooks" "clplug-0.3.1.0-88NRFjkOHTbCuV3xl0kS7v" '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
| FromJSON OpenChannel2Sign Source # | |
Defined in Data.Lightning.Hooks Methods parseJSON :: Value -> Parser OpenChannel2Sign # parseJSONList :: Value -> Parser [OpenChannel2Sign] # | |
| Generic OpenChannel2Sign Source # | |
Defined in Data.Lightning.Hooks Associated Types type Rep OpenChannel2Sign :: Type -> Type # Methods from :: OpenChannel2Sign -> Rep OpenChannel2Sign x # to :: Rep OpenChannel2Sign x -> OpenChannel2Sign # | |
| type Rep OpenChannel2Sign Source # | |
Defined in Data.Lightning.Hooks type Rep OpenChannel2Sign = D1 ('MetaData "OpenChannel2Sign" "Data.Lightning.Hooks" "clplug-0.3.1.0-88NRFjkOHTbCuV3xl0kS7v" '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 #
Constructors
| RbfChannel | |
Fields
| |
Instances
data HtlcAccepted Source #
Constructors
| HtlcAccepted | |
Instances
| FromJSON HtlcAccepted Source # | |
Defined in Data.Lightning.Hooks | |
| Generic HtlcAccepted Source # | |
Defined in Data.Lightning.Hooks Associated Types type Rep HtlcAccepted :: Type -> Type # | |
| type Rep HtlcAccepted Source # | |
Defined in Data.Lightning.Hooks type Rep HtlcAccepted = D1 ('MetaData "HtlcAccepted" "Data.Lightning.Hooks" "clplug-0.3.1.0-88NRFjkOHTbCuV3xl0kS7v" '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)))) | |
Constructors
| HtlcOnion | |
Fields
| |
Instances
| FromJSON HtlcOnion Source # | |
| Generic HtlcOnion Source # | |
| type Rep HtlcOnion Source # | |
Defined in Data.Lightning.Hooks type Rep HtlcOnion = D1 ('MetaData "HtlcOnion" "Data.Lightning.Hooks" "clplug-0.3.1.0-88NRFjkOHTbCuV3xl0kS7v" '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))))) | |
Constructors
| Htlc | |
Fields
| |
Instances
| FromJSON Htlc Source # | |
| Generic Htlc Source # | |
| type Rep Htlc Source # | |
Defined in Data.Lightning.Hooks type Rep Htlc = D1 ('MetaData "Htlc" "Data.Lightning.Hooks" "clplug-0.3.1.0-88NRFjkOHTbCuV3xl0kS7v" '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 #
Instances
| FromJSON RpcCommand Source # | |
Defined in Data.Lightning.Hooks | |
| Generic RpcCommand Source # | |
Defined in Data.Lightning.Hooks Associated Types type Rep RpcCommand :: Type -> Type # | |
| type Rep RpcCommand Source # | |
Defined in Data.Lightning.Hooks type Rep RpcCommand = D1 ('MetaData "RpcCommand" "Data.Lightning.Hooks" "clplug-0.3.1.0-88NRFjkOHTbCuV3xl0kS7v" '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)))) | |
Instances
| FromJSON CustomMsg Source # | |
| Generic CustomMsg Source # | |
| type Rep CustomMsg Source # | |
Defined in Data.Lightning.Hooks type Rep CustomMsg = D1 ('MetaData "CustomMsg" "Data.Lightning.Hooks" "clplug-0.3.1.0-88NRFjkOHTbCuV3xl0kS7v" '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 #
Constructors
| OnionMessageRecv | |
Fields
| |
Instances
data OnionMessageRecvSecret Source #
Constructors
| OnionMessageRecvSecret | |
Fields
| |
Instances
Instances
| FromJSON MsgHop Source # | |
| Generic MsgHop Source # | |
| type Rep MsgHop Source # | |
Defined in Data.Lightning.Hooks type Rep MsgHop = D1 ('MetaData "MsgHop" "Data.Lightning.Hooks" "clplug-0.3.1.0-88NRFjkOHTbCuV3xl0kS7v" '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)))) | |