-
Notifications
You must be signed in to change notification settings - Fork 156
/
cardano-db-sync.cabal
365 lines (332 loc) · 14.3 KB
/
cardano-db-sync.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
cabal-version: 3.0
name: cardano-db-sync
version: 13.2.0.2
synopsis: The Cardano DB Sync node
description: A Cardano node that follows the Cardano chain and inserts data from the
chain into a PostgresQL database.
homepage: https://github.com/IntersectMBO/cardano-db-sync
bug-reports: https://github.com/IntersectMBO/cardano-db-sync/issues
license: Apache-2.0
license-file: LICENSE
author: IOHK Engineering Team
maintainer: operations@iohk.io
copyright: 2020-2023 Input Output Global Inc (IOG).
category: Cryptocurrency
build-type: Custom
extra-source-files: CHANGELOG.md
schema/*.sql
custom-setup
setup-depends:
base
, Cabal
, bytestring
, cardano-crypto-class
, directory
, filepath
library
default-language: Haskell2010
hs-source-dirs: src
ghc-options: -O2
-Wall
-Wcompat
-Wredundant-constraints
-Wincomplete-patterns
-Wincomplete-record-updates
-Wincomplete-uni-patterns
-Wunused-imports
-Wunused-packages
exposed-modules: Cardano.DbSync
Cardano.DbSync.Api
Cardano.DbSync.Api.Ledger
Cardano.DbSync.Api.Types
Cardano.DbSync.Config
Cardano.DbSync.Config.Alonzo
Cardano.DbSync.Config.Byron
Cardano.DbSync.Config.Cardano
Cardano.DbSync.Config.Conway
Cardano.DbSync.Config.Node
Cardano.DbSync.Config.Shelley
Cardano.DbSync.Config.Types
Cardano.DbSync.Database
Cardano.DbSync.DbAction
Cardano.DbSync.Error
Cardano.DbSync.Era
Cardano.DbSync.Era.Byron.Genesis
Cardano.DbSync.Era.Byron.Insert
Cardano.DbSync.Era.Byron.Util
Cardano.DbSync.Era.Cardano.Insert
Cardano.DbSync.Era.Cardano.Util
Cardano.DbSync.Era.Shelley.Adjust
Cardano.DbSync.Era.Shelley.Generic
Cardano.DbSync.Era.Shelley.Generic.Block
Cardano.DbSync.Era.Shelley.Generic.EpochUpdate
Cardano.DbSync.Era.Shelley.Generic.ProtoParams
Cardano.DbSync.Era.Shelley.Generic.Rewards
Cardano.DbSync.Era.Shelley.Generic.Script
Cardano.DbSync.Era.Shelley.Generic.ScriptData
Cardano.DbSync.Era.Shelley.Generic.StakeDist
Cardano.DbSync.Era.Shelley.Generic.Metadata
Cardano.DbSync.Era.Shelley.Generic.ParamProposal
Cardano.DbSync.Era.Shelley.Generic.Tx
Cardano.DbSync.Era.Shelley.Generic.Tx.Allegra
Cardano.DbSync.Era.Shelley.Generic.Tx.Alonzo
Cardano.DbSync.Era.Shelley.Generic.Tx.Babbage
Cardano.DbSync.Era.Shelley.Generic.Tx.Conway
Cardano.DbSync.Era.Shelley.Generic.Tx.Mary
Cardano.DbSync.Era.Shelley.Generic.Tx.Shelley
Cardano.DbSync.Era.Shelley.Generic.Tx.Types
Cardano.DbSync.Era.Shelley.Generic.Util
Cardano.DbSync.Era.Shelley.Generic.Witness
Cardano.DbSync.Era.Shelley.Genesis
Cardano.DbSync.Era.Shelley.Insert
Cardano.DbSync.Era.Shelley.Insert.Epoch
Cardano.DbSync.Era.Shelley.Insert.Grouped
Cardano.DbSync.Era.Shelley.Query
Cardano.DbSync.Era.Shelley.Validate
-- Temporary debugging validation
Cardano.DbSync.Era.Shelley.ValidateWithdrawal
Cardano.DbSync.Era.Util
Cardano.DbSync.Ledger.Event
Cardano.DbSync.Ledger.State
Cardano.DbSync.Ledger.Types
Cardano.DbSync.Metrics
Cardano.DbSync.Cache
Cardano.DbSync.Cache.Epoch
Cardano.DbSync.Cache.LRU
Cardano.DbSync.Cache.Types
Cardano.DbSync.Default
Cardano.DbSync.Epoch
Cardano.DbSync.Rollback
Cardano.DbSync.Fix.EpochStake
Cardano.DbSync.Fix.PlutusDataBytes
Cardano.DbSync.Fix.PlutusScripts
-- OffChain
Cardano.DbSync.OffChain
Cardano.DbSync.OffChain.FetchQueue
Cardano.DbSync.OffChain.Http
Cardano.DbSync.OffChain.Query
Cardano.DbSync.OffChain.Types
Cardano.DbSync.LocalStateQuery
Cardano.DbSync.StateQuery
Cardano.DbSync.Sync
Cardano.DbSync.Tracing.ToObjectOrphans
Cardano.DbSync.Types
Cardano.DbSync.Util
Cardano.DbSync.Util.Address
Cardano.DbSync.Util.Bech32
Cardano.DbSync.Util.Cbor
Cardano.DbSync.Util.Constraint
Paths_cardano_db_sync
build-depends: base >= 4.14 && < 5
, aeson
, async
, bech32
, binary
, bytestring
, base16-bytestring
, base58-bytestring
, case-insensitive
, cardano-binary
, cardano-client
, cardano-crypto
, cardano-crypto-class
, cardano-crypto-wrapper
, cardano-data
, cardano-db
, cardano-ledger-allegra
, cardano-ledger-alonzo
, cardano-ledger-api
, cardano-ledger-babbage
, cardano-ledger-binary
, cardano-ledger-byron
, cardano-ledger-core
, cardano-ledger-conway
, cardano-ledger-binary
, cardano-ledger-mary
, cardano-ledger-shelley
, cardano-node
, cardano-prelude
, cardano-protocol-tpraos
, cardano-slotting
, cardano-strict-containers
, cborg
, vector-map
, containers
, contra-tracer
, directory
, data-default-class
, either
, esqueleto
, extra
, filepath
, groups
, http-client
, http-client-tls
, http-types
, iohk-monitoring
, lifted-base
, memory
, microlens
, monad-control
, monad-logger
, network-mux
, ouroboros-consensus
, ouroboros-consensus-cardano
, ouroboros-consensus-diffusion
, ouroboros-consensus-protocol
, ouroboros-network
, ouroboros-network-api
, ouroboros-network-framework
, ouroboros-network-protocols
, persistent
, persistent-postgresql
, plutus-ledger-api
, pretty-show
, prometheus
, psqueues
, random-shuffle
, scientific
, serialise
, small-steps
, stm
, strict
, sop-core
, strict-sop-core
, strict-stm
, swagger2
, text
, time
, transformers
, transformers-except
, typed-protocols
, unix
, vector
, wide-word
, yaml
executable cardano-db-sync
default-language: Haskell2010
main-is: cardano-db-sync.hs
hs-source-dirs: gen, app
ghc-options: -O2
-Wall
-Werror
-Wcompat
-Wredundant-constraints
-Wincomplete-patterns
-Wincomplete-record-updates
-Wincomplete-uni-patterns
-Wunused-imports
-Wunused-packages
-Wno-unsafe
-threaded
-rtsopts
"-with-rtsopts=-A16m -N3 --disable-delayed-os-memory-return"
autogen-modules: Paths_cardano_db_sync
MigrationValidations
other-modules: Paths_cardano_db_sync
MigrationValidations
build-depends: base
, cardano-db
, cardano-db-sync
, cardano-prelude
, cardano-slotting
, optparse-applicative
, split
, text
executable http-get-json-metadata
default-language: Haskell2010
main-is: http-get-json-metadata.hs
hs-source-dirs: app
ghc-options: -O2
-Wall
-Werror
-Wcompat
-Wredundant-constraints
-Wincomplete-patterns
-Wincomplete-record-updates
-Wincomplete-uni-patterns
-Wunused-imports
-Wunused-packages
-Wno-unsafe
-threaded
-rtsopts
"-with-rtsopts=-A16m -N3 --disable-delayed-os-memory-return"
build-depends: base
, ansi-terminal
, base16-bytestring
, bytestring
, cardano-db
, cardano-db-sync
, http-client
, http-client-tls
, text
, transformers
executable test-http-get-json-metadata
default-language: Haskell2010
main-is: test-http-get-json-metadata.hs
hs-source-dirs: app
ghc-options: -O2
-Wall
-Werror
-Wcompat
-Wredundant-constraints
-Wincomplete-patterns
-Wincomplete-record-updates
-Wincomplete-uni-patterns
-Wunused-imports
-Wunused-packages
-Wno-unsafe
-threaded
-rtsopts
"-with-rtsopts=-A16m -N3 --disable-delayed-os-memory-return"
build-depends: base
, bytestring
, cardano-db
, cardano-db-sync
, esqueleto
, extra
, http-client
, http-client-tls
, text
, transformers
, transformers-except
test-suite test
default-language: Haskell2010
type: exitcode-stdio-1.0
main-is: Main.hs
hs-source-dirs: test
ghc-options: -Wall
-Werror
-Wcompat
-Wredundant-constraints
-Wincomplete-patterns
-Wincomplete-record-updates
-Wincomplete-uni-patterns
-Wunused-imports
-Wunused-packages
other-modules: Cardano.DbSync.Era.Shelley.Generic.ScriptDataTest
Cardano.DbSync.Era.Shelley.Generic.ScriptTest
Cardano.DbSync.Util.AddressTest
Cardano.DbSync.Util.Bech32Test
Cardano.DbSync.Util.CborTest
build-depends: base
, aeson
, base16-bytestring
, bytestring
, cardano-binary
, cardano-crypto-class
, cardano-crypto-praos
, cardano-ledger-api
, cardano-ledger-binary
, cardano-ledger-core:testlib
, cardano-ledger-allegra:{cardano-ledger-allegra,testlib}
, cardano-ledger-alonzo:{testlib}
, cardano-ledger-shelley:{cardano-ledger-shelley,testlib}
, cardano-db-sync
, cardano-ledger-core
, cardano-prelude
, cardano-strict-containers
, containers
, hedgehog
, hedgehog-quickcheck
, text