-
Notifications
You must be signed in to change notification settings - Fork 11
/
chainweb-mining-client.cabal
149 lines (139 loc) · 3.66 KB
/
chainweb-mining-client.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
cabal-version: 3.0
name: chainweb-mining-client
description:
A mining client for Kadena Chainweb. It supports
* mining with ASICs through a stratum server,
* simulated mining for testing,
* multi threaded CPU mining,
* external mining workers (e.g. a GPU).
Competitive mining on the Kadena Mainnet requires special mining hardware
(ASIC), which connects to a Stratum Server from where it obtains work.
All other mining modes (GPU, CPU, and simulation) are intended only for testing.
version: 0.5
synopsis: Mining Client for Kadena Chainweb
homepage: https://github.com/kadena-io/chainweb-mining-client
bug-reports: https://github.com/kadena-io/chainweb-mining-client/issues
license: BSD-3-Clause
license-file: LICENSE
author: Lars Kuhtz
maintainer: [email protected]
copyright: Copyright (c) 2019 - 2022, Kadena LLC
category: Data, Mathematics
build-type: Custom
tested-with:
GHC==9.2.4
, GHC==9.0.2
, GHC==8.10.7
extra-source-files:
README.md
CHANGELOG.md
source-repository head
type: git
location: https://github.com/kadena-io/chainweb-mining-client.git
custom-setup
setup-depends:
base >=4.10 && <5
, Cabal >=3.0 && <4
, configuration-tools >=0.5
executable chainweb-mining-client
hs-source-dirs: main, src
main-is: Main.hs
other-modules:
JsonRpc
Logger
PkgInfo
Target
Utils
Worker
Worker.External
Worker.ConstantDelay
Worker.OnDemand
Worker.POW.CPU
Worker.POW.Stratum
Worker.POW.Stratum.Protocol
Worker.POW.Stratum.Server
Worker.SimulatedMiner
WorkerUtils
autogen-modules:
PkgInfo
default-language: Haskell2010
ghc-options:
-Wall
-threaded
-with-rtsopts=-N
build-depends:
attoparsec >=0.14
, base >=4.10 && <5
, base16-bytestring >=1.0
, aeson >=1.5 && <2
, async >=2.2
, bytes >=0.17
, bytestring >=0.10
, clock >=0.8
, configuration-tools >=0.5
, connection >=0.3
, cryptonite >=0.27
, deeproute
, deeproute:deeproute-wai
, exceptions >=0.10
, hashable >=1.3
, hostaddress >=0.2
, http-client >=0.7
, http-client-tls >=0.3
, http-types >=0.12
, lens >=4.19
, loglevel >=0.1
, memory >=0.15
, mwc-random >=0.14
, process >=1.6
, retry >=0.8
, stm >=2.5
, streaming >=0.2
, streaming-commons >=0.2.2
, streaming-events >=1.0
, text >=1.2
, time >=1.9
, unordered-containers >=0.2
, wai >=3.2
, wai-extra >=3.0
, warp >=3.3
test-suite tests
type: exitcode-stdio-1.0
hs-source-dirs: test, src
default-language: Haskell2010
ghc-options:
-rtsopts
-threaded
-with-rtsopts=-N
main-is: Main.hs
other-modules:
Utils
Worker
WorkerUtils
Target
TestUtils
Test.Target
Test.Utils
Test.WorkerUtils
build-depends:
-- external
QuickCheck >= 2.13
, aeson >=1.5
, base >=4.11 && <5
, base16-bytestring >=1.0
, bytes >=0.17
, bytestring >=0.10
, clock >=0.8
, configuration-tools >=0.5
, cryptonite >=0.27
, exceptions >=0.10
, hashable >=1.3
, hostaddress >=0.2
, optparse-applicative < 0.18
, memory >=0.15
, quickcheck-instances >=0.3
, stm >=2.5
, streaming-commons >=0.2.2
, sydtest >=0.4
, text >=1.2
, time >=1.9