-
Notifications
You must be signed in to change notification settings - Fork 0
/
txg.cabal
121 lines (114 loc) · 3 KB
/
txg.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
cabal-version: 2.2
name: txg
version: 1.0.0
description: Chainweb transaction generator.
homepage: https://github.com/kadena-io/txg
author: Kadena LLC
maintainer: colin@kadena.io
copyright: 2020 Kadena LLC
license: BSD-3-Clause
license-file: LICENSE
build-type: Simple
extra-source-files:
README.org
ChangeLog.md
common commons
default-language: Haskell2010
ghc-options:
-Wall
-Wcompat
-Wpartial-fields
-Wincomplete-record-updates
-Wincomplete-uni-patterns
-Widentities
-funclutter-valid-hole-fits
build-depends:
, aeson >=2.2
, attoparsec >=0.13
, base >=4.11 && <5
, base16-bytestring
, base64 >=0.4
, bytestring
, configuration-tools
, connection >=0.3
, containers
, Decimal >=0.5
, exceptions >=0.10
, hostaddress
, http-client
, http-client-tls
, http-types
, lens >=4.17
, mtl >=2.2
, optparse-applicative
, pact >=3.5
, pact-json
, random >=1.1
, text
, time >=1.8
, unordered-containers >=0.2
, yaml >=0.11
library
import: commons
hs-source-dirs: lib pact
exposed-modules:
TXG.Repl
TXG.Simulate.Contracts.CoinContract
TXG.Simulate.Contracts.Common
TXG.Simulate.Contracts.HelloWorld
TXG.Simulate.Contracts.SimplePayments
TXG.Simulate.Utils
TXG.Utils
TXG.Fake
other-modules: TXG.ReplInternals
build-depends:
, data-default >=0.7
, extra >=1.6
, file-embed >=0.0
, lens-aeson >= 1.1
, neat-interpolation >=0.3
, random-bytestring >=0.1
, random-strings >=0.1
, string-conv >=0.1
executable txg
import: commons
main-is: TXG.hs
hs-source-dirs: exec pact
ghc-options: -threaded -rtsopts -with-rtsopts=-N
other-modules: TXG.Types
build-depends:
, async >=2.2
, generic-lens >=1.1
, lens-aeson >= 1.1
, mwc-random >=0.14
, nonempty-containers >=0.3
, parsec
, pretty-simple >=2.2 && < 4.0
, primitive >=0.6
, retry
, split
, string-conv >=0.1
, stm
, txg
, yet-another-logger >=0.3
executable mempool-p2p-tester
import: commons
main-is: MPT.hs
hs-source-dirs: exec pact
ghc-options: -threaded -rtsopts -with-rtsopts=-N
other-modules:
TXG.Types
MPT.Types
build-depends:
, async >=2.2
, sqlite-simple >= 0.4.17.0
, generic-lens >= 1.1
, lens-aeson >= 1.1
, mwc-random >=0.14
, nonempty-containers >=0.3
, pretty-simple >=2.2 && < 4.0
, primitive >=0.6
, retry
, stm
, txg
, yet-another-logger >= 0.3