Skip to content

Commit 428deda

Browse files
committed
lnd-client proto Data
1 parent e7c611f commit 428deda

30 files changed

+1561
-390
lines changed

pub/lnd-client/src/Proto/Autopilotrpc/Autopilot.hs

Lines changed: 46 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{- This file was auto-generated from autopilotrpc/autopilot.proto by the proto-lens-protoc program. -}
2-
{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies, DeriveGeneric#-}
2+
{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies, DeriveDataTypeable, DeriveGeneric#-}
33
{-# OPTIONS_GHC -Wno-unused-imports#-}
44
{-# OPTIONS_GHC -Wno-duplicate-exports#-}
55
{-# OPTIONS_GHC -Wno-dodgy-exports#-}
@@ -13,6 +13,7 @@ module Proto.Autopilotrpc.Autopilot (
1313
) where
1414
import qualified Data.ProtoLens.Runtime.Control.DeepSeq as Control.DeepSeq
1515
import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Prism as Data.ProtoLens.Prism
16+
import qualified Data.Data
1617
import qualified GHC.Generics
1718
import qualified Data.ProtoLens.Runtime.Prelude as Prelude
1819
import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
@@ -43,7 +44,10 @@ import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
4344
data ModifyStatusRequest
4445
= ModifyStatusRequest'_constructor {_ModifyStatusRequest'enable :: !Prelude.Bool,
4546
_ModifyStatusRequest'_unknownFields :: !Data.ProtoLens.FieldSet}
46-
deriving stock (Prelude.Eq, Prelude.Ord, GHC.Generics.Generic)
47+
deriving stock (Prelude.Eq,
48+
Prelude.Ord,
49+
Data.Data.Data,
50+
GHC.Generics.Generic)
4751
instance Prelude.Show ModifyStatusRequest where
4852
showsPrec _ __x __s
4953
= Prelude.showChar
@@ -148,7 +152,10 @@ instance Control.DeepSeq.NFData ModifyStatusRequest where
148152
-}
149153
data ModifyStatusResponse
150154
= ModifyStatusResponse'_constructor {_ModifyStatusResponse'_unknownFields :: !Data.ProtoLens.FieldSet}
151-
deriving stock (Prelude.Eq, Prelude.Ord, GHC.Generics.Generic)
155+
deriving stock (Prelude.Eq,
156+
Prelude.Ord,
157+
Data.Data.Data,
158+
GHC.Generics.Generic)
152159
instance Prelude.Show ModifyStatusResponse where
153160
showsPrec _ __x __s
154161
= Prelude.showChar
@@ -219,7 +226,10 @@ data QueryScoresRequest
219226
= QueryScoresRequest'_constructor {_QueryScoresRequest'pubkeys :: !(Data.Vector.Vector Data.Text.Text),
220227
_QueryScoresRequest'ignoreLocalState :: !Prelude.Bool,
221228
_QueryScoresRequest'_unknownFields :: !Data.ProtoLens.FieldSet}
222-
deriving stock (Prelude.Eq, Prelude.Ord, GHC.Generics.Generic)
229+
deriving stock (Prelude.Eq,
230+
Prelude.Ord,
231+
Data.Data.Data,
232+
GHC.Generics.Generic)
223233
instance Prelude.Show QueryScoresRequest where
224234
showsPrec _ __x __s
225235
= Prelude.showChar
@@ -396,7 +406,10 @@ instance Control.DeepSeq.NFData QueryScoresRequest where
396406
data QueryScoresResponse
397407
= QueryScoresResponse'_constructor {_QueryScoresResponse'results :: !(Data.Vector.Vector QueryScoresResponse'HeuristicResult),
398408
_QueryScoresResponse'_unknownFields :: !Data.ProtoLens.FieldSet}
399-
deriving stock (Prelude.Eq, Prelude.Ord, GHC.Generics.Generic)
409+
deriving stock (Prelude.Eq,
410+
Prelude.Ord,
411+
Data.Data.Data,
412+
GHC.Generics.Generic)
400413
instance Prelude.Show QueryScoresResponse where
401414
showsPrec _ __x __s
402415
= Prelude.showChar
@@ -536,7 +549,10 @@ data QueryScoresResponse'HeuristicResult
536549
= QueryScoresResponse'HeuristicResult'_constructor {_QueryScoresResponse'HeuristicResult'heuristic :: !Data.Text.Text,
537550
_QueryScoresResponse'HeuristicResult'scores :: !(Data.Map.Map Data.Text.Text Prelude.Double),
538551
_QueryScoresResponse'HeuristicResult'_unknownFields :: !Data.ProtoLens.FieldSet}
539-
deriving stock (Prelude.Eq, Prelude.Ord, GHC.Generics.Generic)
552+
deriving stock (Prelude.Eq,
553+
Prelude.Ord,
554+
Data.Data.Data,
555+
GHC.Generics.Generic)
540556
instance Prelude.Show QueryScoresResponse'HeuristicResult where
541557
showsPrec _ __x __s
542558
= Prelude.showChar
@@ -721,7 +737,10 @@ data QueryScoresResponse'HeuristicResult'ScoresEntry
721737
= QueryScoresResponse'HeuristicResult'ScoresEntry'_constructor {_QueryScoresResponse'HeuristicResult'ScoresEntry'key :: !Data.Text.Text,
722738
_QueryScoresResponse'HeuristicResult'ScoresEntry'value :: !Prelude.Double,
723739
_QueryScoresResponse'HeuristicResult'ScoresEntry'_unknownFields :: !Data.ProtoLens.FieldSet}
724-
deriving stock (Prelude.Eq, Prelude.Ord, GHC.Generics.Generic)
740+
deriving stock (Prelude.Eq,
741+
Prelude.Ord,
742+
Data.Data.Data,
743+
GHC.Generics.Generic)
725744
instance Prelude.Show QueryScoresResponse'HeuristicResult'ScoresEntry where
726745
showsPrec _ __x __s
727746
= Prelude.showChar
@@ -884,7 +903,10 @@ data SetScoresRequest
884903
= SetScoresRequest'_constructor {_SetScoresRequest'heuristic :: !Data.Text.Text,
885904
_SetScoresRequest'scores :: !(Data.Map.Map Data.Text.Text Prelude.Double),
886905
_SetScoresRequest'_unknownFields :: !Data.ProtoLens.FieldSet}
887-
deriving stock (Prelude.Eq, Prelude.Ord, GHC.Generics.Generic)
906+
deriving stock (Prelude.Eq,
907+
Prelude.Ord,
908+
Data.Data.Data,
909+
GHC.Generics.Generic)
888910
instance Prelude.Show SetScoresRequest where
889911
showsPrec _ __x __s
890912
= Prelude.showChar
@@ -1064,7 +1086,10 @@ data SetScoresRequest'ScoresEntry
10641086
= SetScoresRequest'ScoresEntry'_constructor {_SetScoresRequest'ScoresEntry'key :: !Data.Text.Text,
10651087
_SetScoresRequest'ScoresEntry'value :: !Prelude.Double,
10661088
_SetScoresRequest'ScoresEntry'_unknownFields :: !Data.ProtoLens.FieldSet}
1067-
deriving stock (Prelude.Eq, Prelude.Ord, GHC.Generics.Generic)
1089+
deriving stock (Prelude.Eq,
1090+
Prelude.Ord,
1091+
Data.Data.Data,
1092+
GHC.Generics.Generic)
10681093
instance Prelude.Show SetScoresRequest'ScoresEntry where
10691094
showsPrec _ __x __s
10701095
= Prelude.showChar
@@ -1216,7 +1241,10 @@ instance Control.DeepSeq.NFData SetScoresRequest'ScoresEntry where
12161241
-}
12171242
data SetScoresResponse
12181243
= SetScoresResponse'_constructor {_SetScoresResponse'_unknownFields :: !Data.ProtoLens.FieldSet}
1219-
deriving stock (Prelude.Eq, Prelude.Ord, GHC.Generics.Generic)
1244+
deriving stock (Prelude.Eq,
1245+
Prelude.Ord,
1246+
Data.Data.Data,
1247+
GHC.Generics.Generic)
12201248
instance Prelude.Show SetScoresResponse where
12211249
showsPrec _ __x __s
12221250
= Prelude.showChar
@@ -1282,7 +1310,10 @@ instance Control.DeepSeq.NFData SetScoresResponse where
12821310
-}
12831311
data StatusRequest
12841312
= StatusRequest'_constructor {_StatusRequest'_unknownFields :: !Data.ProtoLens.FieldSet}
1285-
deriving stock (Prelude.Eq, Prelude.Ord, GHC.Generics.Generic)
1313+
deriving stock (Prelude.Eq,
1314+
Prelude.Ord,
1315+
Data.Data.Data,
1316+
GHC.Generics.Generic)
12861317
instance Prelude.Show StatusRequest where
12871318
showsPrec _ __x __s
12881319
= Prelude.showChar
@@ -1347,7 +1378,10 @@ instance Control.DeepSeq.NFData StatusRequest where
13471378
data StatusResponse
13481379
= StatusResponse'_constructor {_StatusResponse'active :: !Prelude.Bool,
13491380
_StatusResponse'_unknownFields :: !Data.ProtoLens.FieldSet}
1350-
deriving stock (Prelude.Eq, Prelude.Ord, GHC.Generics.Generic)
1381+
deriving stock (Prelude.Eq,
1382+
Prelude.Ord,
1383+
Data.Data.Data,
1384+
GHC.Generics.Generic)
13511385
instance Prelude.Show StatusResponse where
13521386
showsPrec _ __x __s
13531387
= Prelude.showChar

pub/lnd-client/src/Proto/Autopilotrpc/Autopilot_Fields.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{- This file was auto-generated from autopilotrpc/autopilot.proto by the proto-lens-protoc program. -}
2-
{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies, DeriveGeneric#-}
2+
{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies, DeriveDataTypeable, DeriveGeneric#-}
33
{-# OPTIONS_GHC -Wno-unused-imports#-}
44
{-# OPTIONS_GHC -Wno-duplicate-exports#-}
55
{-# OPTIONS_GHC -Wno-dodgy-exports#-}

pub/lnd-client/src/Proto/Chainrpc/Chainnotifier.hs

Lines changed: 40 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{- This file was auto-generated from chainrpc/chainnotifier.proto by the proto-lens-protoc program. -}
2-
{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies, DeriveGeneric#-}
2+
{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies, DeriveDataTypeable, DeriveGeneric#-}
33
{-# OPTIONS_GHC -Wno-unused-imports#-}
44
{-# OPTIONS_GHC -Wno-duplicate-exports#-}
55
{-# OPTIONS_GHC -Wno-dodgy-exports#-}
@@ -12,6 +12,7 @@ module Proto.Chainrpc.Chainnotifier (
1212
) where
1313
import qualified Data.ProtoLens.Runtime.Control.DeepSeq as Control.DeepSeq
1414
import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Prism as Data.ProtoLens.Prism
15+
import qualified Data.Data
1516
import qualified GHC.Generics
1617
import qualified Data.ProtoLens.Runtime.Prelude as Prelude
1718
import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
@@ -44,7 +45,10 @@ data BlockEpoch
4445
= BlockEpoch'_constructor {_BlockEpoch'hash :: !Data.ByteString.ByteString,
4546
_BlockEpoch'height :: !Data.Word.Word32,
4647
_BlockEpoch'_unknownFields :: !Data.ProtoLens.FieldSet}
47-
deriving stock (Prelude.Eq, Prelude.Ord, GHC.Generics.Generic)
48+
deriving stock (Prelude.Eq,
49+
Prelude.Ord,
50+
Data.Data.Data,
51+
GHC.Generics.Generic)
4852
instance Prelude.Show BlockEpoch where
4953
showsPrec _ __x __s
5054
= Prelude.showChar
@@ -197,7 +201,10 @@ data ConfDetails
197201
_ConfDetails'blockHeight :: !Data.Word.Word32,
198202
_ConfDetails'txIndex :: !Data.Word.Word32,
199203
_ConfDetails'_unknownFields :: !Data.ProtoLens.FieldSet}
200-
deriving stock (Prelude.Eq, Prelude.Ord, GHC.Generics.Generic)
204+
deriving stock (Prelude.Eq,
205+
Prelude.Ord,
206+
Data.Data.Data,
207+
GHC.Generics.Generic)
201208
instance Prelude.Show ConfDetails where
202209
showsPrec _ __x __s
203210
= Prelude.showChar
@@ -435,7 +442,10 @@ instance Control.DeepSeq.NFData ConfDetails where
435442
data ConfEvent
436443
= ConfEvent'_constructor {_ConfEvent'event :: !(Prelude.Maybe ConfEvent'Event),
437444
_ConfEvent'_unknownFields :: !Data.ProtoLens.FieldSet}
438-
deriving stock (Prelude.Eq, Prelude.Ord, GHC.Generics.Generic)
445+
deriving stock (Prelude.Eq,
446+
Prelude.Ord,
447+
Data.Data.Data,
448+
GHC.Generics.Generic)
439449
instance Prelude.Show ConfEvent where
440450
showsPrec _ __x __s
441451
= Prelude.showChar
@@ -447,6 +457,7 @@ data ConfEvent'Event
447457
deriving stock (Prelude.Show,
448458
Prelude.Eq,
449459
Prelude.Ord,
460+
Data.Data.Data,
450461
GHC.Generics.Generic)
451462
instance Data.ProtoLens.Field.HasField ConfEvent "maybe'event" (Prelude.Maybe ConfEvent'Event) where
452463
fieldOf _
@@ -653,7 +664,10 @@ data ConfRequest
653664
_ConfRequest'numConfs :: !Data.Word.Word32,
654665
_ConfRequest'heightHint :: !Data.Word.Word32,
655666
_ConfRequest'_unknownFields :: !Data.ProtoLens.FieldSet}
656-
deriving stock (Prelude.Eq, Prelude.Ord, GHC.Generics.Generic)
667+
deriving stock (Prelude.Eq,
668+
Prelude.Ord,
669+
Data.Data.Data,
670+
GHC.Generics.Generic)
657671
instance Prelude.Show ConfRequest where
658672
showsPrec _ __x __s
659673
= Prelude.showChar
@@ -887,7 +901,10 @@ data Outpoint
887901
= Outpoint'_constructor {_Outpoint'hash :: !Data.ByteString.ByteString,
888902
_Outpoint'index :: !Data.Word.Word32,
889903
_Outpoint'_unknownFields :: !Data.ProtoLens.FieldSet}
890-
deriving stock (Prelude.Eq, Prelude.Ord, GHC.Generics.Generic)
904+
deriving stock (Prelude.Eq,
905+
Prelude.Ord,
906+
Data.Data.Data,
907+
GHC.Generics.Generic)
891908
instance Prelude.Show Outpoint where
892909
showsPrec _ __x __s
893910
= Prelude.showChar
@@ -1030,7 +1047,10 @@ instance Control.DeepSeq.NFData Outpoint where
10301047
-}
10311048
data Reorg
10321049
= Reorg'_constructor {_Reorg'_unknownFields :: !Data.ProtoLens.FieldSet}
1033-
deriving stock (Prelude.Eq, Prelude.Ord, GHC.Generics.Generic)
1050+
deriving stock (Prelude.Eq,
1051+
Prelude.Ord,
1052+
Data.Data.Data,
1053+
GHC.Generics.Generic)
10341054
instance Prelude.Show Reorg where
10351055
showsPrec _ __x __s
10361056
= Prelude.showChar
@@ -1101,7 +1121,10 @@ data SpendDetails
11011121
_SpendDetails'spendingInputIndex :: !Data.Word.Word32,
11021122
_SpendDetails'spendingHeight :: !Data.Word.Word32,
11031123
_SpendDetails'_unknownFields :: !Data.ProtoLens.FieldSet}
1104-
deriving stock (Prelude.Eq, Prelude.Ord, GHC.Generics.Generic)
1124+
deriving stock (Prelude.Eq,
1125+
Prelude.Ord,
1126+
Data.Data.Data,
1127+
GHC.Generics.Generic)
11051128
instance Prelude.Show SpendDetails where
11061129
showsPrec _ __x __s
11071130
= Prelude.showChar
@@ -1407,7 +1430,10 @@ instance Control.DeepSeq.NFData SpendDetails where
14071430
data SpendEvent
14081431
= SpendEvent'_constructor {_SpendEvent'event :: !(Prelude.Maybe SpendEvent'Event),
14091432
_SpendEvent'_unknownFields :: !Data.ProtoLens.FieldSet}
1410-
deriving stock (Prelude.Eq, Prelude.Ord, GHC.Generics.Generic)
1433+
deriving stock (Prelude.Eq,
1434+
Prelude.Ord,
1435+
Data.Data.Data,
1436+
GHC.Generics.Generic)
14111437
instance Prelude.Show SpendEvent where
14121438
showsPrec _ __x __s
14131439
= Prelude.showChar
@@ -1419,6 +1445,7 @@ data SpendEvent'Event
14191445
deriving stock (Prelude.Show,
14201446
Prelude.Eq,
14211447
Prelude.Ord,
1448+
Data.Data.Data,
14221449
GHC.Generics.Generic)
14231450
instance Data.ProtoLens.Field.HasField SpendEvent "maybe'event" (Prelude.Maybe SpendEvent'Event) where
14241451
fieldOf _
@@ -1626,7 +1653,10 @@ data SpendRequest
16261653
_SpendRequest'script :: !Data.ByteString.ByteString,
16271654
_SpendRequest'heightHint :: !Data.Word.Word32,
16281655
_SpendRequest'_unknownFields :: !Data.ProtoLens.FieldSet}
1629-
deriving stock (Prelude.Eq, Prelude.Ord, GHC.Generics.Generic)
1656+
deriving stock (Prelude.Eq,
1657+
Prelude.Ord,
1658+
Data.Data.Data,
1659+
GHC.Generics.Generic)
16301660
instance Prelude.Show SpendRequest where
16311661
showsPrec _ __x __s
16321662
= Prelude.showChar

pub/lnd-client/src/Proto/Chainrpc/Chainnotifier_Fields.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{- This file was auto-generated from chainrpc/chainnotifier.proto by the proto-lens-protoc program. -}
2-
{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies, DeriveGeneric#-}
2+
{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies, DeriveDataTypeable, DeriveGeneric#-}
33
{-# OPTIONS_GHC -Wno-unused-imports#-}
44
{-# OPTIONS_GHC -Wno-duplicate-exports#-}
55
{-# OPTIONS_GHC -Wno-dodgy-exports#-}

0 commit comments

Comments
 (0)